Add opportunity detection and storage functionality with async processing
- Introduced OpportunityEvent class for structured opportunity data. - Enhanced IncrementalCycleDetector to generate opportunities based on updated pairs. - Implemented AsyncOpportunityWriter for persisting opportunities to the database. - Updated MarketDataFeed to handle opportunity detection and execution in both paper and live trading modes. - Added unit tests for opportunity detection and persistence.
This commit is contained in:
@@ -15,3 +15,4 @@ KRAKEN_RETRY_ATTEMPTS=3
|
||||
KRAKEN_RETRY_BASE_DELAY_SECONDS=0.25
|
||||
WS_HEARTBEAT_TIMEOUT_SECONDS=20.0
|
||||
WS_MAX_STALENESS_SECONDS=5.0
|
||||
PAPER_TRADING_MODE=true
|
||||
|
||||
Reference in New Issue
Block a user