revision, pending fixes

This commit is contained in:
Dobromir Popov
2025-09-26 10:49:45 +03:00
parent 2b09e7fb5a
commit 468a2c2a66
8 changed files with 61 additions and 53 deletions

View File

@@ -850,6 +850,10 @@ class TradingExecutor:
"""Get trade history"""
return self.trade_history.copy()
def get_balance(self) -> Dict[str, float]:
"""TODO(Guideline: expose real account state) Return actual account balances instead of raising."""
raise NotImplementedError("Implement TradingExecutor.get_balance to supply real balance data; stubs are forbidden.")
def export_trades_to_csv(self, filename: Optional[str] = None) -> str:
"""Export trade history to CSV file with comprehensive analysis"""
import csv