pub struct TickLast {
pub timestamp: OffsetDateTime,
pub tick_attribute_last: TickAttributeLast,
pub price: f64,
pub size: i32,
pub exchange: String,
pub special_conditions: String,
}Expand description
The historical last tick’s description. Used when requesting historical tick data with whatToShow = TRADES.
Fields§
§timestamp: OffsetDateTimeTimestamp of the historical tick.
tick_attribute_last: TickAttributeLastTick attributes of historical bid/ask tick.
price: f64Last price of the historical tick.
size: i32Last size of the historical tick.
exchange: StringSource exchange of the historical tick.
special_conditions: StringConditions of the historical tick. Refer to Trade Conditions page for more details: https://www.interactivebrokers.com/en/index.php?f=7235.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TickLast
impl<'de> Deserialize<'de> for TickLast
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 TickDecoder<TickLast> for TickLast
impl TickDecoder<TickLast> for TickLast
Source§const MESSAGE_TYPE: IncomingMessages = IncomingMessages::HistoricalTickLast
const MESSAGE_TYPE: IncomingMessages = IncomingMessages::HistoricalTickLast
Message discriminator emitted by TWS for this tick type.
impl StructuralPartialEq for TickLast
Auto Trait Implementations§
impl Freeze for TickLast
impl RefUnwindSafe for TickLast
impl Send for TickLast
impl Sync for TickLast
impl Unpin for TickLast
impl UnwindSafe for TickLast
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