Small changes

This commit is contained in:
2026-07-28 06:51:26 +02:00
parent dc660decee
commit b5069954b1
+5 -7
View File
@@ -66,6 +66,11 @@ pub enum StrategyEngineMessage {
WatchList(Vec<MarketItem>), WatchList(Vec<MarketItem>),
Command {
command: String,
args: Vec<String>,
},
CandleUpdate { CandleUpdate {
symbol: String, symbol: String,
interval: CandleInterval, interval: CandleInterval,
@@ -77,11 +82,6 @@ pub enum StrategyEngineMessage {
interval: CandleInterval, interval: CandleInterval,
candles: Vec<Candle>, candles: Vec<Candle>,
}, },
Command {
command: String,
args: Vec<String>,
},
} }
#[pwp] #[pwp]
@@ -93,8 +93,6 @@ pub enum RiskEngineMessage {
Command { command: String, args: Vec<String> }, Command { command: String, args: Vec<String> },
Signal(StrategySignal), Signal(StrategySignal),
MarketUpdate { symbol: String, price: f64 },
} }
#[pwp] #[pwp]