Update configuration files for BBRS strategy and add new default strategies
- Removed JSON files from .gitignore to allow tracking of configuration files. - Added multiple new configuration files for the BBRS strategy, including multi-timeframe and default settings. - Introduced a combined configuration file to support weighted strategy execution. - Established a default configuration for 5-minute and 15-minute timeframes, enhancing flexibility for strategy testing.
This commit is contained in:
parent
5d0b707bc6
commit
9b15f9f44f
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,5 +1,4 @@
|
|||||||
# ---> Python
|
# ---> Python
|
||||||
*.json
|
|
||||||
*.csv
|
*.csv
|
||||||
*.png
|
*.png
|
||||||
# Byte-compiled / optimized / DLL files
|
# Byte-compiled / optimized / DLL files
|
||||||
|
|||||||
29
configs/config_bbrs.json
Normal file
29
configs/config_bbrs.json
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"start_date": "2025-03-01",
|
||||||
|
"stop_date": "2025-03-15",
|
||||||
|
"initial_usd": 10000,
|
||||||
|
"timeframes": ["15min"],
|
||||||
|
"stop_loss_pcts": [0.05],
|
||||||
|
"strategies": [
|
||||||
|
{
|
||||||
|
"name": "bbrs",
|
||||||
|
"weight": 1.0,
|
||||||
|
"params": {
|
||||||
|
"bb_width": 0.05,
|
||||||
|
"bb_period": 20,
|
||||||
|
"rsi_period": 14,
|
||||||
|
"trending_rsi_threshold": [30, 70],
|
||||||
|
"trending_bb_multiplier": 2.5,
|
||||||
|
"sideways_rsi_threshold": [40, 60],
|
||||||
|
"sideways_bb_multiplier": 1.8,
|
||||||
|
"strategy_name": "MarketRegimeStrategy",
|
||||||
|
"SqueezeStrategy": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"combination_rules": {
|
||||||
|
"entry": "any",
|
||||||
|
"exit": "any",
|
||||||
|
"min_confidence": 0.5
|
||||||
|
}
|
||||||
|
}
|
||||||
29
configs/config_bbrs_multi_timeframe.json
Normal file
29
configs/config_bbrs_multi_timeframe.json
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"start_date": "2024-01-01",
|
||||||
|
"stop_date": "2024-01-31",
|
||||||
|
"initial_usd": 10000,
|
||||||
|
"timeframes": ["1min"],
|
||||||
|
"stop_loss_pcts": [0.05],
|
||||||
|
"strategies": [
|
||||||
|
{
|
||||||
|
"name": "bbrs",
|
||||||
|
"weight": 1.0,
|
||||||
|
"params": {
|
||||||
|
"bb_width": 0.05,
|
||||||
|
"bb_period": 20,
|
||||||
|
"rsi_period": 14,
|
||||||
|
"trending_rsi_threshold": [30, 70],
|
||||||
|
"trending_bb_multiplier": 2.5,
|
||||||
|
"sideways_rsi_threshold": [40, 60],
|
||||||
|
"sideways_bb_multiplier": 1.8,
|
||||||
|
"strategy_name": "MarketRegimeStrategy",
|
||||||
|
"SqueezeStrategy": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"combination_rules": {
|
||||||
|
"entry": "any",
|
||||||
|
"exit": "any",
|
||||||
|
"min_confidence": 0.5
|
||||||
|
}
|
||||||
|
}
|
||||||
29
configs/config_combined.json
Normal file
29
configs/config_combined.json
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
{
|
||||||
|
"start_date": "2025-03-01",
|
||||||
|
"stop_date": "2025-03-15",
|
||||||
|
"initial_usd": 10000,
|
||||||
|
"timeframes": ["15min"],
|
||||||
|
"stop_loss_pcts": [0.04],
|
||||||
|
"strategies": [
|
||||||
|
{
|
||||||
|
"name": "default",
|
||||||
|
"weight": 0.6,
|
||||||
|
"params": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "bbrs",
|
||||||
|
"weight": 0.4,
|
||||||
|
"params": {
|
||||||
|
"bb_width": 0.05,
|
||||||
|
"bb_period": 20,
|
||||||
|
"rsi_period": 14,
|
||||||
|
"strategy_name": "MarketRegimeStrategy"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"combination_rules": {
|
||||||
|
"entry": "weighted_consensus",
|
||||||
|
"exit": "any",
|
||||||
|
"min_confidence": 0.6
|
||||||
|
}
|
||||||
|
}
|
||||||
19
configs/config_default.json
Normal file
19
configs/config_default.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"start_date": "2025-03-01",
|
||||||
|
"stop_date": "2025-03-15",
|
||||||
|
"initial_usd": 10000,
|
||||||
|
"timeframes": ["15min"],
|
||||||
|
"stop_loss_pcts": [0.03, 0.05],
|
||||||
|
"strategies": [
|
||||||
|
{
|
||||||
|
"name": "default",
|
||||||
|
"weight": 1.0,
|
||||||
|
"params": {}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"combination_rules": {
|
||||||
|
"entry": "any",
|
||||||
|
"exit": "any",
|
||||||
|
"min_confidence": 0.5
|
||||||
|
}
|
||||||
|
}
|
||||||
21
configs/config_default_5min.json
Normal file
21
configs/config_default_5min.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"start_date": "2024-01-01",
|
||||||
|
"stop_date": "2024-01-31",
|
||||||
|
"initial_usd": 10000,
|
||||||
|
"timeframes": ["5min"],
|
||||||
|
"stop_loss_pcts": [0.03, 0.05],
|
||||||
|
"strategies": [
|
||||||
|
{
|
||||||
|
"name": "default",
|
||||||
|
"weight": 1.0,
|
||||||
|
"params": {
|
||||||
|
"timeframe": "5min"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"combination_rules": {
|
||||||
|
"entry": "any",
|
||||||
|
"exit": "any",
|
||||||
|
"min_confidence": 0.5
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user