Module types

Module types 

Source
Expand description

CTP数据类型定义

对应CTP C++库中的数据类型,提供安全的Rust封装

Structs§

ExchangeField
InputBatchOrderActionField
InputExecOrderActionField
InputExecOrderField
InputForQuoteField
InputOrderActionField
InputQuoteActionField
InputQuoteField
InstrumentCommissionRateField
InstrumentMarginRateField
InvestorPositionDetailField
NoticeField
OrderActionField
ParkedOrderActionField
ParkedOrderField
ProductField
QryDepthMarketDataField
QryExchangeField
QryInstrumentCommissionRateField
QryInstrumentField
QryInstrumentMarginRateField
QryInvestorPositionDetailField
QryInvestorPositionField
QryMaxOrderVolumeField
QryNoticeField
QryOrderField
QryProductField
QrySettlementInfoField
QryTradeField
QryTradingAccountField
QryTransferBankField
RemoveParkedOrderActionField
RemoveParkedOrderField
ReqUserLoginField
用户登录请求
RspInfoField
响应信息
RspUserLoginField
用户登录响应
SettlementInfoConfirmField
SettlementInfoField
TransferBankField

Enums§

ResumeType
恢复类型枚举

Traits§

StringConvert
字符串转换特质

Type Aliases§

AccountIdType
投资者账户代码类型 (13字符)
ActionFlagType
操作标志类型
AppIdType
应用单元代码类型 (21字符)
AuthCodeType
认证码类型 (17字符)
BankBrchIdType
银行分支机构代码类型
BankIdType
银行代码类型
BankNameType
银行名称类型
BizTypeType
业务类型 (1字符)
BranchIdType
营业部编号类型 (9字符)
BrokerAbbrType
经纪公司简称类型 (9字符)
BrokerIdType
经纪公司代码类型 (11字符)
BrokerNameType
经纪公司名称类型 (81字符)
BusinessUnitType
业务单元类型
ClientIdType
客户代码类型
CurrencyIdType
币种代码类型 (4字符)
DateType
日期类型 (9字符)
ErrorMsgType
错误信息类型 (81字符)
ExchangeIdType
交易所代码类型 (9字符)
ExchangeInstIdType
合约在交易所的代码类型 (31字符)
FrontIdType
前置编号类型
IPAddressType
IP地址类型 (16字符)
InstallIdType
安装编号类型
InstrumentIdType
合约代码类型 (31字符)
InvestUnitIdType
投资单元代码类型 (17字符)
InvestorIdType
投资者代码类型 (13字符)
IpAddressType
客户端IP地址类型 (16字符)
IpPortType
客户端IP端口类型 (6字符)
MacAddressType
Mac地址类型 (21字符)
OrderActionRefType
报单操作引用类型 (13字符)
OrderActionStatusType
报单操作状态类型
OrderLocalIdType
本地报单编号类型 (13字符)
OrderRefType
报单引用类型 (13字符)
OrderSysIdType
第一阶段新增类型定义 报单编号类型 (21字符)
ParkedOrderIdType
预埋单编号类型
ParticipantIdType
会员代码类型 (11字符)
PasswordType
密码类型 (41字符)
PriceType
价格类型
ProductInfoType
产品信息类型 (11字符)
ProtocolInfoType
协议信息类型 (11字符)
RequestIdType
请求编号类型
SessionIdType
会话编号类型
TimeType
时间类型 (9字符)
TradeIdType
成交编号类型 (21字符)
TraderIdType
交易员代码类型 (21字符)
TradingDayType
交易日类型
UserIdType
用户代码类型 (16字符)
VolumeType
数量类型