🔧 PROGRESS: Import path fixes and type cleanup
- Fixed missing imports in backtesting and risk-data crates - Corrected ConnectionStatus usage patterns - Fixed ConfigManager constructor calls - Resolved Interactive Brokers config conversions - Added proper Decimal import patterns NEXT: Aggressive duplicate type system elimination with parallel agents 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -57,24 +57,8 @@ pub enum MarketDataEvent {
|
||||
UnusualOptions(crate::providers::common::UnusualOptionsEvent),
|
||||
}
|
||||
|
||||
/// Quote event structure
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
pub struct QuoteEvent {
|
||||
/// Symbol
|
||||
pub symbol: String,
|
||||
/// Bid price
|
||||
pub bid: Option<Decimal>,
|
||||
/// Ask price
|
||||
pub ask: Option<Decimal>,
|
||||
/// Bid size
|
||||
pub bid_size: Option<Decimal>,
|
||||
/// Ask size
|
||||
pub ask_size: Option<Decimal>,
|
||||
/// Exchange
|
||||
pub exchange: Option<String>,
|
||||
/// Timestamp
|
||||
pub timestamp: chrono::DateTime<chrono::Utc>,
|
||||
}
|
||||
// Use canonical QuoteEvent from trading_engine
|
||||
pub use trading_engine::types::QuoteEvent;
|
||||
|
||||
// TradeEvent removed - use canonical version from trading_engine::types::TradeEvent
|
||||
pub use trading_engine::types::TradeEvent;
|
||||
|
||||
Reference in New Issue
Block a user