DCAv2/configs/exchange_config.json.example

30 lines
1.8 KiB
Plaintext
Executable File

{
"exchange": "binance", #Exchange name
"is_sandbox": true, #Sandbox mode, only available on Binance.
"simulate_market_orders": false, #Instead of sending market orders, emulate the behavior with limit orders.
"key": "", #API key
"secret": "", #API secret
"password": "", #API passphrase (if needed)
"pairs": [ #Pairs to trade. It can be blank at first start, it populates itself as traders get added.
"BTCUSDT",
"BNBUSDT",
"ETHUSDT",
"XRPUSDT",
"TRXUSDT",
"LTCUSDT"
],
"reconnect": 30, #Deprecated
"lap_time": 1, #Time in seconds between each iteration of the instance.
"host": "0.0.0.0", #API host
"port": "5006", #API port
"telegram": false, #Send Telegram notifications
"bot_token": "", #Telegram bot token
"bot_chatID": "", #Telegram chat ID
"attempt_to_restart": true, #Attempt to restart a trader if there is an error.
"default_order_size": 15, #Default order size of a trader.
"unified_order_query": true #Signals if the instance shall request the entire open order list to the exchange or just the open orders of every trader.
#Some exchanges have different request weights when requesting order information.
#This setting is useful if you have only a handful of traders online in an instance. Check the exchange's API documentation
#for more information on request weights.
}