From a9ea3074a6635f251347a5c6b49488b33e391ea8 Mon Sep 17 00:00:00 2001 From: Guillaume De Saint Martin Date: Fri, 24 Jan 2025 17:09:31 +0100 Subject: [PATCH] [Profiles] add default trailing grid profile --- .../specific_config/GridTradingMode.json | 9 ++++ profiles/trailing_grid_trading/profile.json | 45 +++++++++++++++++++ .../specific_config/GridTradingMode.json | 25 +++++++++++ .../tentacles_config.json | 7 +++ 4 files changed, 86 insertions(+) create mode 100644 profiles/trailing_grid_trading/profile.json create mode 100644 profiles/trailing_grid_trading/specific_config/GridTradingMode.json create mode 100644 profiles/trailing_grid_trading/tentacles_config.json diff --git a/profiles/grid_trading/specific_config/GridTradingMode.json b/profiles/grid_trading/specific_config/GridTradingMode.json index 82435312e..4dfc03909 100644 --- a/profiles/grid_trading/specific_config/GridTradingMode.json +++ b/profiles/grid_trading/specific_config/GridTradingMode.json @@ -16,6 +16,9 @@ "use_fixed_volume_for_mirror_orders": false, "mirror_order_delay": 0, "use_existing_orders_only": false, + "allow_funds_redispatch": false, + "enable_trailing_up": false, + "enable_trailing_down": false, "funds_redispatch_interval": 24 }, { @@ -33,6 +36,9 @@ "use_fixed_volume_for_mirror_orders": false, "mirror_order_delay": 0, "use_existing_orders_only": false, + "allow_funds_redispatch": false, + "enable_trailing_up": false, + "enable_trailing_down": false, "funds_redispatch_interval": 24 }, { @@ -50,6 +56,9 @@ "use_fixed_volume_for_mirror_orders": false, "mirror_order_delay": 0, "use_existing_orders_only": false, + "allow_funds_redispatch": false, + "enable_trailing_up": false, + "enable_trailing_down": false, "funds_redispatch_interval": 24 } ] diff --git a/profiles/trailing_grid_trading/profile.json b/profiles/trailing_grid_trading/profile.json new file mode 100644 index 000000000..31f10da2a --- /dev/null +++ b/profiles/trailing_grid_trading/profile.json @@ -0,0 +1,45 @@ +{ + "config": { + "crypto-currencies": { + "Bitcoin": { + "enabled": true, + "pairs": [ + "BTC/USDT" + ] + } + }, + "exchanges": { + "binance": { + "enabled": true + } + }, + "trader": { + "enabled": false, + "load-trade-history": false + }, + "trader-simulator": { + "enabled": true, + "fees": { + "maker": 0.1, + "taker": 0.1 + }, + "starting-portfolio": { + "BTC": 10, + "USDT": 1000 + } + }, + "trading": { + "reference-market": "USDT", + "risk": 0.5 + } + }, + "profile": { + "avatar": "default_profile.png", + "risk": 1, + "complexity": 1, + "description": "Trailing Grid Trading is a profile similar to the Grid Trading profile, except that it will create a trailing grid. When the BTC price will rise beyond the initial grid sell orders, the grid will automatically adapt to trade according to the updated price.", + "id": "trailing_grid_trading", + "name": "Trailing Grid Trading", + "read_only": true + } +} \ No newline at end of file diff --git a/profiles/trailing_grid_trading/specific_config/GridTradingMode.json b/profiles/trailing_grid_trading/specific_config/GridTradingMode.json new file mode 100644 index 000000000..71360f048 --- /dev/null +++ b/profiles/trailing_grid_trading/specific_config/GridTradingMode.json @@ -0,0 +1,25 @@ +{ + "required_strategies": [], + "pair_settings": [ + { + "pair": "BTC/USDT", + "flat_spread": 1300, + "flat_increment": 800, + "buy_orders_count": 15, + "sell_orders_count": 15, + "sell_funds": 0, + "buy_funds": 0, + "starting_price": 0, + "buy_volume_per_order": 0, + "sell_volume_per_order": 0, + "ignore_exchange_fees": false, + "use_fixed_volume_for_mirror_orders": false, + "mirror_order_delay": 0, + "use_existing_orders_only": false, + "allow_funds_redispatch": false, + "enable_trailing_up": true, + "enable_trailing_down": false, + "funds_redispatch_interval": 24 + } + ] +} \ No newline at end of file diff --git a/profiles/trailing_grid_trading/tentacles_config.json b/profiles/trailing_grid_trading/tentacles_config.json new file mode 100644 index 000000000..cb8f8cef6 --- /dev/null +++ b/profiles/trailing_grid_trading/tentacles_config.json @@ -0,0 +1,7 @@ +{ + "tentacle_activation": { + "Trading": { + "GridTradingMode": true + } + } +} \ No newline at end of file