pub enum SymbolStatus {
Trading,
Halted,
PreLaunch,
Closed,
Unknown,
}Expand description
Canonical, exchange-agnostic trading status — a STATION normalization of the
many venue-native status strings into one vocabulary. Opt-in; the raw
SymbolInfo.status is always still available for callers who want it.
Variants§
Trading
Open for trading (online / Trading / live / tradable / active / 1 / …).
Halted
Temporarily not trading (suspend / halt / break / cancel-only / post-only / limit-only / reduce-only / paused / CAUTION).
PreLaunch
Listed but not yet live (pre-launch / pre-trading / pre-open / preopen).
Closed
Permanently gone or settled (delisted / delisting / closed / settled / expired / inactive / offline / disabled / 0).
Unknown
No native status, or an unrecognized token.
Trait Implementations§
Source§impl Clone for SymbolStatus
impl Clone for SymbolStatus
Source§fn clone(&self) -> SymbolStatus
fn clone(&self) -> SymbolStatus
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 moreimpl Copy for SymbolStatus
Source§impl Debug for SymbolStatus
impl Debug for SymbolStatus
impl Eq for SymbolStatus
Source§impl PartialEq for SymbolStatus
impl PartialEq for SymbolStatus
Source§fn eq(&self, other: &SymbolStatus) -> bool
fn eq(&self, other: &SymbolStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SymbolStatus
Auto Trait Implementations§
impl Freeze for SymbolStatus
impl RefUnwindSafe for SymbolStatus
impl Send for SymbolStatus
impl Sync for SymbolStatus
impl Unpin for SymbolStatus
impl UnsafeUnpin for SymbolStatus
impl UnwindSafe for SymbolStatus
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