pub struct FundingRate {
pub symbol: String,
pub rate: f64,
pub timestamp_ms: u64,
pub annualized: f64,
}Expand description
A single perpetual-futures funding rate observation.
Funding rates are typically settled every 8 hours (3× per day).
The annualized field converts the period rate to an annual rate.
Fields§
§symbol: StringTrading pair symbol (e.g. "BTCUSDT").
rate: f64Raw funding rate for one 8-hour period (e.g. 0.0001 = 0.01%).
timestamp_ms: u64Unix timestamp in milliseconds of this funding observation.
annualized: f64Annualized funding rate = rate × 3 × 365.
Implementations§
Source§impl FundingRate
impl FundingRate
Trait Implementations§
Source§impl Clone for FundingRate
impl Clone for FundingRate
Auto Trait Implementations§
impl Freeze for FundingRate
impl RefUnwindSafe for FundingRate
impl Send for FundingRate
impl Sync for FundingRate
impl Unpin for FundingRate
impl UnsafeUnpin for FundingRate
impl UnwindSafe for FundingRate
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