From 3e786a9b8b791f06c1cf24e7af738ea29f23dc75 Mon Sep 17 00:00:00 2001 From: Timothy Pogue Date: Wed, 24 Aug 2022 22:44:22 -0600 Subject: [PATCH] added example configs --- .gitignore | 2 + config_examples/config_follower.example.json | 85 +++++++++++++++++ config_examples/config_leader.example.json | 97 ++++++++++++++++++++ 3 files changed, 184 insertions(+) create mode 100644 config_examples/config_follower.example.json create mode 100644 config_examples/config_leader.example.json diff --git a/.gitignore b/.gitignore index 015c0a8d9..b8c4c3846 100644 --- a/.gitignore +++ b/.gitignore @@ -113,6 +113,8 @@ target/ !config_examples/config_full.example.json !config_examples/config_kraken.example.json !config_examples/config_freqai.example.json +!config_examples/config_leader.example.json +!config_examples/config_follower.example.json *-config.json *.db* diff --git a/config_examples/config_follower.example.json b/config_examples/config_follower.example.json new file mode 100644 index 000000000..5317c8df2 --- /dev/null +++ b/config_examples/config_follower.example.json @@ -0,0 +1,85 @@ + +{ + "db_url": "sqlite:///follower.db", + "strategy": "SampleStrategy", + "max_open_trades": 3, + "stake_currency": "USDT", + "stake_amount": 100, + "tradable_balance_ratio": 0.99, + "fiat_display_currency": "USD", + "dry_run": true, + "cancel_open_orders_on_exit": false, + "trading_mode": "spot", + "margin_mode": "", + "unfilledtimeout": { + "entry": 10, + "exit": 10, + "exit_timeout_count": 0, + "unit": "minutes" + }, + "entry_pricing": { + "price_side": "same", + "use_order_book": true, + "order_book_top": 1, + "price_last_balance": 0.0, + "check_depth_of_market": { + "enabled": false, + "bids_to_ask_delta": 1 + } + }, + "exit_pricing":{ + "price_side": "same", + "use_order_book": true, + "order_book_top": 1 + }, + "exchange": { + "name": "kucoin", + "key": "", + "secret": "", + "password": "", + "ccxt_config": {}, + "ccxt_async_config": {}, + "pair_whitelist": [ + ], + "pair_blacklist": [ + ] + }, + "pairlists": [ + { + "method": "ExternalPairList", + "number_assets": 5, + } + ], + "telegram": { + "enabled": false, + "token": "", + "chat_id": "" + }, + "api_server": { + "enabled": true, + "listen_ip_address": "127.0.0.1", + "listen_port": 8081, + "verbosity": "error", + "enable_openapi": false, + "jwt_secret_key": "fcc24d31d6581ad2c90c3fc438c8a8b2ccce1393126959934568707f0bd2d647", + "CORS_origins": [], + "username": "freqtrader", + "password": "testing123" + }, + "external_signal": { + "enabled": true, + "mode": "follower", + "leaders": [ + { + "url": "ws://localhost:8080/signals/ws", + "api_token": "testtoken" + } + ] + }, + "bot_name": "freqtrade", + "initial_state": "running", + "force_entry_enable": false, + "internals": { + "process_throttle_secs": 5, + } +} diff --git a/config_examples/config_leader.example.json b/config_examples/config_leader.example.json new file mode 100644 index 000000000..5103fdbd4 --- /dev/null +++ b/config_examples/config_leader.example.json @@ -0,0 +1,97 @@ + +{ + "db_url": "sqlite:///leader.db", + "strategy": "SampleStrategy", + "max_open_trades": 3, + "stake_currency": "USDT", + "stake_amount": 100, + "tradable_balance_ratio": 0.99, + "fiat_display_currency": "USD", + "dry_run": true, + "cancel_open_orders_on_exit": false, + "trading_mode": "spot", + "margin_mode": "", + "unfilledtimeout": { + "entry": 10, + "exit": 10, + "exit_timeout_count": 0, + "unit": "minutes" + }, + "entry_pricing": { + "price_side": "same", + "use_order_book": true, + "order_book_top": 1, + "price_last_balance": 0.0, + "check_depth_of_market": { + "enabled": false, + "bids_to_ask_delta": 1 + } + }, + "exit_pricing":{ + "price_side": "same", + "use_order_book": true, + "order_book_top": 1 + }, + "exchange": { + "name": "kucoin", + "key": "", + "secret": "", + "password": "", + "ccxt_config": {}, + "ccxt_async_config": {}, + "pair_whitelist": [ + ], + "pair_blacklist": [ + ] + }, + "pairlists": [ + { + "method": "VolumePairList", + "number_assets": 20, + "sort_key": "quoteVolume", + "min_value": 0, + "refresh_period": 1800 + } + ], + "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 + }, + "telegram": { + "enabled": false, + "token": "", + "chat_id": "" + }, + "api_server": { + "enabled": true, + "listen_ip_address": "127.0.0.1", + "listen_port": 8080, + "verbosity": "error", + "enable_openapi": false, + "jwt_secret_key": "fcc24d31d6581ad2c90c3fc438c8a8b2ccce1393126959934568707f0bd2d647", + "CORS_origins": [], + "username": "freqtrader", + "password": "testing123" + }, + "external_signal": { + "enabled": true, + "mode": "leader", + "api_token": "testtoken", + }, + "bot_name": "freqtrade", + "initial_state": "running", + "force_entry_enable": false, + "internals": { + "process_throttle_secs": 5, + } +}