Markets are unavailable until you call the loadMarkets() / load_markets() method on exchange instance. Markets should be loaded prior to accessing this property. Markets: An associative array of markets indexed by common trading pairs or symbols. Python people have an alternative way of DEBUG logging with a standard pythonic logger, which is enabled by adding these two lines to the beginning of their code: Verbose: A boolean flag indicating whether to log HTTP requests to stdout (verbose flag is false by default). If the User-Agent header is set within headers, it will override whatever value is set in the userAgent property above. All headers will be prepended to all requests. To get the full list of ids of supported exchanges programmatically: To connect to an exchange and start trading you need to instantiate an exchange class from ccxt library. The CCXT library currently supports the following 97 cryptocurrency exchange markets and trading APIs: logoīesides making basic market and limit orders, some exchanges offer margin trading (leverage), various derivatives (like futures contracts and options) and also have dark pools, OTC (over-the-counter trading), merchant APIs and much more. ![]() WebSocket implementations in JavaScript, PHP, Python are available in CCXT Pro, which is a professional addon to CCXT with support for WebSocket streams. | (Derived Classes And Their Implicit Methods) |įull public and private HTTP REST APIs for all exchanges are implemented.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |