From 44ecce399a07ab894ff363cc667412546e29cc05 Mon Sep 17 00:00:00 2001 From: sobeit2020 <75637352+sobeit2020@users.noreply.github.com> Date: Fri, 29 Jan 2021 22:57:45 +0000 Subject: [PATCH] Create config.json --- config.json | 216 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 216 insertions(+) create mode 100644 config.json diff --git a/config.json b/config.json new file mode 100644 index 000000000..80d61c108 --- /dev/null +++ b/config.json @@ -0,0 +1,216 @@ +{ + + // BASE SETTINGS + "max_open_trades": 32, + "stake_currency": "BUSD", + "stake_amount": "unlimited", + "tradable_balance_ratio": 0.99, + "fiat_display_currency": "EUR", + "dry_run": true, + "dry_run_wallet" : 5000, + "cancel_open_orders_on_exit": false, + "unfilledtimeout": { + "buy": 10, + "sell": 30 + }, + + // BID AND ASK + "bid_strategy": { + "price_side": "bid", + "ask_last_balance": 0.0, + "use_order_book": false, + "order_book_top": 1, + "check_depth_of_market": { + "enabled": false, + "bids_to_ask_delta": 1 + }, + }, + "ask_strategy": { + "price_side": "ask", + "use_order_book": false, + "order_book_min": 1, + "order_book_max": 1 + }, + + /* + // ORDER TYPES + // ORDER TYPES are listed in the strategy + "order_types": { + "buy": "limit", + "sell": "limit", + "emergencysell": "limit", + "stoploss": "limit", + "stoploss_on_exchange": false + }, + */ + + // EXCHANGE + "exchange": { + "name": "binance", + "key": "yq5dNMOyj9tkTewdEX7WXWI3Qn3wv4ZeAnz5ylqIimHhmmsgTt87T6Hwzie7Bpc7", + "secret": "C1XEoeOsUyI4YTEBrCHlvElQmJWP5YVRi9EBaAUqsJV5AXAz4NpRdIBasZ3dy1Bn", + "ccxt_config": {"enableRateLimit": true}, + "ccxt_async_config": { + "enableRateLimit": true, + "rateLimit": 200 + }, + + + // PAIRLISTS AND PAIRLIST HANDLERS + +/* + // PAIRLIST: This is backtesting setup + "pair_whitelist": [ + "BTC/USDT", + "ETH/USDT", + "DOT/USDT", + "ADA/USDT", + "LINK/USDT", + "BUSD/USDT", + "LTC/USDT", + "XRP/USDT", + "XLM/USDT", + "UNI/USDT", + "BCH/USDT", + "BNB/USDT", + "USDC/USDT", + "IOST/USDT", + "CRV/USDT", + "YFI/USDT", + "SUSHI/USDT", + "ATOM/USDT", + "GRT/USDT", + "FIL/USDT", + "AAVE/USDT", + "EOS/USDT", + "1INCH/USDT", + "ZEC/USDT", + "VET/USDT", + "EUR/USDT", + "TRX/USDT", + "AVAX/USDT", + "XTZ/USDT", + "DOTUP/USDT", + "NEAR/USDT", + "BAND/USDT", + "ETC/USDT", + "ENJ/USDT", + "ZIL/USDT", + "THETA/USDT", + "NEO/USDT", + "OMG/USDT", + "ALGO/USDT", + "REEF/USDT", + "YFII/USDT" + ], + "pair_blacklist": [ + ] + }, + "pairlists": [ + {"method": "StaticPairList"} + ], + +*/ + // PAIRLIST : this is REAL game setup + "pair_whitelist": [], + "pair_blacklist": ["BNB/BTC"], + }, + "pairlists": [ + { + "method": "VolumePairList", + "number_assets": 62 , + "sort_key": "quoteVolume", + }, + {"method": "AgeFilter", + "min_days_listed": 8}, + {"method": "PrecisionFilter"}, + {"method": "PriceFilter", "low_price_ratio": 0.03}, + {"method": "SpreadFilter", "max_spread_ratio": 0.005}, + {"method": "RangeStabilityFilter", + "lookback_days": 10, + "min_rate_of_change": 0.01, + "refresh_period": 1440 + }, + {"method": "ShuffleFilter", "seed": 42}, +], + + + // PROTECTIONS + "protections": [ + { + "method": "CooldownPeriod", + "stop_duration_candles": 5 + }, + { + "method": "MaxDrawdown", + "lookback_period_candles": 42, + "trade_limit": 20, + "stop_duration_candles": 4, + "max_allowed_drawdown": 0.2 + }, + { + "method": "StoplossGuard", + "lookback_period_candles": 24, + "trade_limit": 4, + "stop_duration_candles": 2, + "only_per_pair": false + }, + { + "method": "LowProfitPairs", + "lookback_period_candles": 6, + "trade_limit": 2, + "stop_duration_candles": 60, + "required_profit": 0.02 + }, + { + "method": "LowProfitPairs", + "lookback_period_candles": 24, + "trade_limit": 4, + "stop_duration_candles": 2, + "required_profit": 0.01 + }, + ], + + + // EDGE + "edge": { + "enabled": false, + "process_throttle_secs": 3600, + "calculate_since_number_of_days": 7, + "allowed_risk": 0.01, + "stoploss_range_min": -0.01, + "stoploss_range_max": -0.1, + "stoploss_range_step": -0.01, + "minimum_winrate": 0.60, + "minimum_expectancy": 0.20, + "min_trade_number": 10, + "max_trade_duration_minute": 1440, + "remove_pumps": false + }, + + // BOT CONTROL *(BC) + // BC: TELEGRAM + "telegram": { + "enabled": true, + "token": "1442008933:AAFlR1sZzfLg7BIqggh4_28M3ob6oPZFJc4", + "chat_id": "1016012459" + }, + + // BC: REST API + "api_server": { + "enabled": false, + "listen_ip_address": "127.0.0.1", + "listen_port": 8080, + "verbosity": "info", + "jwt_secret_key": "somethingrandom", + "CORS_origins": [], + "username": "", + "password": "" + }, + "initial_state": "running", + "forcebuy_enable": false, + + "internals": { + "process_throttle_secs": 5 + } +}