#[repr(C)]pub struct CThostFtdcInputOrderField {Show 30 fields
pub BrokerID: TThostFtdcBrokerIDType,
pub InvestorID: TThostFtdcInvestorIDType,
pub InstrumentID: TThostFtdcInstrumentIDType,
pub OrderRef: TThostFtdcOrderRefType,
pub UserID: TThostFtdcUserIDType,
pub OrderPriceType: TThostFtdcOrderPriceTypeType,
pub Direction: TThostFtdcDirectionType,
pub CombOffsetFlag: TThostFtdcCombOffsetFlagType,
pub CombHedgeFlag: TThostFtdcCombHedgeFlagType,
pub LimitPrice: TThostFtdcPriceType,
pub VolumeTotalOriginal: TThostFtdcVolumeType,
pub TimeCondition: TThostFtdcTimeConditionType,
pub GTDDate: TThostFtdcDateType,
pub VolumeCondition: TThostFtdcVolumeConditionType,
pub MinVolume: TThostFtdcVolumeType,
pub ContingentCondition: TThostFtdcContingentConditionType,
pub StopPrice: TThostFtdcPriceType,
pub ForceCloseReason: TThostFtdcForceCloseReasonType,
pub IsAutoSuspend: TThostFtdcBoolType,
pub BusinessUnit: TThostFtdcBusinessUnitType,
pub RequestID: TThostFtdcRequestIDType,
pub UserForceClose: TThostFtdcBoolType,
pub IsSwapOrder: TThostFtdcBoolType,
pub ExchangeID: TThostFtdcExchangeIDType,
pub InvestUnitID: TThostFtdcInvestUnitIDType,
pub AccountID: TThostFtdcAccountIDType,
pub CurrencyID: TThostFtdcCurrencyIDType,
pub ClientID: TThostFtdcClientIDType,
pub IPAddress: TThostFtdcIPAddressType,
pub MacAddress: TThostFtdcMacAddressType,
}Expand description
输入报单
Fields§
§BrokerID: TThostFtdcBrokerIDType经纪公司代码
InvestorID: TThostFtdcInvestorIDType投资者代码
InstrumentID: TThostFtdcInstrumentIDType合约代码
OrderRef: TThostFtdcOrderRefType报单引用
UserID: TThostFtdcUserIDType用户代码
OrderPriceType: TThostFtdcOrderPriceTypeType报单价格条件
Direction: TThostFtdcDirectionType买卖方向
CombOffsetFlag: TThostFtdcCombOffsetFlagType组合开平标志
CombHedgeFlag: TThostFtdcCombHedgeFlagType组合投机套保标志
LimitPrice: TThostFtdcPriceType价格
VolumeTotalOriginal: TThostFtdcVolumeType数量
TimeCondition: TThostFtdcTimeConditionType有效期类型
GTDDate: TThostFtdcDateTypeGTD日期
VolumeCondition: TThostFtdcVolumeConditionType成交量类型
MinVolume: TThostFtdcVolumeType最小成交量
ContingentCondition: TThostFtdcContingentConditionType触发条件
StopPrice: TThostFtdcPriceType止损价
ForceCloseReason: TThostFtdcForceCloseReasonType强平原因
IsAutoSuspend: TThostFtdcBoolType自动挂起标志
BusinessUnit: TThostFtdcBusinessUnitType业务单元
RequestID: TThostFtdcRequestIDType请求编号
UserForceClose: TThostFtdcBoolType用户强评标志
IsSwapOrder: TThostFtdcBoolType互换单标志
ExchangeID: TThostFtdcExchangeIDType交易所代码
InvestUnitID: TThostFtdcInvestUnitIDType投资单元代码
AccountID: TThostFtdcAccountIDType资金账号
CurrencyID: TThostFtdcCurrencyIDType币种代码
ClientID: TThostFtdcClientIDType交易编码
IPAddress: TThostFtdcIPAddressTypeIP地址
MacAddress: TThostFtdcMacAddressTypeMac地址
Trait Implementations§
Source§impl Clone for CThostFtdcInputOrderField
impl Clone for CThostFtdcInputOrderField
Source§impl Debug for CThostFtdcInputOrderField
impl Debug for CThostFtdcInputOrderField
Source§impl Default for CThostFtdcInputOrderField
impl Default for CThostFtdcInputOrderField
Source§fn default() -> CThostFtdcInputOrderField
fn default() -> CThostFtdcInputOrderField
Returns the “default value” for a type. Read more
impl Copy for CThostFtdcInputOrderField
Auto Trait Implementations§
impl Freeze for CThostFtdcInputOrderField
impl RefUnwindSafe for CThostFtdcInputOrderField
impl Send for CThostFtdcInputOrderField
impl Sync for CThostFtdcInputOrderField
impl Unpin for CThostFtdcInputOrderField
impl UnwindSafe for CThostFtdcInputOrderField
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