pub struct FuturesLimit {Show 13 fields
pub currency: Option<String>,
pub exchange: Option<String>,
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 var_margin: Option<Decimal>,
pub real_var_margin: Option<Decimal>,
pub accruedint: Option<Decimal>,
pub options_premium: Option<Decimal>,
pub instrument_type: Option<String>,
pub load_date: Option<String>,
}Expand description
A limit of the derivatives market (collateral and variation margin).
Fields§
§currency: Option<String>Currency code (JSON field currencyCode).
exchange: Option<String>Exchange code.
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.
var_margin: Option<Decimal>Estimate of the variation margin on the positions.
real_var_margin: Option<Decimal>Variation margin credited during clearing.
accruedint: Option<Decimal>Variation margin for the current day (the field is spelled accruedint by the broker).
Premiums on options.
instrument_type: Option<String>Instrument type, as text.
load_date: Option<String>When the broker last updated the record, kept as text.
Trait Implementations§
Source§impl Clone for FuturesLimit
impl Clone for FuturesLimit
Source§fn clone(&self) -> FuturesLimit
fn clone(&self) -> FuturesLimit
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 FuturesLimit
impl Debug for FuturesLimit
Source§impl<'de> Deserialize<'de> for FuturesLimit
impl<'de> Deserialize<'de> for FuturesLimit
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 FuturesLimit
impl RefUnwindSafe for FuturesLimit
impl Send for FuturesLimit
impl Sync for FuturesLimit
impl Unpin for FuturesLimit
impl UnsafeUnpin for FuturesLimit
impl UnwindSafe for FuturesLimit
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