pub struct Signal {
pub time: DateTime<Utc>,
pub exchange: Exchange,
pub instrument: Instrument,
pub signals: HashMap<Decision, SignalStrength>,
pub market_meta: MarketMeta,
}
Expand description
Advisory Signal
for a Market
detailing the SignalStrength
associated with each
possible Decision
. Interpreted by an OrderGenerator
.
Fields§
§time: DateTime<Utc>
§exchange: Exchange
§instrument: Instrument
§signals: HashMap<Decision, SignalStrength>
§market_meta: MarketMeta
Metadata propagated from the MarketEvent
that yielded this Signal
.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Signal
impl<'de> Deserialize<'de> for Signal
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more