diff --git a/configs/exchange_config.json.example b/configs/exchange_config.json.example new file mode 100755 index 0000000..cb187ef --- /dev/null +++ b/configs/exchange_config.json.example @@ -0,0 +1,29 @@ +{ + "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. +} diff --git a/configs/trader_config.json.example b/configs/trader_config.json.example new file mode 100755 index 0000000..d890933 --- /dev/null +++ b/configs/trader_config.json.example @@ -0,0 +1,21 @@ +{ + "pair": "BCC/USDT", #Symbol of the market to trade. + "order_size": 15, #Order size of the trader. + "tp_level": 1.02, #Take profit percentage. (check strategy documentation for more details) + "no_of_safety_orders": 23, #Amount of safety orders. (check strategy documentation for more details) + "safety_order_deviance": 2, #Deviance of safety orders. (check strategy documentation for more details) + "safety_order_scale": 0.0105, #Size multiplier of every subsequent safety order. (check strategy documentation for more details) + "write_logs": false, #Write logs to file. + "calculate_fees": true, #Take into account the fees when calculating profits. + "cleanup": true, #Execute the cleanup routine every trader (re)start. + "telegram": true, #Send Telegram notifications. + "tp_mode": 3, #Take profit mode. (check strategy documentation for more details) + "tp_table": [], #Profit percentage table. (check strategy documentation for more details) + "is_short": true, #Signals the trader mode (true if short, false if long) + "autoswitch": true, #If short, switches to long mode if certain conditions are met. (check strategy documentation for more details) + "attempt_restart": true, #Attempts to restart the trader if there is an error. + "check_old_long_price": true, #Compares the current price with the old_long price. (check strategy documentation for more details) + "dynamic_so_deviance": true, #Uses a non-linear safety order deviance algorithm. (check strategy documentation for more details) + "dsd_range": 1, #Range of the dynamic deviance algorithm. (check strategy documentation for more details) + "bias": -0.5 #Bias of the dynamic deviance algorithm. (check strategy documentation for more details) +}