Fixed TypeError caused by missing tuple unpacking: - check_existing_positions() returns (has_position, position_info) - Was accessing as dict directly → TypeError - Now properly unpacks: has_position, position_info = check_existing_positions() Fixed in: - activate_enhanced_scoring.py - Notebook cells 15, 27, 84, 89 Error resolved: TypeError: tuple indices must be integers or slices, not str
15 lines
270 B
JSON
15 lines
270 B
JSON
{
|
|
"timestamp": "2026-01-21T13:31:39.173342",
|
|
"session_thresholds": {
|
|
"asian": 60,
|
|
"ny": 60,
|
|
"london": 80,
|
|
"overlap": 70
|
|
},
|
|
"settings": {
|
|
"lookback_trades": 20,
|
|
"target_win_rate": 0.6,
|
|
"min_threshold": 60,
|
|
"max_threshold": 95
|
|
}
|
|
} |