Markets loader
Last updated
Last updated
[sdks/ccxt/public/Markets loader]
Loads the list of markets and trading symbols for a particular exchange. More: https://docs.ccxt.com/en/latest/manual.html#loading-markets Example:
{"id": "aax"}@0 received via exchange
Sent via data
:
{<br>
"BTS/BTC": {<br>
"id": "BTC_BTS",<br>
"symbol": "BTS/BTC",<br>
"base": "BTS",<br>
"quote": "BTC",<br>
"baseId": "BTS",<br>
"quoteId": "BTC",<br>
"active": true,<br>
"type": "spot",<br>
"spot": true,<br>
"swap": false,<br>
"future": false,<br>
"option": false,<br>
"margin": false,<br>
"contract": false,<br>
"precision": {<br>
"amount": 1e-8,<br>
"price": 1e-8<br>
},<br>
"limits": {<br>
"amount": {<br>
"min": 0.000001<br>
},<br>
"price": {<br>
"min": 1e-8<br>
},<br>
"cost": {<br>
"min": 0.0001<br>
},<br>
"leverage": {}<br>
},<br>
"info": {<br>
"id": "14",<br>
"last": "0.00000048",<br>
"lowestAsk": "0.00000050",<br>
"highestBid": "0.00000047",<br>
"percentChange": "-0.04000000",<br>
"baseVolume": "0.00836150",<br>
"quoteVolume": "17241.72065796",<br>
"isFrozen": "0",<br>
"postOnly": "0",<br>
"marginTradingEnabled": "0",<br>
"high24hr": "0.00000050",<br>
"low24hr": "0.00000048"<br>
},<br>
"taker": 0.0009,<br>
}@0 <br>
```<br>
---
### Input ports
* __exchange__: ` {"id": string} `
Received the exchange to be load.<br>
<br>
More:<br>
https://docs.ccxt.com/en/latest/exchange-markets.html<br>
<br>
Example:<br>
```<br>
{"id": "aax"}<br>
```<br>
### Output ports
* __data__:
```
{
"id": string,
"symbol": string,
"base": string,
"quote": string,
"baseId": string,
"quoteId": string,
"active": boolean,
"type": string,
"spot": boolean,
"margin": boolean,
"future": boolean,
"swap": boolean,
"option": boolean,
"contract": boolean,
"settle": string,
optional "settleId": string,
"contractSize": number,
"linear": boolean,
"inverse": boolean,
"expiry": number,
"expiryDatetime": string,
"strike": number,
"optionType": ("call" or "put"),
"taker": number,
"maker": number,
"percentage": boolean,
"tierBased": boolean,
"feeSide": ("get" or "give" or "base" or "quote" or "other"),
"precision": {
"price": number,
optional "amount": number,
optional "cost": number
},
"limits": {
"amount": {"min": number, "max": number},
"price": any,
"cost": any,
"leverage": any
},
"info": any
}
```
List of markets and trading symbols for a particular exchange <br>
<br>
More:<br>
https://docs.ccxt.com/en/latest/manual.html#market-structure<br>
* __error__: ` {"error": string, optional "details": any} `