Struct kraapi::api::private::KOOrderInfo [−][src]
Order info data | See KOOpenOrders - KOClosedOrders - KOQueryOrders
Fields
refid: Option<String>
Referral order transaction id that created this order
userref: Option<u32>
user reference id
status: KOOrderStatus
status of order:
opentm: f64
unix timestamp of when order was placed
starttm: f64
unix timestamp of order start time (or 0 if not set)
expiretm: f64
unix timestamp of order end time (or 0 if not set)
descr: KOOrderDescription
order description info
vol: String
volume of order (base currency unless viqc set in oflags)
vol_exec: String
volume executed (base currency unless viqc set in oflags)
cost: String
total cost (quote currency unless unless viqc set in oflags)
fee: String
total fee (quote currency)
price: String
average price (quote currency unless viqc set in oflags)
stopprice: Option<String>
stop price (quote currency, for trailing stops)
limitprice: Option<String>
triggered limit price (quote currency, when limit based order type triggered)
misc: String
comma delimited list of miscellaneous info: + stopped = triggered by stop price + touched = triggered by touch price + liquidated = liquidation + partial = partial fill
oflags: String
comma delimited list of order flags: + viqc = volume in quote currency + fcib = prefer fee in base currency (default if selling) + fciq = prefer fee in quote currency (default if buying) + nompp = no market price protection
trades: Option<Vec<String>>
array of trade ids related to order (if trades info requested and data available)
closetm: Option<f64>
unix timestamp of when order was closed. Field only present when calling ClosedOrders endpoint
reason: Option<String>
additional info on status (if any). Field only present when calling ClosedOrders
Trait Implementations
impl Debug for KOOrderInfo
[src]
impl<'de> Deserialize<'de> for KOOrderInfo
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for KOOrderInfo
[src]
Auto Trait Implementations
impl RefUnwindSafe for KOOrderInfo
impl Send for KOOrderInfo
impl Sync for KOOrderInfo
impl Unpin for KOOrderInfo
impl UnwindSafe for KOOrderInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,