pub struct AxFundingSlotsResponse {
pub symbol: Ustr,
pub date: Date,
pub timezone: String,
pub variant: AxFundingVariant,
pub interval_count: i32,
pub cap_bps: Option<Decimal>,
pub slots: Vec<AxFundingSlot>,
pub realized_sum_bps: Decimal,
pub projected_eod_bps: Decimal,
}Expand description
Response payload returned by GET /funding-slots.
A full trading day of funding slots with running totals. daily_close
symbols report a single slot.
§References
Fields§
§symbol: UstrInstrument symbol.
date: DateTrading day the schedule covers.
timezone: StringIANA name of the funding schedule’s timezone.
variant: AxFundingVariantHow the symbol’s funding accrues over the day.
interval_count: i32Number of funding slots scheduled on date; 0 on holidays and weekends.
cap_bps: Option<Decimal>Per-slot cap on the funding rate in basis points, when configured.
slots: Vec<AxFundingSlot>Funding slots for the day.
realized_sum_bps: DecimalSum of realized slot rates so far, in basis points.
projected_eod_bps: DecimalProjected end-of-day total in basis points: realized plus remaining projections.
Trait Implementations§
Source§impl Clone for AxFundingSlotsResponse
impl Clone for AxFundingSlotsResponse
Source§fn clone(&self) -> AxFundingSlotsResponse
fn clone(&self) -> AxFundingSlotsResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AxFundingSlotsResponse
impl Debug for AxFundingSlotsResponse
Source§impl<'de> Deserialize<'de> for AxFundingSlotsResponse
impl<'de> Deserialize<'de> for AxFundingSlotsResponse
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
Auto Trait Implementations§
impl Freeze for AxFundingSlotsResponse
impl RefUnwindSafe for AxFundingSlotsResponse
impl Send for AxFundingSlotsResponse
impl Sync for AxFundingSlotsResponse
impl Unpin for AxFundingSlotsResponse
impl UnsafeUnpin for AxFundingSlotsResponse
impl UnwindSafe for AxFundingSlotsResponse
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more