misc
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@ -42,3 +42,5 @@ data/cnn_training/cnn_training_data*
|
||||
testcases/*
|
||||
testcases/negative/case_index.json
|
||||
chrome_user_data/*
|
||||
.aider*
|
||||
.env
|
||||
|
@ -1458,9 +1458,9 @@ class TradingOrchestrator:
|
||||
current_position_pnl=current_position_pnl
|
||||
)
|
||||
|
||||
logger.info(f"Decision for {symbol}: {best_action} (confidence: {best_confidence:.3f}, "
|
||||
f"entry_agg: {entry_aggressiveness:.2f}, exit_agg: {exit_aggressiveness:.2f}, "
|
||||
f"pnl: ${current_position_pnl:.2f})")
|
||||
# logger.info(f"Decision for {symbol}: {best_action} (confidence: {best_confidence:.3f}, "
|
||||
# f"entry_agg: {entry_aggressiveness:.2f}, exit_agg: {exit_aggressiveness:.2f}, "
|
||||
# f"pnl: ${current_position_pnl:.2f})")
|
||||
|
||||
# Trigger training on each decision (especially for executed trades)
|
||||
self._trigger_training_on_decision(decision, price)
|
||||
|
@ -160,7 +160,9 @@ def start_clean_dashboard_with_training():
|
||||
logger.info("Enhanced Trading Orchestrator created with COB integration")
|
||||
|
||||
# Create trading executor
|
||||
trading_executor = TradingExecutor()
|
||||
trading_executor = TradingExecutor(config_path="config.yaml")
|
||||
logger.info(f"Creating trading executor with {trading_executor.primary_name} configuration...")
|
||||
|
||||
|
||||
# Connect trading executor to orchestrator
|
||||
orchestrator.trading_executor = trading_executor
|
||||
@ -170,11 +172,8 @@ def start_clean_dashboard_with_training():
|
||||
from web.clean_dashboard import create_clean_dashboard
|
||||
|
||||
# Create clean dashboard
|
||||
dashboard = create_clean_dashboard(
|
||||
data_provider=data_provider,
|
||||
orchestrator=orchestrator,
|
||||
trading_executor=trading_executor
|
||||
)
|
||||
logger.info("Creating clean dashboard...")
|
||||
dashboard = create_clean_dashboard(data_provider, orchestrator, trading_executor)
|
||||
logger.info("Clean Trading Dashboard created")
|
||||
|
||||
# Start training pipeline in background thread
|
||||
|
Reference in New Issue
Block a user