pub struct DeliveryRecord {
pub delivery_time: Timestamp,
pub symbol: String,
pub side: Side,
pub position: Decimal,
pub entry_price: Decimal,
pub delivery_price: Decimal,
pub strike: Option<Decimal>,
pub fee: Decimal,
pub delivery_rpl: Decimal,
}Expand description
Item of the list returned by GET /v5/asset/delivery-record (Client::get_delivery_record).
Fields§
§delivery_time: TimestampDelivery time (ms).
symbol: StringSymbol name.
side: SideBuy, Sell.
position: DecimalExecuted size.
entry_price: DecimalAvg entry price.
delivery_price: DecimalDelivery price.
strike: Option<Decimal>Options only
fee: DecimalTrading fee.
delivery_rpl: DecimalRealized PnL of the delivery.
Trait Implementations§
Source§impl Debug for DeliveryRecord
impl Debug for DeliveryRecord
Source§impl<'de> Deserialize<'de> for DeliveryRecord
impl<'de> Deserialize<'de> for DeliveryRecord
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 PartialEq for DeliveryRecord
impl PartialEq for DeliveryRecord
impl StructuralPartialEq for DeliveryRecord
Auto Trait Implementations§
impl Freeze for DeliveryRecord
impl RefUnwindSafe for DeliveryRecord
impl Send for DeliveryRecord
impl Sync for DeliveryRecord
impl Unpin for DeliveryRecord
impl UnsafeUnpin for DeliveryRecord
impl UnwindSafe for DeliveryRecord
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