pub enum Asset {
EQUITY,
BOND,
FUTURES,
OPTION,
FOREX,
UNKNOWN,
}Expand description
资产大类(constant.py:43);细分形态由 InstrumentType 正交表达。
UNKNOWN(0.3.0,边界零丢弃):柜台给了无法翻译的产品类码时填它。
触发条件很窄:只在用户显式勾选非标准产品类码(如 '4' 现货 /
'5' EFP / 'I' MI)时才会出现;默认勾选 '1'(期货)时该路径不可达。
Variants§
Implementations§
Trait Implementations§
impl Copy for Asset
impl Eq for Asset
impl StructuralPartialEq for Asset
Auto Trait Implementations§
impl Freeze for Asset
impl RefUnwindSafe for Asset
impl Send for Asset
impl Sync for Asset
impl Unpin for Asset
impl UnsafeUnpin for Asset
impl UnwindSafe for Asset
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