pub struct DepoLimitEntry {
pub ticker: Option<String>,
pub class_code: Option<String>,
pub exchange: Option<String>,
pub average_price: Option<Decimal>,
pub quantity: Option<Quantity>,
pub quantity_batch: Option<Quantity>,
pub instrument_type: Option<String>,
pub load_date: Option<String>,
pub locked_buy_value: Option<Decimal>,
pub locked_sell_value: Option<Decimal>,
}Expand description
A securities position in a limits frame (depoLimit).
Fields§
§ticker: Option<String>Ticker.
class_code: Option<String>Class code (board).
exchange: Option<String>Exchange code.
average_price: Option<Decimal>Weighted average price at which the position was opened.
quantity: Option<Quantity>Quantity in pieces, with the settlement mode.
quantity_batch: Option<Quantity>Quantity in lots, with the settlement mode.
instrument_type: Option<String>Instrument type as the broker names it.
load_date: Option<String>Time the broker updated the data, kept as text.
locked_buy_value: Option<Decimal>Money held by active buy orders for this security.
locked_sell_value: Option<Decimal>Money held by active sell orders for this security. The docs word it the same way as for buy.
Trait Implementations§
Source§impl Clone for DepoLimitEntry
impl Clone for DepoLimitEntry
Source§fn clone(&self) -> DepoLimitEntry
fn clone(&self) -> DepoLimitEntry
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 DepoLimitEntry
impl Debug for DepoLimitEntry
Source§impl<'de> Deserialize<'de> for DepoLimitEntry
impl<'de> Deserialize<'de> for DepoLimitEntry
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 DepoLimitEntry
impl RefUnwindSafe for DepoLimitEntry
impl Send for DepoLimitEntry
impl Sync for DepoLimitEntry
impl Unpin for DepoLimitEntry
impl UnsafeUnpin for DepoLimitEntry
impl UnwindSafe for DepoLimitEntry
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