pub struct FuturesLimitEntry {Show 13 fields
pub currency: Option<String>,
pub exchange: Option<String>,
pub accrued_int: Option<Decimal>,
pub cbp_limit: Option<Decimal>,
pub cbpl_used: Option<Decimal>,
pub cbpl_planned: Option<Decimal>,
pub cbpl_used_for_orders: Option<Decimal>,
pub cbpl_used_for_positions: Option<Decimal>,
pub options_premium: Option<Decimal>,
pub instrument_type: Option<String>,
pub load_date: Option<String>,
pub var_margin: Option<Decimal>,
pub real_var_margin: Option<Decimal>,
}Expand description
A limit of the derivatives market in a limits frame (futuresLimits).
Fields§
§currency: Option<String>Currency code (JSON field currencyCode).
exchange: Option<String>Exchange code.
accrued_int: Option<Decimal>Variation margin for the current day (the JSON field is spelled accruedint).
cbp_limit: Option<Decimal>Current limit of open positions.
cbpl_used: Option<Decimal>Positions after the last clearing.
cbpl_planned: Option<Decimal>Estimated value of the planned positions after the nearest clearing.
cbpl_used_for_orders: Option<Decimal>Collateral (initial margin) reserved for the client orders.
cbpl_used_for_positions: Option<Decimal>Collateral (initial margin) reserved for the open client positions.
Premiums on options.
instrument_type: Option<String>Instrument type as the broker names it.
load_date: Option<String>Time the broker updated the data, kept as text.
var_margin: Option<Decimal>Estimate of the variation margin on the positions.
real_var_margin: Option<Decimal>Variation margin credited during clearing.
Trait Implementations§
Source§impl Clone for FuturesLimitEntry
impl Clone for FuturesLimitEntry
Source§fn clone(&self) -> FuturesLimitEntry
fn clone(&self) -> FuturesLimitEntry
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 FuturesLimitEntry
impl Debug for FuturesLimitEntry
Source§impl<'de> Deserialize<'de> for FuturesLimitEntry
impl<'de> Deserialize<'de> for FuturesLimitEntry
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 FuturesLimitEntry
impl RefUnwindSafe for FuturesLimitEntry
impl Send for FuturesLimitEntry
impl Sync for FuturesLimitEntry
impl Unpin for FuturesLimitEntry
impl UnsafeUnpin for FuturesLimitEntry
impl UnwindSafe for FuturesLimitEntry
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