Skip to main content

MarketStatUpdate

Type Alias MarketStatUpdate 

Source
pub type MarketStatUpdate = MarketStatsUpdate;

Aliased Type§

pub struct MarketStatUpdate {
    pub symbol: String,
    pub open_interest: f64,
    pub mark_price: f64,
    pub mid_price: f64,
    pub oracle_price: f64,
    pub prev_day_mark_price: f64,
    pub day_volume_usd: f64,
    pub funding_rate: f64,
}

Fields§

§symbol: String

Market symbol (e.g., “SOL”)

§open_interest: f64

Total open interest in the market

§mark_price: f64

Current mark price

§mid_price: f64

Current mid price

§oracle_price: f64

Current oracle price

§prev_day_mark_price: f64

Mark price from 24 hours ago

§day_volume_usd: f64

24-hour notional trading volume in USD

§funding_rate: f64

Current funding rate