From a6fd6587e5b7be91a929aa468e233acdee3e8220 Mon Sep 17 00:00:00 2001 From: "zhangkun9038@dingtalk.com" Date: Wed, 26 Nov 2025 23:30:43 +0800 Subject: [PATCH] config --- config_examples/live.json | 13 ++++++++++--- config_examples/staticgrid.json | 14 -------------- 2 files changed, 10 insertions(+), 17 deletions(-) diff --git a/config_examples/live.json b/config_examples/live.json index f5dcfda..0914b91 100644 --- a/config_examples/live.json +++ b/config_examples/live.json @@ -61,8 +61,15 @@ ], "fee": 0.0008, "api_server": { - "enabled": true, - "listen_ip_address": "0.0.0.0", - "listen_port": 8080 + "enabled": true, + "listen_ip_address": "0.0.0.0", + "listen_port": 8080, + "verbosity": "error", + "enable_openapi": false, + "jwt_secret_key": "6a599ab046dbb419014807dffd7b8823bfa7e5df56b17d545485deb87331b4ca", + "ws_token": "6O5pBDiRigiZrmIsofaE2rkKMJtf9h8zVQ", + "CORS_origins": [], + "username": "freqAdmin", + "password": "admin" } } diff --git a/config_examples/staticgrid.json b/config_examples/staticgrid.json index 5003eb3..ee211e3 100644 --- a/config_examples/staticgrid.json +++ b/config_examples/staticgrid.json @@ -24,20 +24,6 @@ "use_order_book": true, "order_book_top": 1 }, - "exchange": { - "name": "okx", - "key": "cbda9fde-b9e3-4a2d-94f9-e5c3705dfb5c", - "secret": "CD3B7DB459CBBD540E0926E5C48150E1", - "password": "c^-d:g;P2S9?Q#^", - "enable_ws": false, - "ccxt_config": { - "enableRateLimit": true, - "rateLimit": 500, - "options": { - "defaultType": "spot" - } - } - }, "pairlists": [{"method": "StaticPairList"}], "bot_name": "ETH-1500to4500-Grid" } \ No newline at end of file