Available translations

How to Test New Exchanges

foundations.png
Summary: Testing exchanges is an ongoing Community effort. If you wish to work with an exchange that is not tested, this topic covers everything you need to know to debug the Sensor Bot and find out what needs to be done to achieve the goal.
CCXT Library
CCXT is a popular open-source library that acts as a gateway to exchanges APIs. Its goal is to standardize access to different APIs so that software built using CCXT does not need to know the special dealings of each exchange. Even though it does a pretty good job, it is not perfect and there are still special configurations that must be used with different exchanges.
The root of this problem is that there is no standard across the industry and each exchange invents its own way to deal with each functionality.
Original Tests on Binance
The Superalgos software evolves fast as the team chooses to leave the fine-tuning and setups to the Community. The team tested Binance early on because it is the most popular exchange. It didn't work on the first try with the default configuration, so a special configuration was created.
Binance Configuration
 {
    "codeName": "binance",
    "API": [
        {
            "method": "fetchTrades",
            "fetchType": "by Id",
            "fetchTradesMethod": "publicGetHistoricalTrades",
            "firstId": "f"
        }
    ]
}
Community Effort
If you get to test an untested exchange, please participate in the Community Effort to Test Exchanges by documenting the results!
Your Favorite Exchange Is Not Listed
There are many reasons why an exchange may not be listed even at the Untested Exchanges node. Here are some of them:
  • When the list was created it did not exist (you can try the Add Missing Exchanges menu item of the Crypto Exchanges node).
  • It is not listed at the CCXT library included with Superalgos (an npm update would be needed at the right folder to update the library). If the exchange appears after the update, please inform the team so as to update it for all users.
  • The exchange does not provide historical data in 1-minute candles (you can check the exchange API docs). Exchanges that do not support this basic feature are filtered out while running Add Missing Exchanges command.
  • The exchange does not support the function to list markets (check the exchange API docs).
Getting Started
For the rest of this guide, we will assume that you are using the Getting Started workspace that comes as a Plugin. If you are not, please load that workspace and close the Welcome tutorial.
Next
Exchange Raw Data - Research Your Exchange