45 lines
1.0 KiB
JSON
45 lines
1.0 KiB
JSON
{
|
|
"strategy_params": {
|
|
"initial_capital": 100000,
|
|
"fear_threshold": 25,
|
|
"greed_threshold": 75,
|
|
"stop_loss_threshold": 0.15,
|
|
"transition_steps": 4,
|
|
"top_stocks_count": 4,
|
|
"volatility_threshold": 0.1,
|
|
"volatility_calculation_days": 30
|
|
},
|
|
"technical_indicators": {
|
|
"rsi_threshold": 30,
|
|
"required_indicators": 2,
|
|
"sma5_above_sma20": true,
|
|
"macd_convergence": true,
|
|
"ema_periods": {
|
|
"fast": 12,
|
|
"slow": 26,
|
|
"signal": 9
|
|
},
|
|
"sma_periods": {
|
|
"fast": 5,
|
|
"slow": 20
|
|
},
|
|
"rsi_period": 14
|
|
},
|
|
"output_settings": {
|
|
"generate_pdf": true,
|
|
"generate_csv": true,
|
|
"generate_detailed_trades": true,
|
|
"show_console_output": true,
|
|
"save_strategy_object": true
|
|
},
|
|
"paths": {
|
|
"database_path": "/home/will/docker/backtest/data/stock_data.db",
|
|
"reports_dir": "/home/will/docker/backtest/reports",
|
|
"results_dir": "/home/will/docker/backtest/results"
|
|
},
|
|
"data_settings": {
|
|
"min_ticker_records": 1000,
|
|
"start_date": null,
|
|
"end_date": null
|
|
}
|
|
} |