pub struct BacktestFill {
pub ts_ms: i64,
pub price: String,
pub qty: String,
pub side: String,
pub fee: String,
pub fee_amount: String,
pub fee_currency: String,
}Expand description
Individual fill record for backtest results (serialized to frontend)
Fields§
§ts_ms: i64Fill timestamp in milliseconds.
price: StringFill price as a decimal string.
qty: StringFill quantity as a decimal string.
side: StringFill side.
fee: StringLegacy field: fee asset/currency.
fee_amount: StringAdditive numeric fee amount for consumers that need fee math.
fee_currency: StringFee currency.
Trait Implementations§
Source§impl Clone for BacktestFill
impl Clone for BacktestFill
Source§fn clone(&self) -> BacktestFill
fn clone(&self) -> BacktestFill
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 moreSource§impl Debug for BacktestFill
impl Debug for BacktestFill
Auto Trait Implementations§
impl Freeze for BacktestFill
impl RefUnwindSafe for BacktestFill
impl Send for BacktestFill
impl Sync for BacktestFill
impl Unpin for BacktestFill
impl UnsafeUnpin for BacktestFill
impl UnwindSafe for BacktestFill
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