Status and positions linked
This commit is contained in:
@@ -66,6 +66,7 @@ pub struct EngineStatus {
|
||||
pub perps_equity: Decimal,
|
||||
pub strategy_mode: Mode,
|
||||
pub strategy_state: ItemState,
|
||||
pub positions: Vec<Position>,
|
||||
}
|
||||
|
||||
impl std::fmt::Display for MarketTrend {
|
||||
|
||||
@@ -11,9 +11,6 @@ pub enum TerminalServerMessage {
|
||||
// WatchList
|
||||
WatchListUpdated(Vec<MarketItem>),
|
||||
|
||||
// Positions
|
||||
PositionsUpdated(Vec<Position>),
|
||||
|
||||
// Configuration
|
||||
ConfigUpdated(EngineConfig),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user