Files
Place-Order-Trading-Bot/dynamic_thresholds.json
T
cbazzaandClaude Opus 4.5 939e01d994
Deploy to Windows VPS / deploy (push) Has been cancelled
fix: Critical bug - entry_signal type mismatch preventing all trades
CRITICAL BUG:
- extended_top_down_v2_adaptive returns entry_signal as NUMBER (1, -1, 0)
- enhanced_trading_check_wrapper checked for STRINGS ("LONG", "SHORT")
- Result: 1 in ["LONG", "SHORT"] = False → NO TRADES EVER EXECUTED!

FIX:
- Changed: if entry_signal in ["LONG", "SHORT"]
- To: if entry_signal in [1, -1]  # 1=LONG, -1=SHORT
- Added signal_direction conversion before execute_trade call

This explains why no trades were being executed despite good signals!

Updated:
- TradingBot_V1.6_Adaptive_Complete_CORRECTED.ipynb (Cells 85, 90)
- activate_enhanced_scoring.py

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-23 08:11:12 +01:00

15 lines
270 B
JSON

{
"timestamp": "2026-01-23T00:00:00.067537",
"session_thresholds": {
"asian": 60,
"ny": 60,
"london": 90,
"overlap": 70
},
"settings": {
"lookback_trades": 20,
"target_win_rate": 0.6,
"min_threshold": 60,
"max_threshold": 95
}
}