Files
Place-Order-Trading-Bot/trade_performance_v16_XAUUSD_202510.json
T
cbazzaandClaude 596718e30b feat: Trading Bot V1.8 - Aggressive Mode + Infrastructure
## Major Features
- Session Filter: NY-only trading (13:00-21:00 UTC)
- SQLite Database: Structured trade logging
- Telegram Bot: Real-time notifications (@Xausd_digger_bot)
- Streamlit Dashboard: Visual monitoring & analytics
- JSON Import: Historical data migration

## Infrastructure
- trading_database.py: SQLite trade storage
- telegram_notifier.py: Telegram integration
- infrastructure_patch.py: Combined DB + Telegram
- trading_dashboard.py: Real-time web dashboard
- import_json_to_db.py: JSON to SQLite migration

## Session Filter (V1.8 Aggressive Mode)
- session_filter_patch.py: Whitelist-based filter
- Blocks: Asian, London, Overlap sessions
- Active: NY session only (best performance: 47.6% WR)
- Base confidence: 60%

## Documentation
- V1.8_AGGRESSIVE_MODE_AKTIVIERT.md
- FIX_DUPLICATE_SCHEDULER.md
- DASHBOARD_WINDOWS_SERVER.md
- SQLITE_TELEGRAM_SETUP.md
- PROJECT_CLEANUP.md

## Cleanup
- Archived old V1.1-V1.7 versions
- Removed obsolete analysis scripts (replaced by dashboard)
- Added .gitignore for secrets and temp files

## Breaking Changes
- Requires telegram_config.json (use template)
- Requires Python packages: streamlit, plotly

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 21:14:01 +01:00

434 lines
20 KiB
JSON

[
{
"timestamp": "2025-10-31T00:43:54.044909",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 78.8,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 37.20677415534778,
"risk_adjusted_strength": 47620.067708887604,
"adaptive_interval": 15,
"session": "asian",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=435070787, order=478265698, volume=0.07, price=4032.7, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304401, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.07, price=4032.81, stoplimit=0.0, sl=4025.0112621236303, tp=4051.676844690925, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T02:00:00.811779",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 79.06,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 41.618593353525405,
"risk_adjusted_strength": 59305.554223185194,
"adaptive_interval": 15,
"session": "asian",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=435184360, order=478391992, volume=0.09, price=4025.19, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304402, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.09, price=4025.32, stoplimit=0.0, sl=4018.93281627515, tp=4040.5879593121244, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T03:00:09.446976",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 78.88,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 41.618593353525405,
"risk_adjusted_strength": 57477.635686851994,
"adaptive_interval": 15,
"session": "asian",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=435297036, order=478512868, volume=0.08, price=4018.08, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304403, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.08, price=4018.54, stoplimit=0.0, sl=4011.338532716335, tp=4035.8786682091622, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T03:15:02.774892",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 78.79,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 41.45021738059823,
"risk_adjusted_strength": 53917.67521737332,
"adaptive_interval": 15,
"session": "asian",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=435327586, order=478545351, volume=0.07, price=4010.2, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304404, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.07, price=4009.78, stoplimit=0.0, sl=4001.7994756899197, tp=4029.066310775201, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T03:45:01.683105",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 79.01,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 41.032624832763865,
"risk_adjusted_strength": 53691.96346378657,
"adaptive_interval": 15,
"session": "asian",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=435380939, order=478603436, volume=0.07, price=4003.22, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304405, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.07, price=4003.27, stoplimit=0.0, sl=3995.6045659482984, tp=4021.8035851292548, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T04:15:03.001188",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 77.88,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 40.5114037003187,
"risk_adjusted_strength": 47986.54160593859,
"adaptive_interval": 15,
"session": "asian",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=435442265, order=478669515, volume=0.06, price=3994.46, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304406, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.06, price=3994.44, stoplimit=0.0, sl=3985.343350297011, tp=4016.551624257473, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T09:30:07.126969",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 74.56,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 43.85449385178111,
"risk_adjusted_strength": 57906.72497045316,
"adaptive_interval": 5,
"session": "london",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=435954475, order=479237652, volume=0.09, price=4021.64, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304407, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.09, price=4021.64, stoplimit=0.0, sl=4015.2733652001793, tp=4036.891586999551, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T09:55:08.099010",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 75.03,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 43.85449385178111,
"risk_adjusted_strength": 55011.82846332111,
"adaptive_interval": 5,
"session": "london",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=436007194, order=479294203, volume=0.08, price=4007.97, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304408, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.08, price=4007.98, stoplimit=0.0, sl=4001.0490658068666, tp=4024.6423354828335, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T10:25:03.665172",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 74.87,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 49.645629122983934,
"risk_adjusted_strength": 55765.179992689635,
"adaptive_interval": 5,
"session": "london",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=436077538, order=479369590, volume=0.08, price=4002.99, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304409, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.08, price=4002.95, stoplimit=0.0, sl=3996.285330737533, tp=4018.981673156167, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T13:25:09.566295",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 76.38,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 49.645629122983934,
"risk_adjusted_strength": 61390.996940352314,
"adaptive_interval": 5,
"session": "london",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=436431428, order=479741402, volume=0.1, price=4024.85, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304412, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.1, price=4024.84, stoplimit=0.0, sl=4019.39135552923, tp=4038.0066111769247, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T13:35:04.695750",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 76.87,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 49.645629122983934,
"risk_adjusted_strength": 63095.103958100415,
"adaptive_interval": 5,
"session": "london",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=436458488, order=479770105, volume=0.09, price=4018.09, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304413, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.09, price=4018.2, stoplimit=0.0, sl=4012.2888857464714, tp=4032.347785633822, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T13:45:08.946579",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 77.54,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 50.1048143639056,
"risk_adjusted_strength": 60070.495350632635,
"adaptive_interval": 5,
"session": "london",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=436498442, order=479811302, volume=0.09, price=4029.77, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304415, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.09, price=4029.77, stoplimit=0.0, sl=4022.964230861388, tp=4046.11942284653, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T14:00:07.002828",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 78.19,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 50.31329270330242,
"risk_adjusted_strength": 58987.81185063584,
"adaptive_interval": 5,
"session": "overlap",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=436546489, order=479862422, volume=0.08, price=4022.61, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304416, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.08, price=4023.26, stoplimit=0.0, sl=4015.987346052467, tp=4040.811634868833, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T14:45:00.935511",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 79.08,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 54.46759901144059,
"risk_adjusted_strength": 61375.73055368705,
"adaptive_interval": 5,
"session": "overlap",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=436672932, order=479998013, volume=0.07, price=4016.02, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304417, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.07, price=4016.14, stoplimit=0.0, sl=4008.59042168871, tp=4034.3839457782246, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T17:05:00.448576",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 78.3,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 54.46759901144059,
"risk_adjusted_strength": 58060.1480517347,
"adaptive_interval": 5,
"session": "ny",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=437021574, order=480364066, volume=0.07, price=4005.6, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304418, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.07, price=4005.72, stoplimit=0.0, sl=3997.1606557485698, tp=4026.4533606285763, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
},
{
"timestamp": "2025-10-31T17:15:00.366177",
"version": "V1.6_Adaptive_Complete",
"symbol": "XAUUSD",
"entry_signal": 1,
"confidence": 78.66,
"adaptive_threshold": 70,
"signal_quality": "good",
"market_regime": "ranging",
"regime_strength": 53.312778054728234,
"risk_adjusted_strength": 52154.36881322381,
"adaptive_interval": 5,
"session": "ny",
"relaxed_features": {
"pullback_entry_disabled": true,
"lower_confidence_threshold": true,
"lower_min_strength": true,
"fixed_tf_alignment": true
},
"adaptive_features": {
"adaptive_rhythm": true,
"session_aware": true,
"volatility_based": true
},
"position_control_active": true,
"order_result": "OrderSendResult(retcode=10009, deal=437066084, order=480409859, volume=0.05, price=3979.04, bid=0.0, ask=0.0, comment='Request executed', request_id=2258304419, retcode_external=0, request=TradeRequest(action=1, magic=234000, order=0, symbol='XAUUSD', volume=0.05, price=3979.26, stoplimit=0.0, sl=3969.2344213705546, tp=4003.6589465736133, deviation=20, type=0, type_filling=1, type_time=0, expiration=0, comment='TradingBot_V1.6', position=0, position_by=0))"
}
]