flake8 passing, use pathlib in lieu of os.path to accommodate windows/mac OS

This commit is contained in:
robcaulk
2022-05-04 17:42:34 +02:00
parent 2600ba4e74
commit 99f7e44c30
7 changed files with 593 additions and 439 deletions

View File

@@ -6,17 +6,19 @@
"fiat_display_currency": "USD",
"dry_run": true,
"timeframe": "5m",
"dry_run_wallet":1000,
"dry_run_wallet": 1000,
"cancel_open_orders_on_exit": true,
"unfilledtimeout": {
"entry": 10,
"exit": 30
},
},
"exchange": {
"name": "ftx",
"key": "",
"secret": "",
"ccxt_config": {"enableRateLimit": true},
"ccxt_config": {
"enableRateLimit": true
},
"ccxt_async_config": {
"enableRateLimit": true,
"rateLimit": 200
@@ -24,8 +26,7 @@
"pair_whitelist": [
"BTC/USDT"
],
"pair_blacklist": [
]
"pair_blacklist": []
},
"entry_pricing": {
"price_side": "same",
@@ -43,54 +44,57 @@
"order_book_top": 1
},
"pairlists": [
{"method": "StaticPairList"}
{
"method": "StaticPairList"
}
],
"freqai": {
"btc_pair" : "BTC/USDT",
"timeframes" : ["5m","15m","1h"],
"full_timerange" : "20210601-20220101",
"train_period" : 30,
"backtest_period" : 7,
"identifier" : "example",
"base_features": [
"rsi",
"close_over_20sma",
"relative_volume",
"bb_width",
"mfi",
"roc",
"pct-change",
"adx",
"macd"
],
"corr_pairlist": [
"ETH/USDT",
"LINK/USDT",
"DOT/USDT"
],
"training_timerange" : "20211220-20220117",
"feature_parameters" : {
"period": 12,
"shift": 2,
"drop_features": false,
"DI_threshold": 1,
"weight_factor": 0,
"principal_component_analysis": false,
"remove_outliers": false
},
"data_split_parameters" : {
"test_size": 0.25,
"random_state": 1
},
"model_training_parameters" : {
"n_estimators": 2000,
"random_state": 1,
"learning_rate": 0.02,
"task_type": "CPU"
}
"btc_pair": "BTC/USDT",
"timeframes": [
"5m",
"15m"
],
"full_timerange": "20210601-20210901",
"train_period": 30,
"backtest_period": 7,
"identifier": "example",
"base_features": [
"rsi",
"close_over_20sma",
"relative_volume",
"bb_width",
"mfi",
"roc",
"pct-change",
"adx",
"macd"
],
"corr_pairlist": [
"ETH/USDT",
"LINK/USDT",
"DOT/USDT"
],
"training_timerange": "20211220-20220117",
"feature_parameters": {
"period": 12,
"shift": 1,
"drop_features": false,
"DI_threshold": 1,
"weight_factor": 0,
"principal_component_analysis": false,
"remove_outliers": false
},
"data_split_parameters": {
"test_size": 0.25,
"random_state": 1
},
"model_training_parameters": {
"n_estimators": 2000,
"random_state": 1,
"learning_rate": 0.02,
"task_type": "CPU"
}
},
"bot_name": "",
"initial_state": "running",
"forcebuy_enable": false,