pub enum Event {
Show 28 variants
Trade {
exchange: ExchangeId,
symbol: String,
point: TradePoint,
},
AggTrade {
exchange: ExchangeId,
symbol: String,
point: AggTradePoint,
},
Bar {
exchange: ExchangeId,
symbol: String,
timeframe: KlineInterval,
point: BarPoint,
},
Ticker {
exchange: ExchangeId,
symbol: String,
point: TickerPoint,
},
OrderbookSnapshot {
exchange: ExchangeId,
symbol: String,
point: ObSnapshotPoint,
},
OrderbookDelta {
exchange: ExchangeId,
symbol: String,
point: ObDeltaPoint,
},
MarkPrice {
exchange: ExchangeId,
symbol: String,
point: MarkPricePoint,
},
FundingRate {
exchange: ExchangeId,
symbol: String,
point: FundingRatePoint,
},
OpenInterest {
exchange: ExchangeId,
symbol: String,
point: OpenInterestPoint,
},
Liquidation {
exchange: ExchangeId,
symbol: String,
point: LiquidationPoint,
},
BlockTrade {
exchange: ExchangeId,
symbol: String,
point: BlockTradePoint,
},
IndexPrice {
exchange: ExchangeId,
symbol: String,
point: IndexPricePoint,
},
CompositeIndex {
exchange: ExchangeId,
symbol: String,
point: CompositeIndexPoint,
},
OptionGreeks {
exchange: ExchangeId,
symbol: String,
point: OptionGreeksPoint,
},
VolatilityIndex {
exchange: ExchangeId,
symbol: String,
point: VolatilityIndexPoint,
},
HistoricalVolatility {
exchange: ExchangeId,
symbol: String,
point: HistoricalVolatilityPoint,
},
Basis {
exchange: ExchangeId,
symbol: String,
point: BasisPoint,
},
InsuranceFund {
exchange: ExchangeId,
symbol: String,
point: InsuranceFundPoint,
},
OrderbookL3 {
exchange: ExchangeId,
symbol: String,
point: OrderbookL3Point,
},
SettlementEvent {
exchange: ExchangeId,
symbol: String,
point: SettlementEventPoint,
},
AuctionEvent {
exchange: ExchangeId,
symbol: String,
point: AuctionEventPoint,
},
MarketWarning {
exchange: ExchangeId,
symbol: String,
point: MarketWarningPoint,
},
RiskLimit {
exchange: ExchangeId,
symbol: String,
point: RiskLimitPoint,
},
PredictedFunding {
exchange: ExchangeId,
symbol: String,
point: PredictedFundingPoint,
},
FundingSettlement {
exchange: ExchangeId,
symbol: String,
point: FundingSettlementPoint,
},
MarkPriceKline {
exchange: ExchangeId,
symbol: String,
timeframe: KlineInterval,
point: MarkPriceKlinePoint,
},
IndexPriceKline {
exchange: ExchangeId,
symbol: String,
timeframe: KlineInterval,
point: IndexPriceKlinePoint,
},
PremiumIndexKline {
exchange: ExchangeId,
symbol: String,
timeframe: KlineInterval,
point: PremiumIndexKlinePoint,
},
}Expand description
Events forwarded to consumers. One variant per market-data class.
Variants§
Trade
AggTrade
Bar
Ticker
OrderbookSnapshot
OrderbookDelta
MarkPrice
FundingRate
OpenInterest
Liquidation
BlockTrade
IndexPrice
CompositeIndex
OptionGreeks
VolatilityIndex
HistoricalVolatility
Basis
InsuranceFund
OrderbookL3
SettlementEvent
AuctionEvent
MarketWarning
RiskLimit
PredictedFunding
FundingSettlement
MarkPriceKline
IndexPriceKline
PremiumIndexKline
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more