pub struct DatabentoMarketInfo {
pub tick_size: Decimal,
pub step_size: Decimal,
pub is_delisted: bool,
pub underlying: String,
pub underlying_root: String,
pub expiration: DateTime<Utc>,
pub raw_symbol: String,
pub root_symbol: String,
}Fields§
§tick_size: Decimal§step_size: Decimal§is_delisted: bool§underlying: String§underlying_root: String§expiration: DateTime<Utc>§raw_symbol: String§root_symbol: StringTrait Implementations§
source§impl Clone for DatabentoMarketInfo
impl Clone for DatabentoMarketInfo
source§fn clone(&self) -> DatabentoMarketInfo
fn clone(&self) -> DatabentoMarketInfo
Returns a copy of the value. Read more
1.0.0 · 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 DatabentoMarketInfo
impl Debug for DatabentoMarketInfo
source§impl<'de> Deserialize<'de> for DatabentoMarketInfo
impl<'de> Deserialize<'de> for DatabentoMarketInfo
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
source§impl Display for DatabentoMarketInfo
impl Display for DatabentoMarketInfo
source§impl NormalizedMarketInfo for DatabentoMarketInfo
impl NormalizedMarketInfo for DatabentoMarketInfo
source§fn is_delisted(&self) -> bool
fn is_delisted(&self) -> bool
Return if the market is delisted
source§fn min_order_quantity(&self) -> Amount<Decimal, MinOrderQuantityUnit>
fn min_order_quantity(&self) -> Amount<Decimal, MinOrderQuantityUnit>
The minimum quantity per order allowed by the exchange.
Some exchanges like Coinbase express this in terms of quote currency
(min market funds) while most others express in terms of base currency.
Defaults to the step size in base currency.
fn initial_margin(&self) -> Option<Decimal>
fn maintenance_margin(&self) -> Option<Decimal>
Auto Trait Implementations§
impl Freeze for DatabentoMarketInfo
impl RefUnwindSafe for DatabentoMarketInfo
impl Send for DatabentoMarketInfo
impl Sync for DatabentoMarketInfo
impl Unpin for DatabentoMarketInfo
impl UnwindSafe for DatabentoMarketInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more