gateio / gateapi-python

250 stars 93 forks source link

currency_ pairs api base info #113

Closed medinemerveinan closed 1 year ago

medinemerveinan commented 2 years ago

When i call '/spot/currency_pairs' api it returns pairs with base info. I want to learn currency information. For example ; I want to give EJS and EJS_ETH currencies pairs. Have they same pairs according to base 'EJS'? Is there any formula between base and currency ? or Is there any api that returns currencies pairs?

revilwang commented 2 years ago

/spot/currency_pairs returns currency pair list. I don't know if I understand your question clearly, but when you say EJS or EJS_ETH, are you referring to currency info returned from /spot/currencies? If so, they means the same currency when you trade; the difference just tells EJS has multiple chain support. The only currency pair to trade with EJS is EJS_USDT(at the time of this comment) returned from the /spot/currency_pairs.