152 lines
3.5 KiB
JSON
152 lines
3.5 KiB
JSON
{
|
|
"exchange": {
|
|
"dryrun": true;
|
|
"name": "okx",
|
|
"key": "cbda9fde-b9e3-4a2d-94f9-e5c3705dfb5c",
|
|
"secret": "CD3B7DB459CBBD540E0926E5C48150E1",
|
|
"password": "c^-d:g;P2S9?Q#^",
|
|
"enable_strategy_log": true,
|
|
"enable_ws": false,
|
|
"ccxt_config": {
|
|
"enableRateLimit": true,
|
|
"rateLimit": 500,
|
|
"options": {
|
|
"defaultType": "spot"
|
|
}
|
|
},
|
|
"ccxt_async_config": {
|
|
"enableRateLimit": true,
|
|
"rateLimit": 3000,
|
|
"timeout": 20000
|
|
},
|
|
"pair_whitelist": [
|
|
"ADA/USDT",
|
|
"AVAX/USDT",
|
|
"BNB/USDT",
|
|
"BTC/USDT",
|
|
"DOGE/USDT",
|
|
"DOT/USDT",
|
|
"ETH/USDT",
|
|
"LINK/USDT",
|
|
"LTC/USDT",
|
|
"PEPE/USDT",
|
|
"SOL/USDT",
|
|
"SUI/USDT",
|
|
"TON/USDT",
|
|
"TRB/USDT",
|
|
"TRUMP/USDT",
|
|
"TRX/USDT",
|
|
"UNI/USDT",
|
|
"WLD/USDT",
|
|
"XAUT/USDT",
|
|
"XLM/USDT",
|
|
"XRP/USDT"
|
|
],
|
|
"pair_blacklist": [
|
|
"OKB/USDT"
|
|
]
|
|
},
|
|
"pairlists": [
|
|
{
|
|
"method": "StaticPairList"
|
|
}
|
|
],
|
|
"order_types": {
|
|
"entry": "market",
|
|
"exit": "market",
|
|
"stoploss": "limit",
|
|
"stoploss_on_exchange": false
|
|
},
|
|
"order_time_in_force": {
|
|
"entry": "gtc",
|
|
"exit": "gtc"
|
|
},
|
|
"entry_pricing": {
|
|
"price_side": "other",
|
|
"use_order_book": false,
|
|
"price_last_balance": 0
|
|
},
|
|
"exit_pricing": {
|
|
"price_side": "other",
|
|
"use_order_book": false
|
|
},
|
|
"freqai": {
|
|
"enabled": true,
|
|
"data_kitchen": {
|
|
"fillna": "ffill"
|
|
},
|
|
"freqaimodel": "XGBoostRegressorMultiTarget",
|
|
"purge_old_models": 2,
|
|
"train_period_days": 14,
|
|
"backtest_period_days": 2,
|
|
"live_retrain_hours": 2,
|
|
"outlier_detection": {
|
|
"method": "IsolationForest",
|
|
"contamination": 0.2
|
|
},
|
|
"feature_selection": {
|
|
"method": "recursive_elimination",
|
|
"feature_number": 15
|
|
},
|
|
"feature_parameters": {
|
|
"include_timeframes": [
|
|
"3m",
|
|
"15m",
|
|
"1h",
|
|
"4h"
|
|
],
|
|
"include_corr_pairlist": [
|
|
"XAUT/USDT",
|
|
],
|
|
"outlier_protection_percentage": 0.2,
|
|
"label_period_candles": 100,
|
|
"include_shifted_candles": 2,
|
|
"DI_threshold": 0.5,
|
|
"weight_factor": 0.7,
|
|
"principal_component_analysis": true,
|
|
"n_components": 0.85,
|
|
"use_SVM_to_remove_outliers": true,
|
|
"indicator_periods_candles": [
|
|
10,
|
|
20,
|
|
50
|
|
],
|
|
"plot_feature_importances": 10,
|
|
"shuffle_after_split": false,
|
|
"buffer_train_data_candles": 0,
|
|
"smooth_features": true,
|
|
"smooth_window": 5
|
|
},
|
|
"data_split_parameters": {
|
|
"test_size": 0.25,
|
|
"shuffle": false
|
|
},
|
|
"model_training_parameters": {
|
|
"n_estimators": 150,
|
|
"learning_rate": 0.025,
|
|
"max_depth": 4,
|
|
"min_child_weight": 5,
|
|
"subsample": 0.6,
|
|
"colsample_bytree": 0.6,
|
|
"reg_alpha": 0.5,
|
|
"reg_lambda": 2.0,
|
|
"verbosity": 0
|
|
},
|
|
"identifier": "live-freqai",
|
|
"write_metrics_to_disk": false,
|
|
"conv_width": 1,
|
|
"expiration_hours": 0,
|
|
"save_backtest_models": false,
|
|
"activate_tensorboard": true,
|
|
"wait_for_training_iteration_on_reload": true,
|
|
"continual_learning": false,
|
|
"keras": false
|
|
},
|
|
"fee": 0.0008,
|
|
"api_server": {
|
|
"enabled": true,
|
|
"listen_ip_address": "0.0.0.0",
|
|
"listen_port": 8080
|
|
}
|
|
}
|