Exchanges
To know more about an exchange support in OctoBot, please have a look at exchanges documentation.

Web interface configuration

Octobot reads trading data (prices, volumes, trades, etc) from exchanges. At least one exchange is required for OctoBot to perform trades. In simulation mode, exchange API keys configuration is not necessary.
You can configure OctoBot's exchanges using the web interface configuration tab.

Manual configuration

In user/config.json, find this lines:
1
"exchanges": {
2
3
}
Copied!
Edit this lines and add the exchange(s) you want to use.
In OctoBot configuration, exchange connection info are encrypted. To manually add exchange configuration, you can add your info directly into your user/config.json file, OctoBot will then take care of the encryption for you.
If you want to encrypt your exchange keys before starting OctoBot, you can use the following instructions:
Start the OctoBot with option --encrypter like below :
1
python start.py --encrypter
Copied!
And copy and paste your api-key and api-secret to your configuration file (see example below).
Example with Binance and Coinbase Pro :
1
"exchanges": {
2
"binance": {
3
"api-key": "YOUR_BINANCE_API_KEY_ENCRYPTED",
4
"api-secret": "YOUR_BINANCE_API_SECRET_ENCRYPTED"
5
},
6
"coinbasepro": {
7
"api-key": "YOUR_EXCHANGE_API_KEY_ENCRYPTED",
8
"api-secret": "YOUR_EXCHANGE_API_SECRET_ENCRYPTED",
9
"api-password": "YOUR_EXCHANGE_API_SECRET_ENCRYPTED"
10
}
11
}
Copied!
    api-key is your exchange account API key
    api-secret is your exchange account API secret
    api-password is your exchange account API password if this exchange is requiring a password. Leave empty otherwise

Simulated exchange

To use the Simulated exchange feature of the Octobot, you have to specify a trader simulator configuration. To use an exchange in simulation only, you also have to specify its configuration as described above. For most exchanges, API credentials are not required in simulation mode, adding the exchange with default values is enough.
Last modified 2mo ago