[][src]Enum xtp::XTPPriceType

#[repr(u32)]
pub enum XTPPriceType {
    Limit,
    BestOrCancel,
    BestsOrLimit,
    BestsOrCancel,
    AllOrCancel,
    ForwardBest,
    ReverseBestLimit,
    LimitOrCancel,
    TypeUnknown,
}

XTP_PRICE_TYPE是价格类型

Variants

Limit

限价单-沪 / 深 / 沪期权(除普通股票业务外,其余业务均使用此种类型)

BestOrCancel

即时成交剩余转撤销,市价单-深 / 沪期权

BestsOrLimit

最优五档即时成交剩余转限价,市价单-沪

BestsOrCancel

U最优5档即时成交剩余转撤销,市价单-沪深

AllOrCancel

全部成交或撤销,市价单-深 / 沪期权

ForwardBest

本方最优,市价单-深

ReverseBestLimit

对方最优剩余转限价,市价单-深 / 沪期权

LimitOrCancel

期权限价申报FOK

TypeUnknown

未知或者无效价格类型

Trait Implementations

impl Clone for XTPPriceType[src]

impl Copy for XTPPriceType[src]

impl Debug for XTPPriceType[src]

impl Eq for XTPPriceType[src]

impl Hash for XTPPriceType[src]

impl PartialEq<XTPPriceType> for XTPPriceType[src]

impl StructuralEq for XTPPriceType[src]

impl StructuralPartialEq for XTPPriceType[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> From<T> for T[src]

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

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.