[][src]Struct quantaxis_rs::qaperformance::QATradePair

pub struct QATradePair {
    pub open_datetime: i64,
    pub close_datetime: i64,
    pub opendate: String,
    pub closedate: String,
    pub if_buyopen: bool,
    pub code: String,
    pub amount: f64,
    pub openprice: f64,
    pub closeprice: f64,
    pub open_trade_id: String,
    pub close_trade_id: String,
    pub pnl_ratio: f64,
    pub pnl_money: f64,
    pub hold_gap: f64,
}

performace is a simple way for analaysis single pair of every trades

Fields

open_datetime: i64close_datetime: i64opendate: Stringclosedate: Stringif_buyopen: boolcode: Stringamount: f64openprice: f64closeprice: f64open_trade_id: Stringclose_trade_id: Stringpnl_ratio: f64pnl_money: f64hold_gap: f64

Trait Implementations

impl Clone for QATradePair[src]

impl Debug for QATradePair[src]

impl<'de> Deserialize<'de> for QATradePair[src]

impl Serialize for QATradePair[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,