pub struct ClosedPnl {Show 17 fields
pub symbol: String,
pub order_id: String,
pub side: String,
pub qty: String,
pub order_price: String,
pub order_type: String,
pub exec_type: String,
pub closed_size: String,
pub cum_entry_value: String,
pub avg_entry_price: String,
pub cum_exit_value: String,
pub avg_exit_price: String,
pub closed_pnl: String,
pub fill_count: String,
pub leverage: String,
pub created_time: String,
pub updated_time: String,
}Expand description
Closed PnL record.
Fields§
§symbol: StringSymbol
order_id: StringOrder ID
side: StringSide
qty: StringQty
order_price: StringOrder price
order_type: StringOrder type
exec_type: StringExec type
closed_size: StringClosed size
cum_entry_value: StringCumulative entry value
avg_entry_price: StringAverage entry price
cum_exit_value: StringCumulative exit value
avg_exit_price: StringAverage exit price
closed_pnl: StringClosed PnL
fill_count: StringFill count
leverage: StringLeverage
created_time: StringCreated time
updated_time: StringUpdated time
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ClosedPnl
impl<'de> Deserialize<'de> for ClosedPnl
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 ClosedPnl
impl RefUnwindSafe for ClosedPnl
impl Send for ClosedPnl
impl Sync for ClosedPnl
impl Unpin for ClosedPnl
impl UnsafeUnpin for ClosedPnl
impl UnwindSafe for ClosedPnl
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