This repository has been archived by the owner on Sep 9, 2023. It is now read-only.
Anyway to get all the markets available on an exchange? #288
Unanswered
kaidatavis
asked this question in
Q&A
Replies: 1 comment
-
Unfortunately, CCXWS does not currently support obtaining markets. It could certainly be in scope for the library to obtain them via a REST request, however I don't think we would every attempt to normalize symbols across exchanges. That said, CCXWS was designed to be compatible with CCXT markets, so you can use CCXT to obtain markets first. The primary benefit of CCXT is that the symbols will be normalized across exchanges. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In CCXT it is possible to get the list of all the markets available from an exchange using
exchange.symbols
orexchange.markets
. Is there a way to do something similar in CCXWS?Currently I need to find out what markets are available from the exchange site and then add them manually in my code.
Also, is the way market specified in CCXWS (such as 'BTCUSDT') the same as the 'symbols' in CCXT (such as 'BTC/USDT)? If there is a way to convert CCXT 'symbol' to CCXWS market ID, I can use CCXT to get the list of interested markets and then retrieve the data with CCXWS.
Beta Was this translation helpful? Give feedback.
All reactions