ctp

package module
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 11, 2021 License: BSD-3-Clause Imports: 10 Imported by: 4

README

ctp

上期CTP api的go封装

所有gen_开头的文件,都是通过 ctpgen生成的

Documentation

Overview

This file was automatically generated by ctpgen

This file was automatically generated by ctpgen

This file was automatically generated by ctpgen

This file was automatically generated by ctpgen

This file was automatically generated by ctpgen

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CThostFtdcBrokerFieldCValue

func CThostFtdcBrokerFieldCValue(s *CThostFtdcBrokerField) *C.CThostFtdcBrokerField

func CThostFtdcIPListFieldCValue

func CThostFtdcIPListFieldCValue(s *CThostFtdcIPListField) *C.CThostFtdcIPListField

func CThostFtdcLinkManFieldCValue

func CThostFtdcLinkManFieldCValue(s *CThostFtdcLinkManField) *C.CThostFtdcLinkManField

func CThostFtdcMdSpiCValue

func CThostFtdcMdSpiCValue(ptr CThostFtdcMdSpi) C.mdSpi

func CThostFtdcNoticeFieldCValue

func CThostFtdcNoticeFieldCValue(s *CThostFtdcNoticeField) *C.CThostFtdcNoticeField

func CThostFtdcOrderFieldCValue

func CThostFtdcOrderFieldCValue(s *CThostFtdcOrderField) *C.CThostFtdcOrderField

func CThostFtdcProductFieldCValue

func CThostFtdcProductFieldCValue(s *CThostFtdcProductField) *C.CThostFtdcProductField

func CThostFtdcQuoteFieldCValue

func CThostFtdcQuoteFieldCValue(s *CThostFtdcQuoteField) *C.CThostFtdcQuoteField

func CThostFtdcRspInfoFieldCValue

func CThostFtdcRspInfoFieldCValue(s *CThostFtdcRspInfoField) *C.CThostFtdcRspInfoField

func CThostFtdcTradeFieldCValue

func CThostFtdcTradeFieldCValue(s *CThostFtdcTradeField) *C.CThostFtdcTradeField

func CThostFtdcTraderFieldCValue

func CThostFtdcTraderFieldCValue(s *CThostFtdcTraderField) *C.CThostFtdcTraderField

func CThostFtdcTraderSpiCValue

func CThostFtdcTraderSpiCValue(ptr CThostFtdcTraderSpi) C.tdSpi

func CThostFtdcUserIPFieldCValue

func CThostFtdcUserIPFieldCValue(s *CThostFtdcUserIPField) *C.CThostFtdcUserIPField

func GbkToUtf8

func GbkToUtf8(str string) (ret string, err error)

func MdGetApiVersion

func MdGetApiVersion() string

func TdGetApiVersion

func TdGetApiVersion() string

Types

type CThostFtdcAccountPropertyField

type CThostFtdcAccountPropertyField struct {
	BrokerID          string
	AccountID         string
	BankID            string
	BankAccount       string
	OpenName          string
	OpenBank          string
	IsActive          int
	AccountSourceType byte
	OpenDate          string
	CancelDate        string
	OperatorID        string
	OperateDate       string
	OperateTime       string
	CurrencyID        string
}

type CThostFtdcAccountregisterField

type CThostFtdcAccountregisterField struct {
	TradeDay         string
	BankID           string
	BankBranchID     string
	BankAccount      string
	BrokerID         string
	BrokerBranchID   string
	AccountID        string
	IdCardType       byte
	IdentifiedCardNo string
	CustomerName     string
	CurrencyID       string
	OpenOrDestroy    byte
	RegDate          string
	OutDate          string
	TID              int
	CustType         byte
	BankAccType      byte
	LongCustomerName string
}

type CThostFtdcAppIDAuthAssignField

type CThostFtdcAppIDAuthAssignField struct {
	BrokerID     string
	AppID        string
	DRIdentityID int
}

type CThostFtdcAuthForbiddenIPField

type CThostFtdcAuthForbiddenIPField struct {
	IPAddress string
}

type CThostFtdcAuthenticationInfoField

type CThostFtdcAuthenticationInfoField struct {
	BrokerID        string
	UserID          string
	UserProductInfo string
	AuthInfo        string
	IsResult        int
	AppID           string
	AppType         byte
	ClientIPAddress string
}

type CThostFtdcBatchOrderActionField

type CThostFtdcBatchOrderActionField struct {
	BrokerID          string
	InvestorID        string
	OrderActionRef    int
	RequestID         int
	FrontID           int
	SessionID         int
	ExchangeID        string
	ActionDate        string
	ActionTime        string
	TraderID          string
	InstallID         int
	ActionLocalID     string
	ParticipantID     string
	ClientID          string
	BusinessUnit      string
	OrderActionStatus byte
	UserID            string
	StatusMsg         string
	InvestUnitID      string
	IPAddress         string
	MacAddress        string
}

type CThostFtdcBrokerDepositField

type CThostFtdcBrokerDepositField struct {
	TradingDay    string
	BrokerID      string
	ParticipantID string
	ExchangeID    string
	PreBalance    float64
	CurrMargin    float64
	CloseProfit   float64
	Balance       float64
	Deposit       float64
	Withdraw      float64
	Available     float64
	Reserve       float64
	FrozenMargin  float64
}

type CThostFtdcBrokerField

type CThostFtdcBrokerField struct {
	BrokerID   string
	BrokerAbbr string
	BrokerName string
	IsActive   int
}

func NewCThostFtdcBrokerField

func NewCThostFtdcBrokerField(p *C.CThostFtdcBrokerField) *CThostFtdcBrokerField

type CThostFtdcBrokerSyncField

type CThostFtdcBrokerSyncField struct {
	BrokerID string
}

type CThostFtdcBrokerTradingAlgosField

type CThostFtdcBrokerTradingAlgosField struct {
	BrokerID                   string
	ExchangeID                 string
	InstrumentID               string
	HandlePositionAlgoID       byte
	FindMarginRateAlgoID       byte
	HandleTradingAccountAlgoID byte
}

type CThostFtdcBrokerTradingParamsField

type CThostFtdcBrokerTradingParamsField struct {
	BrokerID                string
	InvestorID              string
	MarginPriceType         byte
	Algorithm               byte
	AvailIncludeCloseProfit byte
	CurrencyID              string
	OptionRoyaltyPriceType  byte
	AccountID               string
}

type CThostFtdcBrokerUserEventField

type CThostFtdcBrokerUserEventField struct {
	BrokerID        string
	UserID          string
	UserEventType   byte
	EventSequenceNo int
	EventDate       string
	EventTime       string
	UserEventInfo   string
	InvestorID      string
	InstrumentID    string
}

type CThostFtdcBrokerUserField

type CThostFtdcBrokerUserField struct {
	BrokerID    string
	UserID      string
	UserName    string
	UserType    byte
	IsActive    int
	IsUsingOTP  int
	IsAuthForce int
}

type CThostFtdcBrokerUserFunctionField

type CThostFtdcBrokerUserFunctionField struct {
	BrokerID           string
	UserID             string
	BrokerFunctionCode byte
}

type CThostFtdcBrokerUserOTPParamField

type CThostFtdcBrokerUserOTPParamField struct {
	BrokerID     string
	UserID       string
	OTPVendorsID string
	SerialNumber string
	AuthKey      string
	LastDrift    int
	LastSuccess  int
	OTPType      byte
}

type CThostFtdcBrokerUserPasswordField

type CThostFtdcBrokerUserPasswordField struct {
	BrokerID       string
	UserID         string
	Password       string
	LastUpdateTime string
	LastLoginTime  string
	ExpireDate     string
	WeakExpireDate string
}

type CThostFtdcBrokerUserRightAssignField

type CThostFtdcBrokerUserRightAssignField struct {
	BrokerID     string
	DRIdentityID int
	Tradeable    int
}

type CThostFtdcBrokerWithdrawAlgorithmField

type CThostFtdcBrokerWithdrawAlgorithmField struct {
	BrokerID                string
	WithdrawAlgorithm       byte
	UsingRatio              float64
	IncludeCloseProfit      byte
	AllWithoutTrade         byte
	AvailIncludeCloseProfit byte
	IsBrokerUserEvent       int
	CurrencyID              string
	FundMortgageRatio       float64
	BalanceAlgorithm        byte
}

type CThostFtdcBulletinField

type CThostFtdcBulletinField struct {
	ExchangeID  string
	TradingDay  string
	BulletinID  int
	SequenceNo  int
	NewsType    string
	NewsUrgency byte
	SendTime    string
	Abstract    string
	ComeFrom    string
	Content     string
	URLLink     string
	MarketID    string
}

type CThostFtdcCFMMCBrokerKeyField

type CThostFtdcCFMMCBrokerKeyField struct {
	BrokerID      string
	ParticipantID string
	CreateDate    string
	CreateTime    string
	KeyID         int
	CurrentKey    string
	KeyKind       byte
}

type CThostFtdcCFMMCTradingAccountKeyField

type CThostFtdcCFMMCTradingAccountKeyField struct {
	BrokerID      string
	ParticipantID string
	AccountID     string
	KeyID         int
	CurrentKey    string
}

type CThostFtdcCFMMCTradingAccountTokenField

type CThostFtdcCFMMCTradingAccountTokenField struct {
	BrokerID      string
	ParticipantID string
	AccountID     string
	KeyID         int
	Token         string
}

type CThostFtdcCancelAccountField

type CThostFtdcCancelAccountField struct {
	TradeCode          string
	BankID             string
	BankBranchID       string
	BrokerID           string
	BrokerBranchID     string
	TradeDate          string
	TradeTime          string
	BankSerial         string
	TradingDay         string
	PlateSerial        int
	LastFragment       byte
	SessionID          int
	CustomerName       string
	IdCardType         byte
	IdentifiedCardNo   string
	Gender             byte
	CountryCode        string
	CustType           byte
	Address            string
	ZipCode            string
	Telephone          string
	MobilePhone        string
	Fax                string
	EMail              string
	MoneyAccountStatus byte
	BankAccount        string
	BankPassWord       string
	AccountID          string
	Password           string
	InstallID          int
	VerifyCertNoFlag   byte
	CurrencyID         string
	CashExchangeCode   byte
	Digest             string
	BankAccType        byte
	DeviceID           string
	BankSecuAccType    byte
	BrokerIDByBank     string
	BankSecuAcc        string
	BankPwdFlag        byte
	SecuPwdFlag        byte
	OperNo             string
	TID                int
	UserID             string
	ErrorID            int
	ErrorMsg           string
	LongCustomerName   string
}

type CThostFtdcChangeAccountField

type CThostFtdcChangeAccountField struct {
	TradeCode          string
	BankID             string
	BankBranchID       string
	BrokerID           string
	BrokerBranchID     string
	TradeDate          string
	TradeTime          string
	BankSerial         string
	TradingDay         string
	PlateSerial        int
	LastFragment       byte
	SessionID          int
	CustomerName       string
	IdCardType         byte
	IdentifiedCardNo   string
	Gender             byte
	CountryCode        string
	CustType           byte
	Address            string
	ZipCode            string
	Telephone          string
	MobilePhone        string
	Fax                string
	EMail              string
	MoneyAccountStatus byte
	BankAccount        string
	BankPassWord       string
	NewBankAccount     string
	NewBankPassWord    string
	AccountID          string
	Password           string
	BankAccType        byte
	InstallID          int
	VerifyCertNoFlag   byte
	CurrencyID         string
	BrokerIDByBank     string
	BankPwdFlag        byte
	SecuPwdFlag        byte
	TID                int
	Digest             string
	ErrorID            int
	ErrorMsg           string
	LongCustomerName   string
}

type CThostFtdcCombActionField

type CThostFtdcCombActionField struct {
	BrokerID        string
	InvestorID      string
	InstrumentID    string
	CombActionRef   string
	UserID          string
	Direction       byte
	Volume          int
	CombDirection   byte
	HedgeFlag       byte
	ActionLocalID   string
	ExchangeID      string
	ParticipantID   string
	ClientID        string
	ExchangeInstID  string
	TraderID        string
	InstallID       int
	ActionStatus    byte
	NotifySequence  int
	TradingDay      string
	SettlementID    int
	SequenceNo      int
	FrontID         int
	SessionID       int
	UserProductInfo string
	StatusMsg       string
	IPAddress       string
	MacAddress      string
	ComTradeID      string
	BranchID        string
	InvestUnitID    string
}

type CThostFtdcCombInstrumentGuardField

type CThostFtdcCombInstrumentGuardField struct {
	BrokerID     string
	InstrumentID string
	GuarantRatio float64
	ExchangeID   string
}

type CThostFtdcCombinationLegField

type CThostFtdcCombinationLegField struct {
	CombInstrumentID string
	LegID            int
	LegInstrumentID  string
	Direction        byte
	LegMultiple      int
	ImplyLevel       int
}

type CThostFtdcCommPhaseField

type CThostFtdcCommPhaseField struct {
	TradingDay  string
	CommPhaseNo int16
	SystemID    string
}

type CThostFtdcCommRateModelField

type CThostFtdcCommRateModelField struct {
	BrokerID      string
	CommModelID   string
	CommModelName string
}

type CThostFtdcContractBankField

type CThostFtdcContractBankField struct {
	BrokerID   string
	BankID     string
	BankBrchID string
	BankName   string
}

type CThostFtdcCurrDRIdentityField

type CThostFtdcCurrDRIdentityField struct {
	DRIdentityID int
}

type CThostFtdcCurrTransferIdentityField

type CThostFtdcCurrTransferIdentityField struct {
	IdentityID int
}

type CThostFtdcCurrentTimeField

type CThostFtdcCurrentTimeField struct {
	CurrDate     string
	CurrTime     string
	CurrMillisec int
	ActionDay    string
}

type CThostFtdcDRTransferField

type CThostFtdcDRTransferField struct {
	OrigDRIdentityID int
	DestDRIdentityID int
	OrigBrokerID     string
	DestBrokerID     string
}

type CThostFtdcDepartmentUserField

type CThostFtdcDepartmentUserField struct {
	BrokerID      string
	UserID        string
	InvestorRange byte
	InvestorID    string
}

type CThostFtdcDepositResultInformField

type CThostFtdcDepositResultInformField struct {
	DepositSeqNo           string
	BrokerID               string
	InvestorID             string
	Deposit                float64
	RequestID              int
	ReturnCode             string
	DescrInfoForReturnCode string
}

type CThostFtdcDepthMarketDataField

type CThostFtdcDepthMarketDataField struct {
	TradingDay         string
	InstrumentID       string
	ExchangeID         string
	ExchangeInstID     string
	LastPrice          float64
	PreSettlementPrice float64
	PreClosePrice      float64
	PreOpenInterest    float64
	OpenPrice          float64
	HighestPrice       float64
	LowestPrice        float64
	Volume             int
	Turnover           float64
	OpenInterest       float64
	ClosePrice         float64
	SettlementPrice    float64
	UpperLimitPrice    float64
	LowerLimitPrice    float64
	PreDelta           float64
	CurrDelta          float64
	UpdateTime         string
	UpdateMillisec     int
	BidPrice1          float64
	BidVolume1         int
	AskPrice1          float64
	AskVolume1         int
	BidPrice2          float64
	BidVolume2         int
	AskPrice2          float64
	AskVolume2         int
	BidPrice3          float64
	BidVolume3         int
	AskPrice3          float64
	AskVolume3         int
	BidPrice4          float64
	BidVolume4         int
	AskPrice4          float64
	AskVolume4         int
	BidPrice5          float64
	BidVolume5         int
	AskPrice5          float64
	AskVolume5         int
	AveragePrice       float64
	ActionDay          string
}

type CThostFtdcDiscountField

type CThostFtdcDiscountField struct {
	BrokerID      string
	InvestorRange byte
	InvestorID    string
	Discount      float64
}

type CThostFtdcDisseminationField

type CThostFtdcDisseminationField struct {
	SequenceSeries int16
	SequenceNo     int
}

type CThostFtdcEWarrantOffsetField

type CThostFtdcEWarrantOffsetField struct {
	TradingDay   string
	BrokerID     string
	InvestorID   string
	ExchangeID   string
	InstrumentID string
	Direction    byte
	HedgeFlag    byte
	Volume       int
	InvestUnitID string
}

type CThostFtdcErrExecOrderActionField

type CThostFtdcErrExecOrderActionField struct {
	BrokerID           string
	InvestorID         string
	ExecOrderActionRef int
	ExecOrderRef       string
	RequestID          int
	FrontID            int
	SessionID          int
	ExchangeID         string
	ExecOrderSysID     string
	ActionFlag         byte
	UserID             string
	InstrumentID       string
	InvestUnitID       string
	IPAddress          string
	MacAddress         string
	ErrorID            int
	ErrorMsg           string
}

type CThostFtdcErrExecOrderField

type CThostFtdcErrExecOrderField struct {
	BrokerID            string
	InvestorID          string
	InstrumentID        string
	ExecOrderRef        string
	UserID              string
	Volume              int
	RequestID           int
	BusinessUnit        string
	OffsetFlag          byte
	HedgeFlag           byte
	ActionType          byte
	PosiDirection       byte
	ReservePositionFlag byte
	CloseFlag           byte
	ExchangeID          string
	InvestUnitID        string
	AccountID           string
	CurrencyID          string
	ClientID            string
	IPAddress           string
	MacAddress          string
	ErrorID             int
	ErrorMsg            string
}

type CThostFtdcErrOrderActionField

type CThostFtdcErrOrderActionField struct {
	BrokerID          string
	InvestorID        string
	OrderActionRef    int
	OrderRef          string
	RequestID         int
	FrontID           int
	SessionID         int
	ExchangeID        string
	OrderSysID        string
	ActionFlag        byte
	LimitPrice        float64
	VolumeChange      int
	ActionDate        string
	ActionTime        string
	TraderID          string
	InstallID         int
	OrderLocalID      string
	ActionLocalID     string
	ParticipantID     string
	ClientID          string
	BusinessUnit      string
	OrderActionStatus byte
	UserID            string
	StatusMsg         string
	InstrumentID      string
	BranchID          string
	InvestUnitID      string
	IPAddress         string
	MacAddress        string
	ErrorID           int
	ErrorMsg          string
}

type CThostFtdcErrOrderField

type CThostFtdcErrOrderField struct {
	BrokerID            string
	InvestorID          string
	InstrumentID        string
	OrderRef            string
	UserID              string
	OrderPriceType      byte
	Direction           byte
	CombOffsetFlag      string
	CombHedgeFlag       string
	LimitPrice          float64
	VolumeTotalOriginal int
	TimeCondition       byte
	GTDDate             string
	VolumeCondition     byte
	MinVolume           int
	ContingentCondition byte
	StopPrice           float64
	ForceCloseReason    byte
	IsAutoSuspend       int
	BusinessUnit        string
	RequestID           int
	UserForceClose      int
	ErrorID             int
	ErrorMsg            string
	IsSwapOrder         int
	ExchangeID          string
	InvestUnitID        string
	AccountID           string
	CurrencyID          string
	ClientID            string
	IPAddress           string
	MacAddress          string
}

type CThostFtdcErrorConditionalOrderField

type CThostFtdcErrorConditionalOrderField struct {
	BrokerID             string
	InvestorID           string
	InstrumentID         string
	OrderRef             string
	UserID               string
	OrderPriceType       byte
	Direction            byte
	CombOffsetFlag       string
	CombHedgeFlag        string
	LimitPrice           float64
	VolumeTotalOriginal  int
	TimeCondition        byte
	GTDDate              string
	VolumeCondition      byte
	MinVolume            int
	ContingentCondition  byte
	StopPrice            float64
	ForceCloseReason     byte
	IsAutoSuspend        int
	BusinessUnit         string
	RequestID            int
	OrderLocalID         string
	ExchangeID           string
	ParticipantID        string
	ClientID             string
	ExchangeInstID       string
	TraderID             string
	InstallID            int
	OrderSubmitStatus    byte
	NotifySequence       int
	TradingDay           string
	SettlementID         int
	OrderSysID           string
	OrderSource          byte
	OrderStatus          byte
	OrderType            byte
	VolumeTraded         int
	VolumeTotal          int
	InsertDate           string
	InsertTime           string
	ActiveTime           string
	SuspendTime          string
	UpdateTime           string
	CancelTime           string
	ActiveTraderID       string
	ClearingPartID       string
	SequenceNo           int
	FrontID              int
	SessionID            int
	UserProductInfo      string
	StatusMsg            string
	UserForceClose       int
	ActiveUserID         string
	BrokerOrderSeq       int
	RelativeOrderSysID   string
	ZCETotalTradedVolume int
	ErrorID              int
	ErrorMsg             string
	IsSwapOrder          int
	BranchID             string
	InvestUnitID         string
	AccountID            string
	CurrencyID           string
	IPAddress            string
	MacAddress           string
}

type CThostFtdcExchangeBatchOrderActionField

type CThostFtdcExchangeBatchOrderActionField struct {
	ExchangeID        string
	ActionDate        string
	ActionTime        string
	TraderID          string
	InstallID         int
	ActionLocalID     string
	ParticipantID     string
	ClientID          string
	BusinessUnit      string
	OrderActionStatus byte
	UserID            string
	IPAddress         string
	MacAddress        string
}

type CThostFtdcExchangeCombActionField

type CThostFtdcExchangeCombActionField struct {
	Direction      byte
	Volume         int
	CombDirection  byte
	HedgeFlag      byte
	ActionLocalID  string
	ExchangeID     string
	ParticipantID  string
	ClientID       string
	ExchangeInstID string
	TraderID       string
	InstallID      int
	ActionStatus   byte
	NotifySequence int
	TradingDay     string
	SettlementID   int
	SequenceNo     int
	IPAddress      string
	MacAddress     string
	ComTradeID     string
	BranchID       string
}

type CThostFtdcExchangeExecOrderActionField

type CThostFtdcExchangeExecOrderActionField struct {
	ExchangeID        string
	ExecOrderSysID    string
	ActionFlag        byte
	ActionDate        string
	ActionTime        string
	TraderID          string
	InstallID         int
	ExecOrderLocalID  string
	ActionLocalID     string
	ParticipantID     string
	ClientID          string
	BusinessUnit      string
	OrderActionStatus byte
	UserID            string
	ActionType        byte
	BranchID          string
	IPAddress         string
	MacAddress        string
	ExchangeInstID    string
	Volume            int
}

type CThostFtdcExchangeExecOrderField

type CThostFtdcExchangeExecOrderField struct {
	Volume              int
	RequestID           int
	BusinessUnit        string
	OffsetFlag          byte
	HedgeFlag           byte
	ActionType          byte
	PosiDirection       byte
	ReservePositionFlag byte
	CloseFlag           byte
	ExecOrderLocalID    string
	ExchangeID          string
	ParticipantID       string
	ClientID            string
	ExchangeInstID      string
	TraderID            string
	InstallID           int
	OrderSubmitStatus   byte
	NotifySequence      int
	TradingDay          string
	SettlementID        int
	ExecOrderSysID      string
	InsertDate          string
	InsertTime          string
	CancelTime          string
	ExecResult          byte
	ClearingPartID      string
	SequenceNo          int
	BranchID            string
	IPAddress           string
	MacAddress          string
}

type CThostFtdcExchangeField

type CThostFtdcExchangeField struct {
	ExchangeID       string
	ExchangeName     string
	ExchangeProperty byte
}

type CThostFtdcExchangeForQuoteField

type CThostFtdcExchangeForQuoteField struct {
	ForQuoteLocalID string
	ExchangeID      string
	ParticipantID   string
	ClientID        string
	ExchangeInstID  string
	TraderID        string
	InstallID       int
	InsertDate      string
	InsertTime      string
	ForQuoteStatus  byte
	IPAddress       string
	MacAddress      string
}

type CThostFtdcExchangeMarginRateAdjustField

type CThostFtdcExchangeMarginRateAdjustField struct {
	BrokerID                     string
	InstrumentID                 string
	HedgeFlag                    byte
	LongMarginRatioByMoney       float64
	LongMarginRatioByVolume      float64
	ShortMarginRatioByMoney      float64
	ShortMarginRatioByVolume     float64
	ExchLongMarginRatioByMoney   float64
	ExchLongMarginRatioByVolume  float64
	ExchShortMarginRatioByMoney  float64
	ExchShortMarginRatioByVolume float64
	NoLongMarginRatioByMoney     float64
	NoLongMarginRatioByVolume    float64
	NoShortMarginRatioByMoney    float64
	NoShortMarginRatioByVolume   float64
}

type CThostFtdcExchangeMarginRateField

type CThostFtdcExchangeMarginRateField struct {
	BrokerID                 string
	InstrumentID             string
	HedgeFlag                byte
	LongMarginRatioByMoney   float64
	LongMarginRatioByVolume  float64
	ShortMarginRatioByMoney  float64
	ShortMarginRatioByVolume float64
	ExchangeID               string
}

type CThostFtdcExchangeOptionSelfCloseActionField

type CThostFtdcExchangeOptionSelfCloseActionField struct {
	ExchangeID             string
	OptionSelfCloseSysID   string
	ActionFlag             byte
	ActionDate             string
	ActionTime             string
	TraderID               string
	InstallID              int
	OptionSelfCloseLocalID string
	ActionLocalID          string
	ParticipantID          string
	ClientID               string
	BusinessUnit           string
	OrderActionStatus      byte
	UserID                 string
	BranchID               string
	IPAddress              string
	MacAddress             string
	ExchangeInstID         string
	OptSelfCloseFlag       byte
}

type CThostFtdcExchangeOptionSelfCloseField

type CThostFtdcExchangeOptionSelfCloseField struct {
	Volume                 int
	RequestID              int
	BusinessUnit           string
	HedgeFlag              byte
	OptSelfCloseFlag       byte
	OptionSelfCloseLocalID string
	ExchangeID             string
	ParticipantID          string
	ClientID               string
	ExchangeInstID         string
	TraderID               string
	InstallID              int
	OrderSubmitStatus      byte
	NotifySequence         int
	TradingDay             string
	SettlementID           int
	OptionSelfCloseSysID   string
	InsertDate             string
	InsertTime             string
	CancelTime             string
	ExecResult             byte
	ClearingPartID         string
	SequenceNo             int
	BranchID               string
	IPAddress              string
	MacAddress             string
}

type CThostFtdcExchangeOrderActionErrorField

type CThostFtdcExchangeOrderActionErrorField struct {
	ExchangeID    string
	OrderSysID    string
	TraderID      string
	InstallID     int
	OrderLocalID  string
	ActionLocalID string
	ErrorID       int
	ErrorMsg      string
}

type CThostFtdcExchangeOrderActionField

type CThostFtdcExchangeOrderActionField struct {
	ExchangeID        string
	OrderSysID        string
	ActionFlag        byte
	LimitPrice        float64
	VolumeChange      int
	ActionDate        string
	ActionTime        string
	TraderID          string
	InstallID         int
	OrderLocalID      string
	ActionLocalID     string
	ParticipantID     string
	ClientID          string
	BusinessUnit      string
	OrderActionStatus byte
	UserID            string
	BranchID          string
	IPAddress         string
	MacAddress        string
}

type CThostFtdcExchangeOrderField

type CThostFtdcExchangeOrderField struct {
	OrderPriceType      byte
	Direction           byte
	CombOffsetFlag      string
	CombHedgeFlag       string
	LimitPrice          float64
	VolumeTotalOriginal int
	TimeCondition       byte
	GTDDate             string
	VolumeCondition     byte
	MinVolume           int
	ContingentCondition byte
	StopPrice           float64
	ForceCloseReason    byte
	IsAutoSuspend       int
	BusinessUnit        string
	RequestID           int
	OrderLocalID        string
	ExchangeID          string
	ParticipantID       string
	ClientID            string
	ExchangeInstID      string
	TraderID            string
	InstallID           int
	OrderSubmitStatus   byte
	NotifySequence      int
	TradingDay          string
	SettlementID        int
	OrderSysID          string
	OrderSource         byte
	OrderStatus         byte
	OrderType           byte
	VolumeTraded        int
	VolumeTotal         int
	InsertDate          string
	InsertTime          string
	ActiveTime          string
	SuspendTime         string
	UpdateTime          string
	CancelTime          string
	ActiveTraderID      string
	ClearingPartID      string
	SequenceNo          int
	BranchID            string
	IPAddress           string
	MacAddress          string
}

type CThostFtdcExchangeOrderInsertErrorField

type CThostFtdcExchangeOrderInsertErrorField struct {
	ExchangeID    string
	ParticipantID string
	TraderID      string
	InstallID     int
	OrderLocalID  string
	ErrorID       int
	ErrorMsg      string
}

type CThostFtdcExchangeQuoteActionField

type CThostFtdcExchangeQuoteActionField struct {
	ExchangeID        string
	QuoteSysID        string
	ActionFlag        byte
	ActionDate        string
	ActionTime        string
	TraderID          string
	InstallID         int
	QuoteLocalID      string
	ActionLocalID     string
	ParticipantID     string
	ClientID          string
	BusinessUnit      string
	OrderActionStatus byte
	UserID            string
	IPAddress         string
	MacAddress        string
}

type CThostFtdcExchangeQuoteField

type CThostFtdcExchangeQuoteField struct {
	AskPrice          float64
	BidPrice          float64
	AskVolume         int
	BidVolume         int
	RequestID         int
	BusinessUnit      string
	AskOffsetFlag     byte
	BidOffsetFlag     byte
	AskHedgeFlag      byte
	BidHedgeFlag      byte
	QuoteLocalID      string
	ExchangeID        string
	ParticipantID     string
	ClientID          string
	ExchangeInstID    string
	TraderID          string
	InstallID         int
	NotifySequence    int
	OrderSubmitStatus byte
	TradingDay        string
	SettlementID      int
	QuoteSysID        string
	InsertDate        string
	InsertTime        string
	CancelTime        string
	QuoteStatus       byte
	ClearingPartID    string
	SequenceNo        int
	AskOrderSysID     string
	BidOrderSysID     string
	ForQuoteSysID     string
	BranchID          string
	IPAddress         string
	MacAddress        string
}

type CThostFtdcExchangeRateField

type CThostFtdcExchangeRateField struct {
	BrokerID         string
	FromCurrencyID   string
	FromCurrencyUnit float64
	ToCurrencyID     string
	ExchangeRate     float64
}

type CThostFtdcExchangeSequenceField

type CThostFtdcExchangeSequenceField struct {
	ExchangeID   string
	SequenceNo   int
	MarketStatus byte
}

type CThostFtdcExchangeTradeField

type CThostFtdcExchangeTradeField struct {
	ExchangeID     string
	TradeID        string
	Direction      byte
	OrderSysID     string
	ParticipantID  string
	ClientID       string
	TradingRole    byte
	ExchangeInstID string
	OffsetFlag     byte
	HedgeFlag      byte
	Price          float64
	Volume         int
	TradeDate      string
	TradeTime      string
	TradeType      byte
	PriceSource    byte
	TraderID       string
	OrderLocalID   string
	ClearingPartID string
	BusinessUnit   string
	SequenceNo     int
	TradeSource    byte
}

type CThostFtdcExecOrderActionField

type CThostFtdcExecOrderActionField struct {
	BrokerID           string
	InvestorID         string
	ExecOrderActionRef int
	ExecOrderRef       string
	RequestID          int
	FrontID            int
	SessionID          int
	ExchangeID         string
	ExecOrderSysID     string
	ActionFlag         byte
	ActionDate         string
	ActionTime         string
	TraderID           string
	InstallID          int
	ExecOrderLocalID   string
	ActionLocalID      string
	ParticipantID      string
	ClientID           string
	BusinessUnit       string
	OrderActionStatus  byte
	UserID             string
	ActionType         byte
	StatusMsg          string
	InstrumentID       string
	BranchID           string
	InvestUnitID       string
	IPAddress          string
	MacAddress         string
}

type CThostFtdcExecOrderField

type CThostFtdcExecOrderField struct {
	BrokerID            string
	InvestorID          string
	InstrumentID        string
	ExecOrderRef        string
	UserID              string
	Volume              int
	RequestID           int
	BusinessUnit        string
	OffsetFlag          byte
	HedgeFlag           byte
	ActionType          byte
	PosiDirection       byte
	ReservePositionFlag byte
	CloseFlag           byte
	ExecOrderLocalID    string
	ExchangeID          string
	ParticipantID       string
	ClientID            string
	ExchangeInstID      string
	TraderID            string
	InstallID           int
	OrderSubmitStatus   byte
	NotifySequence      int
	TradingDay          string
	SettlementID        int
	ExecOrderSysID      string
	InsertDate          string
	InsertTime          string
	CancelTime          string
	ExecResult          byte
	ClearingPartID      string
	SequenceNo          int
	FrontID             int
	SessionID           int
	UserProductInfo     string
	StatusMsg           string
	ActiveUserID        string
	BrokerExecOrderSeq  int
	BranchID            string
	InvestUnitID        string
	AccountID           string
	CurrencyID          string
	IPAddress           string
	MacAddress          string
}

type CThostFtdcFensUserInfoField

type CThostFtdcFensUserInfoField struct {
	BrokerID  string
	UserID    string
	LoginMode byte
}

type CThostFtdcForQuoteField

type CThostFtdcForQuoteField struct {
	BrokerID         string
	InvestorID       string
	InstrumentID     string
	ForQuoteRef      string
	UserID           string
	ForQuoteLocalID  string
	ExchangeID       string
	ParticipantID    string
	ClientID         string
	ExchangeInstID   string
	TraderID         string
	InstallID        int
	InsertDate       string
	InsertTime       string
	ForQuoteStatus   byte
	FrontID          int
	SessionID        int
	StatusMsg        string
	ActiveUserID     string
	BrokerForQutoSeq int
	InvestUnitID     string
	IPAddress        string
	MacAddress       string
}

type CThostFtdcForQuoteParamField

type CThostFtdcForQuoteParamField struct {
	BrokerID      string
	InstrumentID  string
	ExchangeID    string
	LastPrice     float64
	PriceInterval float64
}

type CThostFtdcForQuoteRspField

type CThostFtdcForQuoteRspField struct {
	TradingDay    string
	InstrumentID  string
	ForQuoteSysID string
	ForQuoteTime  string
	ActionDay     string
	ExchangeID    string
}

type CThostFtdcForceUserLogoutField

type CThostFtdcForceUserLogoutField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcFrontStatusField

type CThostFtdcFrontStatusField struct {
	FrontID        int
	LastReportDate string
	LastReportTime string
	IsActive       int
}

type CThostFtdcFutureLimitPosiParamField

type CThostFtdcFutureLimitPosiParamField struct {
	InvestorRange  byte
	BrokerID       string
	InvestorID     string
	ProductID      string
	SpecOpenVolume int
	ArbiOpenVolume int
	OpenVolume     int
}

type CThostFtdcFutureSignIOField

type CThostFtdcFutureSignIOField struct {
	TradeCode      string
	BankID         string
	BankBranchID   string
	BrokerID       string
	BrokerBranchID string
	TradeDate      string
	TradeTime      string
	BankSerial     string
	TradingDay     string
	PlateSerial    int
	LastFragment   byte
	SessionID      int
	InstallID      int
	UserID         string
	Digest         string
	CurrencyID     string
	DeviceID       string
	BrokerIDByBank string
	OperNo         string
	RequestID      int
	TID            int
}

type CThostFtdcIPListField

type CThostFtdcIPListField struct {
	IPAddress string
	IsWhite   int
}

func NewCThostFtdcIPListField

func NewCThostFtdcIPListField(p *C.CThostFtdcIPListField) *CThostFtdcIPListField

type CThostFtdcIndexPriceField

type CThostFtdcIndexPriceField struct {
	BrokerID     string
	InstrumentID string
	ClosePrice   float64
}

type CThostFtdcInputBatchOrderActionField

type CThostFtdcInputBatchOrderActionField struct {
	BrokerID       string
	InvestorID     string
	OrderActionRef int
	RequestID      int
	FrontID        int
	SessionID      int
	ExchangeID     string
	UserID         string
	InvestUnitID   string
	IPAddress      string
	MacAddress     string
}

type CThostFtdcInputCombActionField

type CThostFtdcInputCombActionField struct {
	BrokerID      string
	InvestorID    string
	InstrumentID  string
	CombActionRef string
	UserID        string
	Direction     byte
	Volume        int
	CombDirection byte
	HedgeFlag     byte
	ExchangeID    string
	IPAddress     string
	MacAddress    string
	InvestUnitID  string
	FrontID       int
	SessionID     int
}

type CThostFtdcInputExecOrderActionField

type CThostFtdcInputExecOrderActionField struct {
	BrokerID           string
	InvestorID         string
	ExecOrderActionRef int
	ExecOrderRef       string
	RequestID          int
	FrontID            int
	SessionID          int
	ExchangeID         string
	ExecOrderSysID     string
	ActionFlag         byte
	UserID             string
	InstrumentID       string
	InvestUnitID       string
	IPAddress          string
	MacAddress         string
}

type CThostFtdcInputExecOrderField

type CThostFtdcInputExecOrderField struct {
	BrokerID            string
	InvestorID          string
	InstrumentID        string
	ExecOrderRef        string
	UserID              string
	Volume              int
	RequestID           int
	BusinessUnit        string
	OffsetFlag          byte
	HedgeFlag           byte
	ActionType          byte
	PosiDirection       byte
	ReservePositionFlag byte
	CloseFlag           byte
	ExchangeID          string
	InvestUnitID        string
	AccountID           string
	CurrencyID          string
	ClientID            string
	IPAddress           string
	MacAddress          string
}

type CThostFtdcInputForQuoteField

type CThostFtdcInputForQuoteField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ForQuoteRef  string
	UserID       string
	ExchangeID   string
	InvestUnitID string
	IPAddress    string
	MacAddress   string
}

type CThostFtdcInputOptionSelfCloseActionField

type CThostFtdcInputOptionSelfCloseActionField struct {
	BrokerID                 string
	InvestorID               string
	OptionSelfCloseActionRef int
	OptionSelfCloseRef       string
	RequestID                int
	FrontID                  int
	SessionID                int
	ExchangeID               string
	OptionSelfCloseSysID     string
	ActionFlag               byte
	UserID                   string
	InstrumentID             string
	InvestUnitID             string
	IPAddress                string
	MacAddress               string
}

type CThostFtdcInputOptionSelfCloseField

type CThostFtdcInputOptionSelfCloseField struct {
	BrokerID           string
	InvestorID         string
	InstrumentID       string
	OptionSelfCloseRef string
	UserID             string
	Volume             int
	RequestID          int
	BusinessUnit       string
	HedgeFlag          byte
	OptSelfCloseFlag   byte
	ExchangeID         string
	InvestUnitID       string
	AccountID          string
	CurrencyID         string
	ClientID           string
	IPAddress          string
	MacAddress         string
}

type CThostFtdcInputOrderActionField

type CThostFtdcInputOrderActionField struct {
	BrokerID       string
	InvestorID     string
	OrderActionRef int
	OrderRef       string
	RequestID      int
	FrontID        int
	SessionID      int
	ExchangeID     string
	OrderSysID     string
	ActionFlag     byte
	LimitPrice     float64
	VolumeChange   int
	UserID         string
	InstrumentID   string
	InvestUnitID   string
	IPAddress      string
	MacAddress     string
}

type CThostFtdcInputOrderField

type CThostFtdcInputOrderField struct {
	BrokerID            string
	InvestorID          string
	InstrumentID        string
	OrderRef            string
	UserID              string
	OrderPriceType      byte
	Direction           byte
	CombOffsetFlag      string
	CombHedgeFlag       string
	LimitPrice          float64
	VolumeTotalOriginal int
	TimeCondition       byte
	GTDDate             string
	VolumeCondition     byte
	MinVolume           int
	ContingentCondition byte
	StopPrice           float64
	ForceCloseReason    byte
	IsAutoSuspend       int
	BusinessUnit        string
	RequestID           int
	UserForceClose      int
	IsSwapOrder         int
	ExchangeID          string
	InvestUnitID        string
	AccountID           string
	CurrencyID          string
	ClientID            string
	IPAddress           string
	MacAddress          string
}

type CThostFtdcInputQuoteActionField

type CThostFtdcInputQuoteActionField struct {
	BrokerID       string
	InvestorID     string
	QuoteActionRef int
	QuoteRef       string
	RequestID      int
	FrontID        int
	SessionID      int
	ExchangeID     string
	QuoteSysID     string
	ActionFlag     byte
	UserID         string
	InstrumentID   string
	InvestUnitID   string
	ClientID       string
	IPAddress      string
	MacAddress     string
}

type CThostFtdcInputQuoteField

type CThostFtdcInputQuoteField struct {
	BrokerID      string
	InvestorID    string
	InstrumentID  string
	QuoteRef      string
	UserID        string
	AskPrice      float64
	BidPrice      float64
	AskVolume     int
	BidVolume     int
	RequestID     int
	BusinessUnit  string
	AskOffsetFlag byte
	BidOffsetFlag byte
	AskHedgeFlag  byte
	BidHedgeFlag  byte
	AskOrderRef   string
	BidOrderRef   string
	ForQuoteSysID string
	ExchangeID    string
	InvestUnitID  string
	ClientID      string
	IPAddress     string
	MacAddress    string
}

type CThostFtdcInstrumentCommissionRateField

type CThostFtdcInstrumentCommissionRateField struct {
	InstrumentID            string
	InvestorRange           byte
	BrokerID                string
	InvestorID              string
	OpenRatioByMoney        float64
	OpenRatioByVolume       float64
	CloseRatioByMoney       float64
	CloseRatioByVolume      float64
	CloseTodayRatioByMoney  float64
	CloseTodayRatioByVolume float64
	ExchangeID              string
	BizType                 byte
	InvestUnitID            string
}

type CThostFtdcInstrumentField

type CThostFtdcInstrumentField struct {
	InstrumentID           string
	ExchangeID             string
	InstrumentName         string
	ExchangeInstID         string
	ProductID              string
	ProductClass           byte
	DeliveryYear           int
	DeliveryMonth          int
	MaxMarketOrderVolume   int
	MinMarketOrderVolume   int
	MaxLimitOrderVolume    int
	MinLimitOrderVolume    int
	VolumeMultiple         int
	PriceTick              float64
	CreateDate             string
	OpenDate               string
	ExpireDate             string
	StartDelivDate         string
	EndDelivDate           string
	InstLifePhase          byte
	IsTrading              int
	PositionType           byte
	PositionDateType       byte
	LongMarginRatio        float64
	ShortMarginRatio       float64
	MaxMarginSideAlgorithm byte
	UnderlyingInstrID      string
	StrikePrice            float64
	OptionsType            byte
	UnderlyingMultiple     float64
	CombinationType        byte
}

type CThostFtdcInstrumentMarginRateAdjustField

type CThostFtdcInstrumentMarginRateAdjustField struct {
	InstrumentID             string
	InvestorRange            byte
	BrokerID                 string
	InvestorID               string
	HedgeFlag                byte
	LongMarginRatioByMoney   float64
	LongMarginRatioByVolume  float64
	ShortMarginRatioByMoney  float64
	ShortMarginRatioByVolume float64
	IsRelative               int
}

type CThostFtdcInstrumentMarginRateField

type CThostFtdcInstrumentMarginRateField struct {
	InstrumentID             string
	InvestorRange            byte
	BrokerID                 string
	InvestorID               string
	HedgeFlag                byte
	LongMarginRatioByMoney   float64
	LongMarginRatioByVolume  float64
	ShortMarginRatioByMoney  float64
	ShortMarginRatioByVolume float64
	IsRelative               int
	ExchangeID               string
	InvestUnitID             string
}

type CThostFtdcInstrumentMarginRateULField

type CThostFtdcInstrumentMarginRateULField struct {
	InstrumentID             string
	InvestorRange            byte
	BrokerID                 string
	InvestorID               string
	HedgeFlag                byte
	LongMarginRatioByMoney   float64
	LongMarginRatioByVolume  float64
	ShortMarginRatioByMoney  float64
	ShortMarginRatioByVolume float64
}

type CThostFtdcInstrumentOrderCommRateField

type CThostFtdcInstrumentOrderCommRateField struct {
	InstrumentID            string
	InvestorRange           byte
	BrokerID                string
	InvestorID              string
	HedgeFlag               byte
	OrderCommByVolume       float64
	OrderActionCommByVolume float64
	ExchangeID              string
	InvestUnitID            string
}

type CThostFtdcInstrumentStatusField

type CThostFtdcInstrumentStatusField struct {
	ExchangeID        string
	ExchangeInstID    string
	SettlementGroupID string
	InstrumentID      string
	InstrumentStatus  byte
	TradingSegmentSN  int
	EnterTime         string
	EnterReason       byte
}

type CThostFtdcInstrumentTradingRightField

type CThostFtdcInstrumentTradingRightField struct {
	InstrumentID  string
	InvestorRange byte
	BrokerID      string
	InvestorID    string
	TradingRight  byte
}

type CThostFtdcInvestUnitField

type CThostFtdcInvestUnitField struct {
	BrokerID         string
	InvestorID       string
	InvestUnitID     string
	InvestorUnitName string
	InvestorGroupID  string
	CommModelID      string
	MarginModelID    string
	AccountID        string
	CurrencyID       string
}

type CThostFtdcInvestorAccountField

type CThostFtdcInvestorAccountField struct {
	BrokerID   string
	InvestorID string
	AccountID  string
	CurrencyID string
}

type CThostFtdcInvestorField

type CThostFtdcInvestorField struct {
	InvestorID         string
	BrokerID           string
	InvestorGroupID    string
	InvestorName       string
	IdentifiedCardType byte
	IdentifiedCardNo   string
	IsActive           int
	Telephone          string
	Address            string
	OpenDate           string
	Mobile             string
	CommModelID        string
	MarginModelID      string
}

type CThostFtdcInvestorGroupField

type CThostFtdcInvestorGroupField struct {
	BrokerID          string
	InvestorGroupID   string
	InvestorGroupName string
}

type CThostFtdcInvestorPositionCombineDetailField

type CThostFtdcInvestorPositionCombineDetailField struct {
	TradingDay         string
	OpenDate           string
	ExchangeID         string
	SettlementID       int
	BrokerID           string
	InvestorID         string
	ComTradeID         string
	TradeID            string
	InstrumentID       string
	HedgeFlag          byte
	Direction          byte
	TotalAmt           int
	Margin             float64
	ExchMargin         float64
	MarginRateByMoney  float64
	MarginRateByVolume float64
	LegID              int
	LegMultiple        int
	CombInstrumentID   string
	TradeGroupID       int
	InvestUnitID       string
}

type CThostFtdcInvestorPositionDetailField

type CThostFtdcInvestorPositionDetailField struct {
	InstrumentID          string
	BrokerID              string
	InvestorID            string
	HedgeFlag             byte
	Direction             byte
	OpenDate              string
	TradeID               string
	Volume                int
	OpenPrice             float64
	TradingDay            string
	SettlementID          int
	TradeType             byte
	CombInstrumentID      string
	ExchangeID            string
	CloseProfitByDate     float64
	CloseProfitByTrade    float64
	PositionProfitByDate  float64
	PositionProfitByTrade float64
	Margin                float64
	ExchMargin            float64
	MarginRateByMoney     float64
	MarginRateByVolume    float64
	LastSettlementPrice   float64
	SettlementPrice       float64
	CloseVolume           int
	CloseAmount           float64
	TimeFirstVolume       int
	InvestUnitID          string
	SpecPosiType          byte
}

type CThostFtdcInvestorPositionField

type CThostFtdcInvestorPositionField struct {
	InstrumentID       string
	BrokerID           string
	InvestorID         string
	PosiDirection      byte
	HedgeFlag          byte
	PositionDate       byte
	YdPosition         int
	Position           int
	LongFrozen         int
	ShortFrozen        int
	LongFrozenAmount   float64
	ShortFrozenAmount  float64
	OpenVolume         int
	CloseVolume        int
	OpenAmount         float64
	CloseAmount        float64
	PositionCost       float64
	PreMargin          float64
	UseMargin          float64
	FrozenMargin       float64
	FrozenCash         float64
	FrozenCommission   float64
	CashIn             float64
	Commission         float64
	CloseProfit        float64
	PositionProfit     float64
	PreSettlementPrice float64
	SettlementPrice    float64
	TradingDay         string
	SettlementID       int
	OpenCost           float64
	ExchangeMargin     float64
	CombPosition       int
	CombLongFrozen     int
	CombShortFrozen    int
	CloseProfitByDate  float64
	CloseProfitByTrade float64
	TodayPosition      int
	MarginRateByMoney  float64
	MarginRateByVolume float64
	StrikeFrozen       int
	StrikeFrozenAmount float64
	AbandonFrozen      int
	ExchangeID         string
	YdStrikeFrozen     int
	InvestUnitID       string
	PositionCostOffset float64
	TasPosition        int
	TasPositionCost    float64
}

type CThostFtdcInvestorProductGroupMarginField

type CThostFtdcInvestorProductGroupMarginField struct {
	ProductGroupID        string
	BrokerID              string
	InvestorID            string
	TradingDay            string
	SettlementID          int
	FrozenMargin          float64
	LongFrozenMargin      float64
	ShortFrozenMargin     float64
	UseMargin             float64
	LongUseMargin         float64
	ShortUseMargin        float64
	ExchMargin            float64
	LongExchMargin        float64
	ShortExchMargin       float64
	CloseProfit           float64
	FrozenCommission      float64
	Commission            float64
	FrozenCash            float64
	CashIn                float64
	PositionProfit        float64
	OffsetAmount          float64
	LongOffsetAmount      float64
	ShortOffsetAmount     float64
	ExchOffsetAmount      float64
	LongExchOffsetAmount  float64
	ShortExchOffsetAmount float64
	HedgeFlag             byte
	ExchangeID            string
	InvestUnitID          string
}

type CThostFtdcInvestorWithdrawAlgorithmField

type CThostFtdcInvestorWithdrawAlgorithmField struct {
	BrokerID          string
	InvestorRange     byte
	InvestorID        string
	UsingRatio        float64
	CurrencyID        string
	FundMortgageRatio float64
}

type CThostFtdcLinkManField

type CThostFtdcLinkManField struct {
	BrokerID           string
	InvestorID         string
	PersonType         byte
	IdentifiedCardType byte
	IdentifiedCardNo   string
	PersonName         string
	Telephone          string
	Address            string
	ZipCode            string
	Priority           int
	UOAZipCode         string
	PersonFullName     string
}

type CThostFtdcLoadSettlementInfoField

type CThostFtdcLoadSettlementInfoField struct {
	BrokerID string
}

type CThostFtdcLoginForbiddenIPField

type CThostFtdcLoginForbiddenIPField struct {
	IPAddress string
}

type CThostFtdcLoginForbiddenUserField

type CThostFtdcLoginForbiddenUserField struct {
	BrokerID  string
	UserID    string
	IPAddress string
}

type CThostFtdcLoginInfoField

type CThostFtdcLoginInfoField struct {
	FrontID              int
	SessionID            int
	BrokerID             string
	UserID               string
	LoginDate            string
	LoginTime            string
	IPAddress            string
	UserProductInfo      string
	InterfaceProductInfo string
	ProtocolInfo         string
	SystemName           string
	PasswordDeprecated   string
	MaxOrderRef          string
	SHFETime             string
	DCETime              string
	CZCETime             string
	FFEXTime             string
	MacAddress           string
	OneTimePassword      string
	INETime              string
	IsQryControl         int
	LoginRemark          string
	Password             string
}

type CThostFtdcLogoutAllField

type CThostFtdcLogoutAllField struct {
	FrontID    int
	SessionID  int
	SystemName string
}

type CThostFtdcMDTraderOfferField

type CThostFtdcMDTraderOfferField struct {
	ExchangeID               string
	TraderID                 string
	ParticipantID            string
	Password                 string
	InstallID                int
	OrderLocalID             string
	TraderConnectStatus      byte
	ConnectRequestDate       string
	ConnectRequestTime       string
	LastReportDate           string
	LastReportTime           string
	ConnectDate              string
	ConnectTime              string
	StartDate                string
	StartTime                string
	TradingDay               string
	BrokerID                 string
	MaxTradeID               string
	MaxOrderMessageReference string
}

type CThostFtdcMMInstrumentCommissionRateField

type CThostFtdcMMInstrumentCommissionRateField struct {
	InstrumentID            string
	InvestorRange           byte
	BrokerID                string
	InvestorID              string
	OpenRatioByMoney        float64
	OpenRatioByVolume       float64
	CloseRatioByMoney       float64
	CloseRatioByVolume      float64
	CloseTodayRatioByMoney  float64
	CloseTodayRatioByVolume float64
}

type CThostFtdcMMOptionInstrCommRateField

type CThostFtdcMMOptionInstrCommRateField struct {
	InstrumentID            string
	InvestorRange           byte
	BrokerID                string
	InvestorID              string
	OpenRatioByMoney        float64
	OpenRatioByVolume       float64
	CloseRatioByMoney       float64
	CloseRatioByVolume      float64
	CloseTodayRatioByMoney  float64
	CloseTodayRatioByVolume float64
	StrikeRatioByMoney      float64
	StrikeRatioByVolume     float64
}

type CThostFtdcManualSyncBrokerUserOTPField

type CThostFtdcManualSyncBrokerUserOTPField struct {
	BrokerID  string
	UserID    string
	OTPType   byte
	FirstOTP  string
	SecondOTP string
}

type CThostFtdcMarginModelField

type CThostFtdcMarginModelField struct {
	BrokerID        string
	MarginModelID   string
	MarginModelName string
}

type CThostFtdcMarketDataAsk23Field

type CThostFtdcMarketDataAsk23Field struct {
	AskPrice2  float64
	AskVolume2 int
	AskPrice3  float64
	AskVolume3 int
}

type CThostFtdcMarketDataAsk45Field

type CThostFtdcMarketDataAsk45Field struct {
	AskPrice4  float64
	AskVolume4 int
	AskPrice5  float64
	AskVolume5 int
}

type CThostFtdcMarketDataAveragePriceField

type CThostFtdcMarketDataAveragePriceField struct {
	AveragePrice float64
}

type CThostFtdcMarketDataBaseField

type CThostFtdcMarketDataBaseField struct {
	TradingDay         string
	PreSettlementPrice float64
	PreClosePrice      float64
	PreOpenInterest    float64
	PreDelta           float64
}

type CThostFtdcMarketDataBestPriceField

type CThostFtdcMarketDataBestPriceField struct {
	BidPrice1  float64
	BidVolume1 int
	AskPrice1  float64
	AskVolume1 int
}

type CThostFtdcMarketDataBid23Field

type CThostFtdcMarketDataBid23Field struct {
	BidPrice2  float64
	BidVolume2 int
	BidPrice3  float64
	BidVolume3 int
}

type CThostFtdcMarketDataBid45Field

type CThostFtdcMarketDataBid45Field struct {
	BidPrice4  float64
	BidVolume4 int
	BidPrice5  float64
	BidVolume5 int
}

type CThostFtdcMarketDataExchangeField

type CThostFtdcMarketDataExchangeField struct {
	ExchangeID string
}

type CThostFtdcMarketDataField

type CThostFtdcMarketDataField struct {
	TradingDay         string
	InstrumentID       string
	ExchangeID         string
	ExchangeInstID     string
	LastPrice          float64
	PreSettlementPrice float64
	PreClosePrice      float64
	PreOpenInterest    float64
	OpenPrice          float64
	HighestPrice       float64
	LowestPrice        float64
	Volume             int
	Turnover           float64
	OpenInterest       float64
	ClosePrice         float64
	SettlementPrice    float64
	UpperLimitPrice    float64
	LowerLimitPrice    float64
	PreDelta           float64
	CurrDelta          float64
	UpdateTime         string
	UpdateMillisec     int
	ActionDay          string
}

type CThostFtdcMarketDataLastMatchField

type CThostFtdcMarketDataLastMatchField struct {
	LastPrice    float64
	Volume       int
	Turnover     float64
	OpenInterest float64
}

type CThostFtdcMarketDataStaticField

type CThostFtdcMarketDataStaticField struct {
	OpenPrice       float64
	HighestPrice    float64
	LowestPrice     float64
	ClosePrice      float64
	UpperLimitPrice float64
	LowerLimitPrice float64
	SettlementPrice float64
	CurrDelta       float64
}

type CThostFtdcMarketDataUpdateTimeField

type CThostFtdcMarketDataUpdateTimeField struct {
	InstrumentID   string
	UpdateTime     string
	UpdateMillisec int
	ActionDay      string
}

type CThostFtdcMdApi

type CThostFtdcMdApi struct {
	// contains filtered or unexported fields
}

func MdCreateFtdcMdApi

func MdCreateFtdcMdApi(pszFlowPath string, bIsUsingUdp bool, bIsMulticast bool) *CThostFtdcMdApi

func (*CThostFtdcMdApi) GetTradingDay

func (a *CThostFtdcMdApi) GetTradingDay() string

func (*CThostFtdcMdApi) Init

func (a *CThostFtdcMdApi) Init()

func (*CThostFtdcMdApi) Join

func (a *CThostFtdcMdApi) Join() int

func (*CThostFtdcMdApi) RegisterFensUserInfo

func (a *CThostFtdcMdApi) RegisterFensUserInfo(pFensUserInfo *CThostFtdcFensUserInfoField)

func (*CThostFtdcMdApi) RegisterFront

func (a *CThostFtdcMdApi) RegisterFront(pszFrontAddress string)

func (*CThostFtdcMdApi) RegisterNameServer

func (a *CThostFtdcMdApi) RegisterNameServer(pszNsAddress string)

func (*CThostFtdcMdApi) RegisterSpi

func (a *CThostFtdcMdApi) RegisterSpi(pSpi CThostFtdcMdSpi)

func (*CThostFtdcMdApi) Release

func (a *CThostFtdcMdApi) Release()

func (*CThostFtdcMdApi) ReqQryMulticastInstrument

func (a *CThostFtdcMdApi) ReqQryMulticastInstrument(pQryMulticastInstrument *CThostFtdcQryMulticastInstrumentField, nRequestID int) int

func (*CThostFtdcMdApi) ReqUserLogin

func (a *CThostFtdcMdApi) ReqUserLogin(pReqUserLoginField *CThostFtdcReqUserLoginField, nRequestID int) int

func (*CThostFtdcMdApi) ReqUserLogout

func (a *CThostFtdcMdApi) ReqUserLogout(pUserLogout *CThostFtdcUserLogoutField, nRequestID int) int

func (*CThostFtdcMdApi) SubscribeForQuoteRsp

func (a *CThostFtdcMdApi) SubscribeForQuoteRsp(strs []string) int

func (*CThostFtdcMdApi) SubscribeMarketData

func (a *CThostFtdcMdApi) SubscribeMarketData(strs []string) int

func (*CThostFtdcMdApi) UnSubscribeForQuoteRsp

func (a *CThostFtdcMdApi) UnSubscribeForQuoteRsp(strs []string) int

func (*CThostFtdcMdApi) UnSubscribeMarketData

func (a *CThostFtdcMdApi) UnSubscribeMarketData(strs []string) int

type CThostFtdcMdSpi

type CThostFtdcMdSpi interface {
	OnFrontConnected()
	OnFrontDisconnected(nReason int)
	OnHeartBeatWarning(nTimeLapse int)
	OnRspUserLogin(pRspUserLogin *CThostFtdcRspUserLoginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspUserLogout(pUserLogout *CThostFtdcUserLogoutField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryMulticastInstrument(pMulticastInstrument *CThostFtdcMulticastInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspError(pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspSubMarketData(pSpecificInstrument *CThostFtdcSpecificInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspUnSubMarketData(pSpecificInstrument *CThostFtdcSpecificInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspSubForQuoteRsp(pSpecificInstrument *CThostFtdcSpecificInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspUnSubForQuoteRsp(pSpecificInstrument *CThostFtdcSpecificInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRtnDepthMarketData(pDepthMarketData *CThostFtdcDepthMarketDataField)
	OnRtnForQuoteRsp(pForQuoteRsp *CThostFtdcForQuoteRspField)
}

type CThostFtdcMdSpiBase

type CThostFtdcMdSpiBase struct {
}

func (*CThostFtdcMdSpiBase) OnFrontConnected

func (b *CThostFtdcMdSpiBase) OnFrontConnected()

func (*CThostFtdcMdSpiBase) OnFrontDisconnected

func (b *CThostFtdcMdSpiBase) OnFrontDisconnected(nReason int)

func (*CThostFtdcMdSpiBase) OnHeartBeatWarning

func (b *CThostFtdcMdSpiBase) OnHeartBeatWarning(nTimeLapse int)

func (*CThostFtdcMdSpiBase) OnRspError

func (b *CThostFtdcMdSpiBase) OnRspError(pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcMdSpiBase) OnRspQryMulticastInstrument

func (b *CThostFtdcMdSpiBase) OnRspQryMulticastInstrument(pMulticastInstrument *CThostFtdcMulticastInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcMdSpiBase) OnRspSubForQuoteRsp

func (b *CThostFtdcMdSpiBase) OnRspSubForQuoteRsp(pSpecificInstrument *CThostFtdcSpecificInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcMdSpiBase) OnRspSubMarketData

func (b *CThostFtdcMdSpiBase) OnRspSubMarketData(pSpecificInstrument *CThostFtdcSpecificInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcMdSpiBase) OnRspUnSubForQuoteRsp

func (b *CThostFtdcMdSpiBase) OnRspUnSubForQuoteRsp(pSpecificInstrument *CThostFtdcSpecificInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcMdSpiBase) OnRspUnSubMarketData

func (b *CThostFtdcMdSpiBase) OnRspUnSubMarketData(pSpecificInstrument *CThostFtdcSpecificInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcMdSpiBase) OnRspUserLogin

func (b *CThostFtdcMdSpiBase) OnRspUserLogin(pRspUserLogin *CThostFtdcRspUserLoginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcMdSpiBase) OnRspUserLogout

func (b *CThostFtdcMdSpiBase) OnRspUserLogout(pUserLogout *CThostFtdcUserLogoutField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcMdSpiBase) OnRtnDepthMarketData

func (b *CThostFtdcMdSpiBase) OnRtnDepthMarketData(pDepthMarketData *CThostFtdcDepthMarketDataField)

func (*CThostFtdcMdSpiBase) OnRtnForQuoteRsp

func (b *CThostFtdcMdSpiBase) OnRtnForQuoteRsp(pForQuoteRsp *CThostFtdcForQuoteRspField)

type CThostFtdcMulticastGroupInfoField

type CThostFtdcMulticastGroupInfoField struct {
	GroupIP   string
	GroupPort int
	SourceIP  string
}

type CThostFtdcMulticastInstrumentField

type CThostFtdcMulticastInstrumentField struct {
	TopicID        int
	InstrumentID   string
	InstrumentNo   int
	CodePrice      float64
	VolumeMultiple int
	PriceTick      float64
}

type CThostFtdcNoticeField

type CThostFtdcNoticeField struct {
	BrokerID      string
	Content       string
	SequenceLabel string
}

func NewCThostFtdcNoticeField

func NewCThostFtdcNoticeField(p *C.CThostFtdcNoticeField) *CThostFtdcNoticeField

type CThostFtdcNotifyFutureSignInField

type CThostFtdcNotifyFutureSignInField struct {
	TradeCode      string
	BankID         string
	BankBranchID   string
	BrokerID       string
	BrokerBranchID string
	TradeDate      string
	TradeTime      string
	BankSerial     string
	TradingDay     string
	PlateSerial    int
	LastFragment   byte
	SessionID      int
	InstallID      int
	UserID         string
	Digest         string
	CurrencyID     string
	DeviceID       string
	BrokerIDByBank string
	OperNo         string
	RequestID      int
	TID            int
	ErrorID        int
	ErrorMsg       string
	PinKey         string
	MacKey         string
}

type CThostFtdcNotifyFutureSignOutField

type CThostFtdcNotifyFutureSignOutField struct {
	TradeCode      string
	BankID         string
	BankBranchID   string
	BrokerID       string
	BrokerBranchID string
	TradeDate      string
	TradeTime      string
	BankSerial     string
	TradingDay     string
	PlateSerial    int
	LastFragment   byte
	SessionID      int
	InstallID      int
	UserID         string
	Digest         string
	CurrencyID     string
	DeviceID       string
	BrokerIDByBank string
	OperNo         string
	RequestID      int
	TID            int
	ErrorID        int
	ErrorMsg       string
}

type CThostFtdcNotifyQueryAccountField

type CThostFtdcNotifyQueryAccountField struct {
	TradeCode        string
	BankID           string
	BankBranchID     string
	BrokerID         string
	BrokerBranchID   string
	TradeDate        string
	TradeTime        string
	BankSerial       string
	TradingDay       string
	PlateSerial      int
	LastFragment     byte
	SessionID        int
	CustomerName     string
	IdCardType       byte
	IdentifiedCardNo string
	CustType         byte
	BankAccount      string
	BankPassWord     string
	AccountID        string
	Password         string
	FutureSerial     int
	InstallID        int
	UserID           string
	VerifyCertNoFlag byte
	CurrencyID       string
	Digest           string
	BankAccType      byte
	DeviceID         string
	BankSecuAccType  byte
	BrokerIDByBank   string
	BankSecuAcc      string
	BankPwdFlag      byte
	SecuPwdFlag      byte
	OperNo           string
	RequestID        int
	TID              int
	BankUseAmount    float64
	BankFetchAmount  float64
	ErrorID          int
	ErrorMsg         string
	LongCustomerName string
}

type CThostFtdcNotifySyncKeyField

type CThostFtdcNotifySyncKeyField struct {
	TradeCode      string
	BankID         string
	BankBranchID   string
	BrokerID       string
	BrokerBranchID string
	TradeDate      string
	TradeTime      string
	BankSerial     string
	TradingDay     string
	PlateSerial    int
	LastFragment   byte
	SessionID      int
	InstallID      int
	UserID         string
	Message        string
	DeviceID       string
	BrokerIDByBank string
	OperNo         string
	RequestID      int
	TID            int
	ErrorID        int
	ErrorMsg       string
}

type CThostFtdcOpenAccountField

type CThostFtdcOpenAccountField struct {
	TradeCode          string
	BankID             string
	BankBranchID       string
	BrokerID           string
	BrokerBranchID     string
	TradeDate          string
	TradeTime          string
	BankSerial         string
	TradingDay         string
	PlateSerial        int
	LastFragment       byte
	SessionID          int
	CustomerName       string
	IdCardType         byte
	IdentifiedCardNo   string
	Gender             byte
	CountryCode        string
	CustType           byte
	Address            string
	ZipCode            string
	Telephone          string
	MobilePhone        string
	Fax                string
	EMail              string
	MoneyAccountStatus byte
	BankAccount        string
	BankPassWord       string
	AccountID          string
	Password           string
	InstallID          int
	VerifyCertNoFlag   byte
	CurrencyID         string
	CashExchangeCode   byte
	Digest             string
	BankAccType        byte
	DeviceID           string
	BankSecuAccType    byte
	BrokerIDByBank     string
	BankSecuAcc        string
	BankPwdFlag        byte
	SecuPwdFlag        byte
	OperNo             string
	TID                int
	UserID             string
	ErrorID            int
	ErrorMsg           string
	LongCustomerName   string
}

type CThostFtdcOptionInstrCommRateField

type CThostFtdcOptionInstrCommRateField struct {
	InstrumentID            string
	InvestorRange           byte
	BrokerID                string
	InvestorID              string
	OpenRatioByMoney        float64
	OpenRatioByVolume       float64
	CloseRatioByMoney       float64
	CloseRatioByVolume      float64
	CloseTodayRatioByMoney  float64
	CloseTodayRatioByVolume float64
	StrikeRatioByMoney      float64
	StrikeRatioByVolume     float64
	ExchangeID              string
	InvestUnitID            string
}

type CThostFtdcOptionInstrDeltaField

type CThostFtdcOptionInstrDeltaField struct {
	InstrumentID  string
	InvestorRange byte
	BrokerID      string
	InvestorID    string
	Delta         float64
}

type CThostFtdcOptionInstrMarginAdjustField

type CThostFtdcOptionInstrMarginAdjustField struct {
	InstrumentID              string
	InvestorRange             byte
	BrokerID                  string
	InvestorID                string
	SShortMarginRatioByMoney  float64
	SShortMarginRatioByVolume float64
	HShortMarginRatioByMoney  float64
	HShortMarginRatioByVolume float64
	AShortMarginRatioByMoney  float64
	AShortMarginRatioByVolume float64
	IsRelative                int
	MShortMarginRatioByMoney  float64
	MShortMarginRatioByVolume float64
}

type CThostFtdcOptionInstrMiniMarginField

type CThostFtdcOptionInstrMiniMarginField struct {
	InstrumentID  string
	InvestorRange byte
	BrokerID      string
	InvestorID    string
	MinMargin     float64
	ValueMethod   byte
	IsRelative    int
}

type CThostFtdcOptionInstrTradeCostField

type CThostFtdcOptionInstrTradeCostField struct {
	BrokerID        string
	InvestorID      string
	InstrumentID    string
	HedgeFlag       byte
	FixedMargin     float64
	MiniMargin      float64
	Royalty         float64
	ExchFixedMargin float64
	ExchMiniMargin  float64
	ExchangeID      string
	InvestUnitID    string
}

type CThostFtdcOptionInstrTradingRightField

type CThostFtdcOptionInstrTradingRightField struct {
	InstrumentID  string
	InvestorRange byte
	BrokerID      string
	InvestorID    string
	Direction     byte
	TradingRight  byte
}

type CThostFtdcOptionSelfCloseActionField

type CThostFtdcOptionSelfCloseActionField struct {
	BrokerID                 string
	InvestorID               string
	OptionSelfCloseActionRef int
	OptionSelfCloseRef       string
	RequestID                int
	FrontID                  int
	SessionID                int
	ExchangeID               string
	OptionSelfCloseSysID     string
	ActionFlag               byte
	ActionDate               string
	ActionTime               string
	TraderID                 string
	InstallID                int
	OptionSelfCloseLocalID   string
	ActionLocalID            string
	ParticipantID            string
	ClientID                 string
	BusinessUnit             string
	OrderActionStatus        byte
	UserID                   string
	StatusMsg                string
	InstrumentID             string
	BranchID                 string
	InvestUnitID             string
	IPAddress                string
	MacAddress               string
}

type CThostFtdcOptionSelfCloseField

type CThostFtdcOptionSelfCloseField struct {
	BrokerID                 string
	InvestorID               string
	InstrumentID             string
	OptionSelfCloseRef       string
	UserID                   string
	Volume                   int
	RequestID                int
	BusinessUnit             string
	HedgeFlag                byte
	OptSelfCloseFlag         byte
	OptionSelfCloseLocalID   string
	ExchangeID               string
	ParticipantID            string
	ClientID                 string
	ExchangeInstID           string
	TraderID                 string
	InstallID                int
	OrderSubmitStatus        byte
	NotifySequence           int
	TradingDay               string
	SettlementID             int
	OptionSelfCloseSysID     string
	InsertDate               string
	InsertTime               string
	CancelTime               string
	ExecResult               byte
	ClearingPartID           string
	SequenceNo               int
	FrontID                  int
	SessionID                int
	UserProductInfo          string
	StatusMsg                string
	ActiveUserID             string
	BrokerOptionSelfCloseSeq int
	BranchID                 string
	InvestUnitID             string
	AccountID                string
	CurrencyID               string
	IPAddress                string
	MacAddress               string
}

type CThostFtdcOrderActionField

type CThostFtdcOrderActionField struct {
	BrokerID          string
	InvestorID        string
	OrderActionRef    int
	OrderRef          string
	RequestID         int
	FrontID           int
	SessionID         int
	ExchangeID        string
	OrderSysID        string
	ActionFlag        byte
	LimitPrice        float64
	VolumeChange      int
	ActionDate        string
	ActionTime        string
	TraderID          string
	InstallID         int
	OrderLocalID      string
	ActionLocalID     string
	ParticipantID     string
	ClientID          string
	BusinessUnit      string
	OrderActionStatus byte
	UserID            string
	StatusMsg         string
	InstrumentID      string
	BranchID          string
	InvestUnitID      string
	IPAddress         string
	MacAddress        string
}

type CThostFtdcOrderField

type CThostFtdcOrderField struct {
	BrokerID             string
	InvestorID           string
	InstrumentID         string
	OrderRef             string
	UserID               string
	OrderPriceType       byte
	Direction            byte
	CombOffsetFlag       string
	CombHedgeFlag        string
	LimitPrice           float64
	VolumeTotalOriginal  int
	TimeCondition        byte
	GTDDate              string
	VolumeCondition      byte
	MinVolume            int
	ContingentCondition  byte
	StopPrice            float64
	ForceCloseReason     byte
	IsAutoSuspend        int
	BusinessUnit         string
	RequestID            int
	OrderLocalID         string
	ExchangeID           string
	ParticipantID        string
	ClientID             string
	ExchangeInstID       string
	TraderID             string
	InstallID            int
	OrderSubmitStatus    byte
	NotifySequence       int
	TradingDay           string
	SettlementID         int
	OrderSysID           string
	OrderSource          byte
	OrderStatus          byte
	OrderType            byte
	VolumeTraded         int
	VolumeTotal          int
	InsertDate           string
	InsertTime           string
	ActiveTime           string
	SuspendTime          string
	UpdateTime           string
	CancelTime           string
	ActiveTraderID       string
	ClearingPartID       string
	SequenceNo           int
	FrontID              int
	SessionID            int
	UserProductInfo      string
	StatusMsg            string
	UserForceClose       int
	ActiveUserID         string
	BrokerOrderSeq       int
	RelativeOrderSysID   string
	ZCETotalTradedVolume int
	IsSwapOrder          int
	BranchID             string
	InvestUnitID         string
	AccountID            string
	CurrencyID           string
	IPAddress            string
	MacAddress           string
}

func NewCThostFtdcOrderField

func NewCThostFtdcOrderField(p *C.CThostFtdcOrderField) *CThostFtdcOrderField

type CThostFtdcParkedOrderActionField

type CThostFtdcParkedOrderActionField struct {
	BrokerID            string
	InvestorID          string
	OrderActionRef      int
	OrderRef            string
	RequestID           int
	FrontID             int
	SessionID           int
	ExchangeID          string
	OrderSysID          string
	ActionFlag          byte
	LimitPrice          float64
	VolumeChange        int
	UserID              string
	InstrumentID        string
	ParkedOrderActionID string
	UserType            byte
	Status              byte
	ErrorID             int
	ErrorMsg            string
	InvestUnitID        string
	IPAddress           string
	MacAddress          string
}

type CThostFtdcParkedOrderField

type CThostFtdcParkedOrderField struct {
	BrokerID            string
	InvestorID          string
	InstrumentID        string
	OrderRef            string
	UserID              string
	OrderPriceType      byte
	Direction           byte
	CombOffsetFlag      string
	CombHedgeFlag       string
	LimitPrice          float64
	VolumeTotalOriginal int
	TimeCondition       byte
	GTDDate             string
	VolumeCondition     byte
	MinVolume           int
	ContingentCondition byte
	StopPrice           float64
	ForceCloseReason    byte
	IsAutoSuspend       int
	BusinessUnit        string
	RequestID           int
	UserForceClose      int
	ExchangeID          string
	ParkedOrderID       string
	UserType            byte
	Status              byte
	ErrorID             int
	ErrorMsg            string
	IsSwapOrder         int
	AccountID           string
	CurrencyID          string
	ClientID            string
	InvestUnitID        string
	IPAddress           string
	MacAddress          string
}

type CThostFtdcPartBrokerField

type CThostFtdcPartBrokerField struct {
	BrokerID      string
	ExchangeID    string
	ParticipantID string
	IsActive      int
}

type CThostFtdcPositionProfitAlgorithmField

type CThostFtdcPositionProfitAlgorithmField struct {
	BrokerID   string
	AccountID  string
	Algorithm  byte
	Memo       string
	CurrencyID string
}

type CThostFtdcProductExchRateField

type CThostFtdcProductExchRateField struct {
	ProductID       string
	QuoteCurrencyID string
	ExchangeRate    float64
	ExchangeID      string
}

type CThostFtdcProductField

type CThostFtdcProductField struct {
	ProductID            string
	ProductName          string
	ExchangeID           string
	ProductClass         byte
	VolumeMultiple       int
	PriceTick            float64
	MaxMarketOrderVolume int
	MinMarketOrderVolume int
	MaxLimitOrderVolume  int
	MinLimitOrderVolume  int
	PositionType         byte
	PositionDateType     byte
	CloseDealType        byte
	TradeCurrencyID      string
	MortgageFundUseRange byte
	ExchangeProductID    string
	UnderlyingMultiple   float64
}

type CThostFtdcProductGroupField

type CThostFtdcProductGroupField struct {
	ProductID      string
	ExchangeID     string
	ProductGroupID string
}

type CThostFtdcQryAccountregisterField

type CThostFtdcQryAccountregisterField struct {
	BrokerID     string
	AccountID    string
	BankID       string
	BankBranchID string
	CurrencyID   string
}

type CThostFtdcQryAuthForbiddenIPField

type CThostFtdcQryAuthForbiddenIPField struct {
	IPAddress string
}

type CThostFtdcQryBatchOrderActionField

type CThostFtdcQryBatchOrderActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

type CThostFtdcQryBrokerField

type CThostFtdcQryBrokerField struct {
	BrokerID string
}

type CThostFtdcQryBrokerTradingAlgosField

type CThostFtdcQryBrokerTradingAlgosField struct {
	BrokerID     string
	ExchangeID   string
	InstrumentID string
}

type CThostFtdcQryBrokerTradingParamsField

type CThostFtdcQryBrokerTradingParamsField struct {
	BrokerID   string
	InvestorID string
	CurrencyID string
	AccountID  string
}

type CThostFtdcQryBrokerUserEventField

type CThostFtdcQryBrokerUserEventField struct {
	BrokerID      string
	UserID        string
	UserEventType byte
}

type CThostFtdcQryBrokerUserField

type CThostFtdcQryBrokerUserField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcQryBrokerUserFunctionField

type CThostFtdcQryBrokerUserFunctionField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcQryBulletinField

type CThostFtdcQryBulletinField struct {
	ExchangeID  string
	BulletinID  int
	SequenceNo  int
	NewsType    string
	NewsUrgency byte
}

type CThostFtdcQryCFMMCBrokerKeyField

type CThostFtdcQryCFMMCBrokerKeyField struct {
	BrokerID string
}

type CThostFtdcQryCFMMCTradingAccountKeyField

type CThostFtdcQryCFMMCTradingAccountKeyField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryCombActionField

type CThostFtdcQryCombActionField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
	InvestUnitID string
}

type CThostFtdcQryCombInstrumentGuardField

type CThostFtdcQryCombInstrumentGuardField struct {
	BrokerID     string
	InstrumentID string
	ExchangeID   string
}

type CThostFtdcQryCombinationLegField

type CThostFtdcQryCombinationLegField struct {
	CombInstrumentID string
	LegID            int
	LegInstrumentID  string
}

type CThostFtdcQryCommRateModelField

type CThostFtdcQryCommRateModelField struct {
	BrokerID    string
	CommModelID string
}

type CThostFtdcQryContractBankField

type CThostFtdcQryContractBankField struct {
	BrokerID   string
	BankID     string
	BankBrchID string
}

type CThostFtdcQryCurrDRIdentityField

type CThostFtdcQryCurrDRIdentityField struct {
	DRIdentityID int
}

type CThostFtdcQryDepthMarketDataField

type CThostFtdcQryDepthMarketDataField struct {
	InstrumentID string
	ExchangeID   string
}

type CThostFtdcQryEWarrantOffsetField

type CThostFtdcQryEWarrantOffsetField struct {
	BrokerID     string
	InvestorID   string
	ExchangeID   string
	InstrumentID string
	InvestUnitID string
}

type CThostFtdcQryErrExecOrderActionField

type CThostFtdcQryErrExecOrderActionField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryErrExecOrderField

type CThostFtdcQryErrExecOrderField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryErrOrderActionField

type CThostFtdcQryErrOrderActionField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryErrOrderField

type CThostFtdcQryErrOrderField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryExchangeCombActionField

type CThostFtdcQryExchangeCombActionField struct {
	ParticipantID  string
	ClientID       string
	ExchangeInstID string
	ExchangeID     string
	TraderID       string
}

type CThostFtdcQryExchangeExecOrderActionField

type CThostFtdcQryExchangeExecOrderActionField struct {
	ParticipantID string
	ClientID      string
	ExchangeID    string
	TraderID      string
}

type CThostFtdcQryExchangeExecOrderField

type CThostFtdcQryExchangeExecOrderField struct {
	ParticipantID  string
	ClientID       string
	ExchangeInstID string
	ExchangeID     string
	TraderID       string
}

type CThostFtdcQryExchangeField

type CThostFtdcQryExchangeField struct {
	ExchangeID string
}

type CThostFtdcQryExchangeForQuoteField

type CThostFtdcQryExchangeForQuoteField struct {
	ParticipantID  string
	ClientID       string
	ExchangeInstID string
	ExchangeID     string
	TraderID       string
}

type CThostFtdcQryExchangeMarginRateAdjustField

type CThostFtdcQryExchangeMarginRateAdjustField struct {
	BrokerID     string
	InstrumentID string
	HedgeFlag    byte
}

type CThostFtdcQryExchangeMarginRateField

type CThostFtdcQryExchangeMarginRateField struct {
	BrokerID     string
	InstrumentID string
	HedgeFlag    byte
	ExchangeID   string
}

type CThostFtdcQryExchangeOrderActionField

type CThostFtdcQryExchangeOrderActionField struct {
	ParticipantID string
	ClientID      string
	ExchangeID    string
	TraderID      string
}

type CThostFtdcQryExchangeOrderField

type CThostFtdcQryExchangeOrderField struct {
	ParticipantID  string
	ClientID       string
	ExchangeInstID string
	ExchangeID     string
	TraderID       string
}

type CThostFtdcQryExchangeQuoteActionField

type CThostFtdcQryExchangeQuoteActionField struct {
	ParticipantID string
	ClientID      string
	ExchangeID    string
	TraderID      string
}

type CThostFtdcQryExchangeQuoteField

type CThostFtdcQryExchangeQuoteField struct {
	ParticipantID  string
	ClientID       string
	ExchangeInstID string
	ExchangeID     string
	TraderID       string
}

type CThostFtdcQryExchangeRateField

type CThostFtdcQryExchangeRateField struct {
	BrokerID       string
	FromCurrencyID string
	ToCurrencyID   string
}

type CThostFtdcQryExchangeSequenceField

type CThostFtdcQryExchangeSequenceField struct {
	ExchangeID string
}

type CThostFtdcQryExecOrderActionField

type CThostFtdcQryExecOrderActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

type CThostFtdcQryExecOrderField

type CThostFtdcQryExecOrderField struct {
	BrokerID        string
	InvestorID      string
	InstrumentID    string
	ExchangeID      string
	ExecOrderSysID  string
	InsertTimeStart string
	InsertTimeEnd   string
}

type CThostFtdcQryForQuoteField

type CThostFtdcQryForQuoteField struct {
	BrokerID        string
	InvestorID      string
	InstrumentID    string
	ExchangeID      string
	InsertTimeStart string
	InsertTimeEnd   string
	InvestUnitID    string
}

type CThostFtdcQryForQuoteParamField

type CThostFtdcQryForQuoteParamField struct {
	BrokerID     string
	InstrumentID string
	ExchangeID   string
}

type CThostFtdcQryFrontStatusField

type CThostFtdcQryFrontStatusField struct {
	FrontID int
}

type CThostFtdcQryHisOrderField

type CThostFtdcQryHisOrderField struct {
	BrokerID        string
	InvestorID      string
	InstrumentID    string
	ExchangeID      string
	OrderSysID      string
	InsertTimeStart string
	InsertTimeEnd   string
	TradingDay      string
	SettlementID    int
}

type CThostFtdcQryIPListField

type CThostFtdcQryIPListField struct {
	IPAddress string
}

type CThostFtdcQryInstrumentCommissionRateField

type CThostFtdcQryInstrumentCommissionRateField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
	InvestUnitID string
}

type CThostFtdcQryInstrumentField

type CThostFtdcQryInstrumentField struct {
	InstrumentID   string
	ExchangeID     string
	ExchangeInstID string
	ProductID      string
}

type CThostFtdcQryInstrumentMarginRateField

type CThostFtdcQryInstrumentMarginRateField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	HedgeFlag    byte
	ExchangeID   string
	InvestUnitID string
}

type CThostFtdcQryInstrumentOrderCommRateField

type CThostFtdcQryInstrumentOrderCommRateField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
}

type CThostFtdcQryInstrumentStatusField

type CThostFtdcQryInstrumentStatusField struct {
	ExchangeID     string
	ExchangeInstID string
}

type CThostFtdcQryInstrumentTradingRightField

type CThostFtdcQryInstrumentTradingRightField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
}

type CThostFtdcQryInvestUnitField

type CThostFtdcQryInvestUnitField struct {
	BrokerID     string
	InvestorID   string
	InvestUnitID string
}

type CThostFtdcQryInvestorField

type CThostFtdcQryInvestorField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryInvestorGroupField

type CThostFtdcQryInvestorGroupField struct {
	BrokerID string
}

type CThostFtdcQryInvestorPositionCombineDetailField

type CThostFtdcQryInvestorPositionCombineDetailField struct {
	BrokerID         string
	InvestorID       string
	CombInstrumentID string
	ExchangeID       string
	InvestUnitID     string
}

type CThostFtdcQryInvestorPositionDetailField

type CThostFtdcQryInvestorPositionDetailField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
	InvestUnitID string
}

type CThostFtdcQryInvestorPositionField

type CThostFtdcQryInvestorPositionField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
	InvestUnitID string
}

type CThostFtdcQryInvestorProductGroupMarginField

type CThostFtdcQryInvestorProductGroupMarginField struct {
	BrokerID       string
	InvestorID     string
	ProductGroupID string
	HedgeFlag      byte
	ExchangeID     string
	InvestUnitID   string
}

type CThostFtdcQryLinkManField

type CThostFtdcQryLinkManField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryLoginForbiddenIPField

type CThostFtdcQryLoginForbiddenIPField struct {
	IPAddress string
}

type CThostFtdcQryLoginForbiddenUserField

type CThostFtdcQryLoginForbiddenUserField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcQryMDTraderOfferField

type CThostFtdcQryMDTraderOfferField struct {
	ExchangeID    string
	ParticipantID string
	TraderID      string
}

type CThostFtdcQryMMInstrumentCommissionRateField

type CThostFtdcQryMMInstrumentCommissionRateField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
}

type CThostFtdcQryMMOptionInstrCommRateField

type CThostFtdcQryMMOptionInstrCommRateField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
}

type CThostFtdcQryMarginModelField

type CThostFtdcQryMarginModelField struct {
	BrokerID      string
	MarginModelID string
}

type CThostFtdcQryMulticastInstrumentField

type CThostFtdcQryMulticastInstrumentField struct {
	TopicID      int
	InstrumentID string
}

type CThostFtdcQryNoticeField

type CThostFtdcQryNoticeField struct {
	BrokerID string
}

type CThostFtdcQryOptionInstrCommRateField

type CThostFtdcQryOptionInstrCommRateField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
	InvestUnitID string
}

type CThostFtdcQryOptionInstrTradeCostField

type CThostFtdcQryOptionInstrTradeCostField struct {
	BrokerID        string
	InvestorID      string
	InstrumentID    string
	HedgeFlag       byte
	InputPrice      float64
	UnderlyingPrice float64
	ExchangeID      string
	InvestUnitID    string
}

type CThostFtdcQryOptionInstrTradingRightField

type CThostFtdcQryOptionInstrTradingRightField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	Direction    byte
}

type CThostFtdcQryOptionSelfCloseActionField

type CThostFtdcQryOptionSelfCloseActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

type CThostFtdcQryOptionSelfCloseField

type CThostFtdcQryOptionSelfCloseField struct {
	BrokerID             string
	InvestorID           string
	InstrumentID         string
	ExchangeID           string
	OptionSelfCloseSysID string
	InsertTimeStart      string
	InsertTimeEnd        string
}

type CThostFtdcQryOrderActionField

type CThostFtdcQryOrderActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

type CThostFtdcQryOrderField

type CThostFtdcQryOrderField struct {
	BrokerID        string
	InvestorID      string
	InstrumentID    string
	ExchangeID      string
	OrderSysID      string
	InsertTimeStart string
	InsertTimeEnd   string
	InvestUnitID    string
}

type CThostFtdcQryParkedOrderActionField

type CThostFtdcQryParkedOrderActionField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
	InvestUnitID string
}

type CThostFtdcQryParkedOrderField

type CThostFtdcQryParkedOrderField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
	InvestUnitID string
}

type CThostFtdcQryPartBrokerField

type CThostFtdcQryPartBrokerField struct {
	ExchangeID    string
	BrokerID      string
	ParticipantID string
}

type CThostFtdcQryProductExchRateField

type CThostFtdcQryProductExchRateField struct {
	ProductID  string
	ExchangeID string
}

type CThostFtdcQryProductField

type CThostFtdcQryProductField struct {
	ProductID    string
	ProductClass byte
	ExchangeID   string
}

type CThostFtdcQryProductGroupField

type CThostFtdcQryProductGroupField struct {
	ProductID  string
	ExchangeID string
}

type CThostFtdcQryQuoteActionField

type CThostFtdcQryQuoteActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

type CThostFtdcQryQuoteField

type CThostFtdcQryQuoteField struct {
	BrokerID        string
	InvestorID      string
	InstrumentID    string
	ExchangeID      string
	QuoteSysID      string
	InsertTimeStart string
	InsertTimeEnd   string
	InvestUnitID    string
}

type CThostFtdcQrySecAgentACIDMapField

type CThostFtdcQrySecAgentACIDMapField struct {
	BrokerID   string
	UserID     string
	AccountID  string
	CurrencyID string
}

type CThostFtdcQrySecAgentCheckModeField

type CThostFtdcQrySecAgentCheckModeField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQrySecAgentTradeInfoField

type CThostFtdcQrySecAgentTradeInfoField struct {
	BrokerID         string
	BrokerSecAgentID string
}

type CThostFtdcQrySettlementInfoConfirmField

type CThostFtdcQrySettlementInfoConfirmField struct {
	BrokerID   string
	InvestorID string
	AccountID  string
	CurrencyID string
}

type CThostFtdcQrySettlementInfoField

type CThostFtdcQrySettlementInfoField struct {
	BrokerID   string
	InvestorID string
	TradingDay string
	AccountID  string
	CurrencyID string
}

type CThostFtdcQryStrikeOffsetField

type CThostFtdcQryStrikeOffsetField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
}

type CThostFtdcQrySuperUserField

type CThostFtdcQrySuperUserField struct {
	UserID string
}

type CThostFtdcQrySuperUserFunctionField

type CThostFtdcQrySuperUserFunctionField struct {
	UserID string
}

type CThostFtdcQrySyncDelaySwapField

type CThostFtdcQrySyncDelaySwapField struct {
	BrokerID       string
	DelaySwapSeqNo string
}

type CThostFtdcQrySyncDepositField

type CThostFtdcQrySyncDepositField struct {
	BrokerID     string
	DepositSeqNo string
}

type CThostFtdcQrySyncFundMortgageField

type CThostFtdcQrySyncFundMortgageField struct {
	BrokerID      string
	MortgageSeqNo string
}

type CThostFtdcQrySyncStatusField

type CThostFtdcQrySyncStatusField struct {
	TradingDay string
}

type CThostFtdcQryTradeField

type CThostFtdcQryTradeField struct {
	BrokerID       string
	InvestorID     string
	InstrumentID   string
	ExchangeID     string
	TradeID        string
	TradeTimeStart string
	TradeTimeEnd   string
	InvestUnitID   string
}

type CThostFtdcQryTraderField

type CThostFtdcQryTraderField struct {
	ExchangeID    string
	ParticipantID string
	TraderID      string
}

type CThostFtdcQryTraderOfferField

type CThostFtdcQryTraderOfferField struct {
	ExchangeID    string
	ParticipantID string
	TraderID      string
}

type CThostFtdcQryTradingAccountField

type CThostFtdcQryTradingAccountField struct {
	BrokerID   string
	InvestorID string
	CurrencyID string
	BizType    byte
	AccountID  string
}

type CThostFtdcQryTradingCodeField

type CThostFtdcQryTradingCodeField struct {
	BrokerID     string
	InvestorID   string
	ExchangeID   string
	ClientID     string
	ClientIDType byte
	InvestUnitID string
}

type CThostFtdcQryTradingNoticeField

type CThostFtdcQryTradingNoticeField struct {
	BrokerID     string
	InvestorID   string
	InvestUnitID string
}

type CThostFtdcQryTransferBankField

type CThostFtdcQryTransferBankField struct {
	BankID     string
	BankBrchID string
}

type CThostFtdcQryTransferSerialField

type CThostFtdcQryTransferSerialField struct {
	BrokerID   string
	AccountID  string
	BankID     string
	CurrencyID string
}

type CThostFtdcQryUserRightsAssignField

type CThostFtdcQryUserRightsAssignField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcQryUserSessionField

type CThostFtdcQryUserSessionField struct {
	FrontID   int
	SessionID int
	BrokerID  string
	UserID    string
}

type CThostFtdcQueryBrokerDepositField

type CThostFtdcQueryBrokerDepositField struct {
	BrokerID   string
	ExchangeID string
}

type CThostFtdcQueryCFMMCTradingAccountTokenField

type CThostFtdcQueryCFMMCTradingAccountTokenField struct {
	BrokerID     string
	InvestorID   string
	InvestUnitID string
}

type CThostFtdcQueryFreqField

type CThostFtdcQueryFreqField struct {
	QueryFreq int
}

type CThostFtdcQueryMaxOrderVolumeField

type CThostFtdcQueryMaxOrderVolumeField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	Direction    byte
	OffsetFlag   byte
	HedgeFlag    byte
	MaxVolume    int
	ExchangeID   string
	InvestUnitID string
}

type CThostFtdcQueryMaxOrderVolumeWithPriceField

type CThostFtdcQueryMaxOrderVolumeWithPriceField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	Direction    byte
	OffsetFlag   byte
	HedgeFlag    byte
	MaxVolume    int
	Price        float64
	ExchangeID   string
	InvestUnitID string
}

type CThostFtdcQuoteActionField

type CThostFtdcQuoteActionField struct {
	BrokerID          string
	InvestorID        string
	QuoteActionRef    int
	QuoteRef          string
	RequestID         int
	FrontID           int
	SessionID         int
	ExchangeID        string
	QuoteSysID        string
	ActionFlag        byte
	ActionDate        string
	ActionTime        string
	TraderID          string
	InstallID         int
	QuoteLocalID      string
	ActionLocalID     string
	ParticipantID     string
	ClientID          string
	BusinessUnit      string
	OrderActionStatus byte
	UserID            string
	StatusMsg         string
	InstrumentID      string
	BranchID          string
	InvestUnitID      string
	IPAddress         string
	MacAddress        string
}

type CThostFtdcQuoteField

type CThostFtdcQuoteField struct {
	BrokerID          string
	InvestorID        string
	InstrumentID      string
	QuoteRef          string
	UserID            string
	AskPrice          float64
	BidPrice          float64
	AskVolume         int
	BidVolume         int
	RequestID         int
	BusinessUnit      string
	AskOffsetFlag     byte
	BidOffsetFlag     byte
	AskHedgeFlag      byte
	BidHedgeFlag      byte
	QuoteLocalID      string
	ExchangeID        string
	ParticipantID     string
	ClientID          string
	ExchangeInstID    string
	TraderID          string
	InstallID         int
	NotifySequence    int
	OrderSubmitStatus byte
	TradingDay        string
	SettlementID      int
	QuoteSysID        string
	InsertDate        string
	InsertTime        string
	CancelTime        string
	QuoteStatus       byte
	ClearingPartID    string
	SequenceNo        int
	AskOrderSysID     string
	BidOrderSysID     string
	FrontID           int
	SessionID         int
	UserProductInfo   string
	StatusMsg         string
	ActiveUserID      string
	BrokerQuoteSeq    int
	AskOrderRef       string
	BidOrderRef       string
	ForQuoteSysID     string
	BranchID          string
	InvestUnitID      string
	AccountID         string
	CurrencyID        string
	IPAddress         string
	MacAddress        string
}

func NewCThostFtdcQuoteField

func NewCThostFtdcQuoteField(p *C.CThostFtdcQuoteField) *CThostFtdcQuoteField

type CThostFtdcRemoveParkedOrderActionField

type CThostFtdcRemoveParkedOrderActionField struct {
	BrokerID            string
	InvestorID          string
	ParkedOrderActionID string
	InvestUnitID        string
}

type CThostFtdcRemoveParkedOrderField

type CThostFtdcRemoveParkedOrderField struct {
	BrokerID      string
	InvestorID    string
	ParkedOrderID string
	InvestUnitID  string
}

type CThostFtdcReqApiHandshakeField

type CThostFtdcReqApiHandshakeField struct {
	CryptoKeyVersion string
}

type CThostFtdcReqAuthenticateField

type CThostFtdcReqAuthenticateField struct {
	BrokerID        string
	UserID          string
	UserProductInfo string
	AuthCode        string
	AppID           string
}

type CThostFtdcReqCancelAccountField

type CThostFtdcReqCancelAccountField struct {
	TradeCode          string
	BankID             string
	BankBranchID       string
	BrokerID           string
	BrokerBranchID     string
	TradeDate          string
	TradeTime          string
	BankSerial         string
	TradingDay         string
	PlateSerial        int
	LastFragment       byte
	SessionID          int
	CustomerName       string
	IdCardType         byte
	IdentifiedCardNo   string
	Gender             byte
	CountryCode        string
	CustType           byte
	Address            string
	ZipCode            string
	Telephone          string
	MobilePhone        string
	Fax                string
	EMail              string
	MoneyAccountStatus byte
	BankAccount        string
	BankPassWord       string
	AccountID          string
	Password           string
	InstallID          int
	VerifyCertNoFlag   byte
	CurrencyID         string
	CashExchangeCode   byte
	Digest             string
	BankAccType        byte
	DeviceID           string
	BankSecuAccType    byte
	BrokerIDByBank     string
	BankSecuAcc        string
	BankPwdFlag        byte
	SecuPwdFlag        byte
	OperNo             string
	TID                int
	UserID             string
	LongCustomerName   string
}

type CThostFtdcReqChangeAccountField

type CThostFtdcReqChangeAccountField struct {
	TradeCode          string
	BankID             string
	BankBranchID       string
	BrokerID           string
	BrokerBranchID     string
	TradeDate          string
	TradeTime          string
	BankSerial         string
	TradingDay         string
	PlateSerial        int
	LastFragment       byte
	SessionID          int
	CustomerName       string
	IdCardType         byte
	IdentifiedCardNo   string
	Gender             byte
	CountryCode        string
	CustType           byte
	Address            string
	ZipCode            string
	Telephone          string
	MobilePhone        string
	Fax                string
	EMail              string
	MoneyAccountStatus byte
	BankAccount        string
	BankPassWord       string
	NewBankAccount     string
	NewBankPassWord    string
	AccountID          string
	Password           string
	BankAccType        byte
	InstallID          int
	VerifyCertNoFlag   byte
	CurrencyID         string
	BrokerIDByBank     string
	BankPwdFlag        byte
	SecuPwdFlag        byte
	TID                int
	Digest             string
	LongCustomerName   string
}

type CThostFtdcReqDayEndFileReadyField

type CThostFtdcReqDayEndFileReadyField struct {
	TradeCode        string
	BankID           string
	BankBranchID     string
	BrokerID         string
	BrokerBranchID   string
	TradeDate        string
	TradeTime        string
	BankSerial       string
	TradingDay       string
	PlateSerial      int
	LastFragment     byte
	SessionID        int
	FileBusinessCode byte
	Digest           string
}

type CThostFtdcReqFutureSignOutField

type CThostFtdcReqFutureSignOutField struct {
	TradeCode      string
	BankID         string
	BankBranchID   string
	BrokerID       string
	BrokerBranchID string
	TradeDate      string
	TradeTime      string
	BankSerial     string
	TradingDay     string
	PlateSerial    int
	LastFragment   byte
	SessionID      int
	InstallID      int
	UserID         string
	Digest         string
	CurrencyID     string
	DeviceID       string
	BrokerIDByBank string
	OperNo         string
	RequestID      int
	TID            int
}

type CThostFtdcReqGenUserCaptchaField

type CThostFtdcReqGenUserCaptchaField struct {
	TradingDay string
	BrokerID   string
	UserID     string
}

type CThostFtdcReqGenUserTextField

type CThostFtdcReqGenUserTextField struct {
	TradingDay string
	BrokerID   string
	UserID     string
}

type CThostFtdcReqOpenAccountField

type CThostFtdcReqOpenAccountField struct {
	TradeCode          string
	BankID             string
	BankBranchID       string
	BrokerID           string
	BrokerBranchID     string
	TradeDate          string
	TradeTime          string
	BankSerial         string
	TradingDay         string
	PlateSerial        int
	LastFragment       byte
	SessionID          int
	CustomerName       string
	IdCardType         byte
	IdentifiedCardNo   string
	Gender             byte
	CountryCode        string
	CustType           byte
	Address            string
	ZipCode            string
	Telephone          string
	MobilePhone        string
	Fax                string
	EMail              string
	MoneyAccountStatus byte
	BankAccount        string
	BankPassWord       string
	AccountID          string
	Password           string
	InstallID          int
	VerifyCertNoFlag   byte
	CurrencyID         string
	CashExchangeCode   byte
	Digest             string
	BankAccType        byte
	DeviceID           string
	BankSecuAccType    byte
	BrokerIDByBank     string
	BankSecuAcc        string
	BankPwdFlag        byte
	SecuPwdFlag        byte
	OperNo             string
	TID                int
	UserID             string
	LongCustomerName   string
}

type CThostFtdcReqQueryAccountField

type CThostFtdcReqQueryAccountField struct {
	TradeCode        string
	BankID           string
	BankBranchID     string
	BrokerID         string
	BrokerBranchID   string
	TradeDate        string
	TradeTime        string
	BankSerial       string
	TradingDay       string
	PlateSerial      int
	LastFragment     byte
	SessionID        int
	CustomerName     string
	IdCardType       byte
	IdentifiedCardNo string
	CustType         byte
	BankAccount      string
	BankPassWord     string
	AccountID        string
	Password         string
	FutureSerial     int
	InstallID        int
	UserID           string
	VerifyCertNoFlag byte
	CurrencyID       string
	Digest           string
	BankAccType      byte
	DeviceID         string
	BankSecuAccType  byte
	BrokerIDByBank   string
	BankSecuAcc      string
	BankPwdFlag      byte
	SecuPwdFlag      byte
	OperNo           string
	RequestID        int
	TID              int
	LongCustomerName string
}

type CThostFtdcReqQueryTradeResultBySerialField

type CThostFtdcReqQueryTradeResultBySerialField struct {
	TradeCode          string
	BankID             string
	BankBranchID       string
	BrokerID           string
	BrokerBranchID     string
	TradeDate          string
	TradeTime          string
	BankSerial         string
	TradingDay         string
	PlateSerial        int
	LastFragment       byte
	SessionID          int
	Reference          int
	RefrenceIssureType byte
	RefrenceIssure     string
	CustomerName       string
	IdCardType         byte
	IdentifiedCardNo   string
	CustType           byte
	BankAccount        string
	BankPassWord       string
	AccountID          string
	Password           string
	CurrencyID         string
	TradeAmount        float64
	Digest             string
	LongCustomerName   string
}

type CThostFtdcReqRepealField

type CThostFtdcReqRepealField struct {
	RepealTimeInterval int
	RepealedTimes      int
	BankRepealFlag     byte
	BrokerRepealFlag   byte
	PlateRepealSerial  int
	BankRepealSerial   string
	FutureRepealSerial int
	TradeCode          string
	BankID             string
	BankBranchID       string
	BrokerID           string
	BrokerBranchID     string
	TradeDate          string
	TradeTime          string
	BankSerial         string
	TradingDay         string
	PlateSerial        int
	LastFragment       byte
	SessionID          int
	CustomerName       string
	IdCardType         byte
	IdentifiedCardNo   string
	CustType           byte
	BankAccount        string
	BankPassWord       string
	AccountID          string
	Password           string
	InstallID          int
	FutureSerial       int
	UserID             string
	VerifyCertNoFlag   byte
	CurrencyID         string
	TradeAmount        float64
	FutureFetchAmount  float64
	FeePayFlag         byte
	CustFee            float64
	BrokerFee          float64
	Message            string
	Digest             string
	BankAccType        byte
	DeviceID           string
	BankSecuAccType    byte
	BrokerIDByBank     string
	BankSecuAcc        string
	BankPwdFlag        byte
	SecuPwdFlag        byte
	OperNo             string
	RequestID          int
	TID                int
	TransferStatus     byte
	LongCustomerName   string
}

type CThostFtdcReqSyncKeyField

type CThostFtdcReqSyncKeyField struct {
	TradeCode      string
	BankID         string
	BankBranchID   string
	BrokerID       string
	BrokerBranchID string
	TradeDate      string
	TradeTime      string
	BankSerial     string
	TradingDay     string
	PlateSerial    int
	LastFragment   byte
	SessionID      int
	InstallID      int
	UserID         string
	Message        string
	DeviceID       string
	BrokerIDByBank string
	OperNo         string
	RequestID      int
	TID            int
}

type CThostFtdcReqTransferField

type CThostFtdcReqTransferField struct {
	TradeCode         string
	BankID            string
	BankBranchID      string
	BrokerID          string
	BrokerBranchID    string
	TradeDate         string
	TradeTime         string
	BankSerial        string
	TradingDay        string
	PlateSerial       int
	LastFragment      byte
	SessionID         int
	CustomerName      string
	IdCardType        byte
	IdentifiedCardNo  string
	CustType          byte
	BankAccount       string
	BankPassWord      string
	AccountID         string
	Password          string
	InstallID         int
	FutureSerial      int
	UserID            string
	VerifyCertNoFlag  byte
	CurrencyID        string
	TradeAmount       float64
	FutureFetchAmount float64
	FeePayFlag        byte
	CustFee           float64
	BrokerFee         float64
	Message           string
	Digest            string
	BankAccType       byte
	DeviceID          string
	BankSecuAccType   byte
	BrokerIDByBank    string
	BankSecuAcc       string
	BankPwdFlag       byte
	SecuPwdFlag       byte
	OperNo            string
	RequestID         int
	TID               int
	TransferStatus    byte
	LongCustomerName  string
}

type CThostFtdcReqUserAuthMethodField

type CThostFtdcReqUserAuthMethodField struct {
	TradingDay string
	BrokerID   string
	UserID     string
}

type CThostFtdcReqUserLoginField

type CThostFtdcReqUserLoginField struct {
	TradingDay           string
	BrokerID             string
	UserID               string
	Password             string
	UserProductInfo      string
	InterfaceProductInfo string
	ProtocolInfo         string
	MacAddress           string
	OneTimePassword      string
	ClientIPAddress      string
	LoginRemark          string
	ClientIPPort         int
}

type CThostFtdcReqUserLoginWithCaptchaField

type CThostFtdcReqUserLoginWithCaptchaField struct {
	TradingDay           string
	BrokerID             string
	UserID               string
	Password             string
	UserProductInfo      string
	InterfaceProductInfo string
	ProtocolInfo         string
	MacAddress           string
	ClientIPAddress      string
	LoginRemark          string
	Captcha              string
	ClientIPPort         int
}

type CThostFtdcReqUserLoginWithOTPField

type CThostFtdcReqUserLoginWithOTPField struct {
	TradingDay           string
	BrokerID             string
	UserID               string
	Password             string
	UserProductInfo      string
	InterfaceProductInfo string
	ProtocolInfo         string
	MacAddress           string
	ClientIPAddress      string
	LoginRemark          string
	OTPPassword          string
	ClientIPPort         int
}

type CThostFtdcReqUserLoginWithTextField

type CThostFtdcReqUserLoginWithTextField struct {
	TradingDay           string
	BrokerID             string
	UserID               string
	Password             string
	UserProductInfo      string
	InterfaceProductInfo string
	ProtocolInfo         string
	MacAddress           string
	ClientIPAddress      string
	LoginRemark          string
	Text                 string
	ClientIPPort         int
}

type CThostFtdcReqVerifyApiKeyField

type CThostFtdcReqVerifyApiKeyField struct {
	ApiHandshakeDataLen int
	ApiHandshakeData    string
}

type CThostFtdcReserveOpenAccountConfirmField

type CThostFtdcReserveOpenAccountConfirmField struct {
	TradeCode          string
	BankID             string
	BankBranchID       string
	BrokerID           string
	BrokerBranchID     string
	TradeDate          string
	TradeTime          string
	BankSerial         string
	TradingDay         string
	PlateSerial        int
	LastFragment       byte
	SessionID          int
	CustomerName       string
	IdCardType         byte
	IdentifiedCardNo   string
	Gender             byte
	CountryCode        string
	CustType           byte
	Address            string
	ZipCode            string
	Telephone          string
	MobilePhone        string
	Fax                string
	EMail              string
	MoneyAccountStatus byte
	BankAccount        string
	BankPassWord       string
	InstallID          int
	VerifyCertNoFlag   byte
	CurrencyID         string
	Digest             string
	BankAccType        byte
	BrokerIDByBank     string
	TID                int
	AccountID          string
	Password           string
	BankReserveOpenSeq string
	BookDate           string
	BookPsw            string
	ErrorID            int
	ErrorMsg           string
}

type CThostFtdcReserveOpenAccountField

type CThostFtdcReserveOpenAccountField struct {
	TradeCode          string
	BankID             string
	BankBranchID       string
	BrokerID           string
	BrokerBranchID     string
	TradeDate          string
	TradeTime          string
	BankSerial         string
	TradingDay         string
	PlateSerial        int
	LastFragment       byte
	SessionID          int
	CustomerName       string
	IdCardType         byte
	IdentifiedCardNo   string
	Gender             byte
	CountryCode        string
	CustType           byte
	Address            string
	ZipCode            string
	Telephone          string
	MobilePhone        string
	Fax                string
	EMail              string
	MoneyAccountStatus byte
	BankAccount        string
	BankPassWord       string
	InstallID          int
	VerifyCertNoFlag   byte
	CurrencyID         string
	Digest             string
	BankAccType        byte
	BrokerIDByBank     string
	TID                int
	ReserveOpenAccStas byte
	ErrorID            int
	ErrorMsg           string
}

type CThostFtdcReturnResultField

type CThostFtdcReturnResultField struct {
	ReturnCode             string
	DescrInfoForReturnCode string
}

type CThostFtdcRspApiHandshakeField

type CThostFtdcRspApiHandshakeField struct {
	FrontHandshakeDataLen int
	FrontHandshakeData    string
	IsApiAuthEnabled      int
}

type CThostFtdcRspAuthenticateField

type CThostFtdcRspAuthenticateField struct {
	BrokerID        string
	UserID          string
	UserProductInfo string
	AppID           string
	AppType         byte
}

type CThostFtdcRspFutureSignInField

type CThostFtdcRspFutureSignInField struct {
	TradeCode      string
	BankID         string
	BankBranchID   string
	BrokerID       string
	BrokerBranchID string
	TradeDate      string
	TradeTime      string
	BankSerial     string
	TradingDay     string
	PlateSerial    int
	LastFragment   byte
	SessionID      int
	InstallID      int
	UserID         string
	Digest         string
	CurrencyID     string
	DeviceID       string
	BrokerIDByBank string
	OperNo         string
	RequestID      int
	TID            int
	ErrorID        int
	ErrorMsg       string
	PinKey         string
	MacKey         string
}

type CThostFtdcRspFutureSignOutField

type CThostFtdcRspFutureSignOutField struct {
	TradeCode      string
	BankID         string
	BankBranchID   string
	BrokerID       string
	BrokerBranchID string
	TradeDate      string
	TradeTime      string
	BankSerial     string
	TradingDay     string
	PlateSerial    int
	LastFragment   byte
	SessionID      int
	InstallID      int
	UserID         string
	Digest         string
	CurrencyID     string
	DeviceID       string
	BrokerIDByBank string
	OperNo         string
	RequestID      int
	TID            int
	ErrorID        int
	ErrorMsg       string
}

type CThostFtdcRspGenUserCaptchaField

type CThostFtdcRspGenUserCaptchaField struct {
	BrokerID       string
	UserID         string
	CaptchaInfoLen int
	CaptchaInfo    string
}

type CThostFtdcRspGenUserTextField

type CThostFtdcRspGenUserTextField struct {
	UserTextSeq int
}

type CThostFtdcRspInfoField

type CThostFtdcRspInfoField struct {
	ErrorID  int
	ErrorMsg string
}

type CThostFtdcRspQueryAccountField

type CThostFtdcRspQueryAccountField struct {
	TradeCode        string
	BankID           string
	BankBranchID     string
	BrokerID         string
	BrokerBranchID   string
	TradeDate        string
	TradeTime        string
	BankSerial       string
	TradingDay       string
	PlateSerial      int
	LastFragment     byte
	SessionID        int
	CustomerName     string
	IdCardType       byte
	IdentifiedCardNo string
	CustType         byte
	BankAccount      string
	BankPassWord     string
	AccountID        string
	Password         string
	FutureSerial     int
	InstallID        int
	UserID           string
	VerifyCertNoFlag byte
	CurrencyID       string
	Digest           string
	BankAccType      byte
	DeviceID         string
	BankSecuAccType  byte
	BrokerIDByBank   string
	BankSecuAcc      string
	BankPwdFlag      byte
	SecuPwdFlag      byte
	OperNo           string
	RequestID        int
	TID              int
	BankUseAmount    float64
	BankFetchAmount  float64
	LongCustomerName string
}

type CThostFtdcRspQueryTradeResultBySerialField

type CThostFtdcRspQueryTradeResultBySerialField struct {
	TradeCode                    string
	BankID                       string
	BankBranchID                 string
	BrokerID                     string
	BrokerBranchID               string
	TradeDate                    string
	TradeTime                    string
	BankSerial                   string
	TradingDay                   string
	PlateSerial                  int
	LastFragment                 byte
	SessionID                    int
	ErrorID                      int
	ErrorMsg                     string
	Reference                    int
	RefrenceIssureType           byte
	RefrenceIssure               string
	OriginReturnCode             string
	OriginDescrInfoForReturnCode string
	BankAccount                  string
	BankPassWord                 string
	AccountID                    string
	Password                     string
	CurrencyID                   string
	TradeAmount                  float64
	Digest                       string
}

type CThostFtdcRspRepealField

type CThostFtdcRspRepealField struct {
	RepealTimeInterval int
	RepealedTimes      int
	BankRepealFlag     byte
	BrokerRepealFlag   byte
	PlateRepealSerial  int
	BankRepealSerial   string
	FutureRepealSerial int
	TradeCode          string
	BankID             string
	BankBranchID       string
	BrokerID           string
	BrokerBranchID     string
	TradeDate          string
	TradeTime          string
	BankSerial         string
	TradingDay         string
	PlateSerial        int
	LastFragment       byte
	SessionID          int
	CustomerName       string
	IdCardType         byte
	IdentifiedCardNo   string
	CustType           byte
	BankAccount        string
	BankPassWord       string
	AccountID          string
	Password           string
	InstallID          int
	FutureSerial       int
	UserID             string
	VerifyCertNoFlag   byte
	CurrencyID         string
	TradeAmount        float64
	FutureFetchAmount  float64
	FeePayFlag         byte
	CustFee            float64
	BrokerFee          float64
	Message            string
	Digest             string
	BankAccType        byte
	DeviceID           string
	BankSecuAccType    byte
	BrokerIDByBank     string
	BankSecuAcc        string
	BankPwdFlag        byte
	SecuPwdFlag        byte
	OperNo             string
	RequestID          int
	TID                int
	TransferStatus     byte
	ErrorID            int
	ErrorMsg           string
	LongCustomerName   string
}

type CThostFtdcRspSyncKeyField

type CThostFtdcRspSyncKeyField struct {
	TradeCode      string
	BankID         string
	BankBranchID   string
	BrokerID       string
	BrokerBranchID string
	TradeDate      string
	TradeTime      string
	BankSerial     string
	TradingDay     string
	PlateSerial    int
	LastFragment   byte
	SessionID      int
	InstallID      int
	UserID         string
	Message        string
	DeviceID       string
	BrokerIDByBank string
	OperNo         string
	RequestID      int
	TID            int
	ErrorID        int
	ErrorMsg       string
}

type CThostFtdcRspTransferField

type CThostFtdcRspTransferField struct {
	TradeCode         string
	BankID            string
	BankBranchID      string
	BrokerID          string
	BrokerBranchID    string
	TradeDate         string
	TradeTime         string
	BankSerial        string
	TradingDay        string
	PlateSerial       int
	LastFragment      byte
	SessionID         int
	CustomerName      string
	IdCardType        byte
	IdentifiedCardNo  string
	CustType          byte
	BankAccount       string
	BankPassWord      string
	AccountID         string
	Password          string
	InstallID         int
	FutureSerial      int
	UserID            string
	VerifyCertNoFlag  byte
	CurrencyID        string
	TradeAmount       float64
	FutureFetchAmount float64
	FeePayFlag        byte
	CustFee           float64
	BrokerFee         float64
	Message           string
	Digest            string
	BankAccType       byte
	DeviceID          string
	BankSecuAccType   byte
	BrokerIDByBank    string
	BankSecuAcc       string
	BankPwdFlag       byte
	SecuPwdFlag       byte
	OperNo            string
	RequestID         int
	TID               int
	TransferStatus    byte
	ErrorID           int
	ErrorMsg          string
	LongCustomerName  string
}

type CThostFtdcRspUserAuthMethodField

type CThostFtdcRspUserAuthMethodField struct {
	UsableAuthMethod int
}

type CThostFtdcRspUserLogin2Field

type CThostFtdcRspUserLogin2Field struct {
	TradingDay   string
	LoginTime    string
	BrokerID     string
	UserID       string
	SystemName   string
	FrontID      int
	SessionID    int
	MaxOrderRef  string
	SHFETime     string
	DCETime      string
	CZCETime     string
	FFEXTime     string
	INETime      string
	RandomString string
}

type CThostFtdcRspUserLoginField

type CThostFtdcRspUserLoginField struct {
	TradingDay  string
	LoginTime   string
	BrokerID    string
	UserID      string
	SystemName  string
	FrontID     int
	SessionID   int
	MaxOrderRef string
	SHFETime    string
	DCETime     string
	CZCETime    string
	FFEXTime    string
	INETime     string
}

type CThostFtdcSecAgentACIDMapField

type CThostFtdcSecAgentACIDMapField struct {
	BrokerID         string
	UserID           string
	AccountID        string
	CurrencyID       string
	BrokerSecAgentID string
}

type CThostFtdcSecAgentCheckModeField

type CThostFtdcSecAgentCheckModeField struct {
	InvestorID       string
	BrokerID         string
	CurrencyID       string
	BrokerSecAgentID string
	CheckSelfAccount int
}

type CThostFtdcSecAgentTradeInfoField

type CThostFtdcSecAgentTradeInfoField struct {
	BrokerID         string
	BrokerSecAgentID string
	InvestorID       string
	LongCustomerName string
}

type CThostFtdcSettlementInfoConfirmField

type CThostFtdcSettlementInfoConfirmField struct {
	BrokerID     string
	InvestorID   string
	ConfirmDate  string
	ConfirmTime  string
	SettlementID int
	AccountID    string
	CurrencyID   string
}

type CThostFtdcSettlementInfoField

type CThostFtdcSettlementInfoField struct {
	TradingDay   string
	SettlementID int
	BrokerID     string
	InvestorID   string
	SequenceNo   int
	Content      string
	AccountID    string
	CurrencyID   string
}

type CThostFtdcSettlementRefField

type CThostFtdcSettlementRefField struct {
	TradingDay   string
	SettlementID int
}

type CThostFtdcSpecificInstrumentField

type CThostFtdcSpecificInstrumentField struct {
	InstrumentID string
}

type CThostFtdcStrikeOffsetField

type CThostFtdcStrikeOffsetField struct {
	InstrumentID  string
	InvestorRange byte
	BrokerID      string
	InvestorID    string
	Offset        float64
	OffsetType    byte
}

type CThostFtdcSuperUserField

type CThostFtdcSuperUserField struct {
	UserID   string
	UserName string
	Password string
	IsActive int
}

type CThostFtdcSuperUserFunctionField

type CThostFtdcSuperUserFunctionField struct {
	UserID       string
	FunctionCode byte
}

type CThostFtdcSyncDelaySwapField

type CThostFtdcSyncDelaySwapField struct {
	DelaySwapSeqNo     string
	BrokerID           string
	InvestorID         string
	FromCurrencyID     string
	FromAmount         float64
	FromFrozenSwap     float64
	FromRemainSwap     float64
	ToCurrencyID       string
	ToAmount           float64
	IsManualSwap       int
	IsAllRemainSetZero int
}

type CThostFtdcSyncDelaySwapFrozenField

type CThostFtdcSyncDelaySwapFrozenField struct {
	DelaySwapSeqNo string
	BrokerID       string
	InvestorID     string
	FromCurrencyID string
	FromRemainSwap float64
	IsManualSwap   int
}

type CThostFtdcSyncDepositField

type CThostFtdcSyncDepositField struct {
	DepositSeqNo string
	BrokerID     string
	InvestorID   string
	Deposit      float64
	IsForce      int
	CurrencyID   string
}

type CThostFtdcSyncFundMortgageField

type CThostFtdcSyncFundMortgageField struct {
	MortgageSeqNo  string
	BrokerID       string
	InvestorID     string
	FromCurrencyID string
	MortgageAmount float64
	ToCurrencyID   string
}

type CThostFtdcSyncStatusField

type CThostFtdcSyncStatusField struct {
	TradingDay     string
	DataSyncStatus byte
}

type CThostFtdcSyncingInstrumentCommissionRateField

type CThostFtdcSyncingInstrumentCommissionRateField struct {
	InstrumentID            string
	InvestorRange           byte
	BrokerID                string
	InvestorID              string
	OpenRatioByMoney        float64
	OpenRatioByVolume       float64
	CloseRatioByMoney       float64
	CloseRatioByVolume      float64
	CloseTodayRatioByMoney  float64
	CloseTodayRatioByVolume float64
}

type CThostFtdcSyncingInstrumentMarginRateField

type CThostFtdcSyncingInstrumentMarginRateField struct {
	InstrumentID             string
	InvestorRange            byte
	BrokerID                 string
	InvestorID               string
	HedgeFlag                byte
	LongMarginRatioByMoney   float64
	LongMarginRatioByVolume  float64
	ShortMarginRatioByMoney  float64
	ShortMarginRatioByVolume float64
	IsRelative               int
}

type CThostFtdcSyncingInstrumentTradingRightField

type CThostFtdcSyncingInstrumentTradingRightField struct {
	InstrumentID  string
	InvestorRange byte
	BrokerID      string
	InvestorID    string
	TradingRight  byte
}

type CThostFtdcSyncingInvestorField

type CThostFtdcSyncingInvestorField struct {
	InvestorID         string
	BrokerID           string
	InvestorGroupID    string
	InvestorName       string
	IdentifiedCardType byte
	IdentifiedCardNo   string
	IsActive           int
	Telephone          string
	Address            string
	OpenDate           string
	Mobile             string
	CommModelID        string
	MarginModelID      string
}

type CThostFtdcSyncingInvestorGroupField

type CThostFtdcSyncingInvestorGroupField struct {
	BrokerID          string
	InvestorGroupID   string
	InvestorGroupName string
}

type CThostFtdcSyncingInvestorPositionField

type CThostFtdcSyncingInvestorPositionField struct {
	InstrumentID       string
	BrokerID           string
	InvestorID         string
	PosiDirection      byte
	HedgeFlag          byte
	PositionDate       byte
	YdPosition         int
	Position           int
	LongFrozen         int
	ShortFrozen        int
	LongFrozenAmount   float64
	ShortFrozenAmount  float64
	OpenVolume         int
	CloseVolume        int
	OpenAmount         float64
	CloseAmount        float64
	PositionCost       float64
	PreMargin          float64
	UseMargin          float64
	FrozenMargin       float64
	FrozenCash         float64
	FrozenCommission   float64
	CashIn             float64
	Commission         float64
	CloseProfit        float64
	PositionProfit     float64
	PreSettlementPrice float64
	SettlementPrice    float64
	TradingDay         string
	SettlementID       int
	OpenCost           float64
	ExchangeMargin     float64
	CombPosition       int
	CombLongFrozen     int
	CombShortFrozen    int
	CloseProfitByDate  float64
	CloseProfitByTrade float64
	TodayPosition      int
	MarginRateByMoney  float64
	MarginRateByVolume float64
	StrikeFrozen       int
	StrikeFrozenAmount float64
	AbandonFrozen      int
	ExchangeID         string
	YdStrikeFrozen     int
	InvestUnitID       string
	PositionCostOffset float64
	TasPosition        int
	TasPositionCost    float64
}

type CThostFtdcSyncingTradingAccountField

type CThostFtdcSyncingTradingAccountField struct {
	BrokerID                       string
	AccountID                      string
	PreMortgage                    float64
	PreCredit                      float64
	PreDeposit                     float64
	PreBalance                     float64
	PreMargin                      float64
	InterestBase                   float64
	Interest                       float64
	Deposit                        float64
	Withdraw                       float64
	FrozenMargin                   float64
	FrozenCash                     float64
	FrozenCommission               float64
	CurrMargin                     float64
	CashIn                         float64
	Commission                     float64
	CloseProfit                    float64
	PositionProfit                 float64
	Balance                        float64
	Available                      float64
	WithdrawQuota                  float64
	Reserve                        float64
	TradingDay                     string
	SettlementID                   int
	Credit                         float64
	Mortgage                       float64
	ExchangeMargin                 float64
	DeliveryMargin                 float64
	ExchangeDeliveryMargin         float64
	ReserveBalance                 float64
	CurrencyID                     string
	PreFundMortgageIn              float64
	PreFundMortgageOut             float64
	FundMortgageIn                 float64
	FundMortgageOut                float64
	FundMortgageAvailable          float64
	MortgageableFund               float64
	SpecProductMargin              float64
	SpecProductFrozenMargin        float64
	SpecProductCommission          float64
	SpecProductFrozenCommission    float64
	SpecProductPositionProfit      float64
	SpecProductCloseProfit         float64
	SpecProductPositionProfitByAlg float64
	SpecProductExchangeMargin      float64
	FrozenSwap                     float64
	RemainSwap                     float64
}

type CThostFtdcSyncingTradingCodeField

type CThostFtdcSyncingTradingCodeField struct {
	InvestorID   string
	BrokerID     string
	ExchangeID   string
	ClientID     string
	IsActive     int
	ClientIDType byte
}

type CThostFtdcTradeField

type CThostFtdcTradeField struct {
	BrokerID       string
	InvestorID     string
	InstrumentID   string
	OrderRef       string
	UserID         string
	ExchangeID     string
	TradeID        string
	Direction      byte
	OrderSysID     string
	ParticipantID  string
	ClientID       string
	TradingRole    byte
	ExchangeInstID string
	OffsetFlag     byte
	HedgeFlag      byte
	Price          float64
	Volume         int
	TradeDate      string
	TradeTime      string
	TradeType      byte
	PriceSource    byte
	TraderID       string
	OrderLocalID   string
	ClearingPartID string
	BusinessUnit   string
	SequenceNo     int
	TradingDay     string
	SettlementID   int
	BrokerOrderSeq int
	TradeSource    byte
	InvestUnitID   string
}

func NewCThostFtdcTradeField

func NewCThostFtdcTradeField(p *C.CThostFtdcTradeField) *CThostFtdcTradeField

type CThostFtdcTradeParamField

type CThostFtdcTradeParamField struct {
	BrokerID        string
	TradeParamID    byte
	TradeParamValue string
	Memo            string
}

type CThostFtdcTraderApi

type CThostFtdcTraderApi struct {
	// contains filtered or unexported fields
}

func TdCreateFtdcTraderApi

func TdCreateFtdcTraderApi(pszFlowPath string) *CThostFtdcTraderApi

func (*CThostFtdcTraderApi) GetTradingDay

func (a *CThostFtdcTraderApi) GetTradingDay() string

func (*CThostFtdcTraderApi) Init

func (a *CThostFtdcTraderApi) Init()

func (*CThostFtdcTraderApi) Join

func (a *CThostFtdcTraderApi) Join() int

func (*CThostFtdcTraderApi) RegisterFensUserInfo

func (a *CThostFtdcTraderApi) RegisterFensUserInfo(pFensUserInfo *CThostFtdcFensUserInfoField)

func (*CThostFtdcTraderApi) RegisterFront

func (a *CThostFtdcTraderApi) RegisterFront(pszFrontAddress string)

func (*CThostFtdcTraderApi) RegisterNameServer

func (a *CThostFtdcTraderApi) RegisterNameServer(pszNsAddress string)

func (*CThostFtdcTraderApi) RegisterSpi

func (a *CThostFtdcTraderApi) RegisterSpi(pSpi CThostFtdcTraderSpi)

func (*CThostFtdcTraderApi) RegisterUserSystemInfo

func (a *CThostFtdcTraderApi) RegisterUserSystemInfo(pUserSystemInfo *CThostFtdcUserSystemInfoField) int

func (*CThostFtdcTraderApi) Release

func (a *CThostFtdcTraderApi) Release()

func (*CThostFtdcTraderApi) ReqAuthenticate

func (a *CThostFtdcTraderApi) ReqAuthenticate(pReqAuthenticateField *CThostFtdcReqAuthenticateField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqBatchOrderAction

func (a *CThostFtdcTraderApi) ReqBatchOrderAction(pInputBatchOrderAction *CThostFtdcInputBatchOrderActionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqCombActionInsert

func (a *CThostFtdcTraderApi) ReqCombActionInsert(pInputCombAction *CThostFtdcInputCombActionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqExecOrderAction

func (a *CThostFtdcTraderApi) ReqExecOrderAction(pInputExecOrderAction *CThostFtdcInputExecOrderActionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqExecOrderInsert

func (a *CThostFtdcTraderApi) ReqExecOrderInsert(pInputExecOrder *CThostFtdcInputExecOrderField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqForQuoteInsert

func (a *CThostFtdcTraderApi) ReqForQuoteInsert(pInputForQuote *CThostFtdcInputForQuoteField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqFromBankToFutureByFuture

func (a *CThostFtdcTraderApi) ReqFromBankToFutureByFuture(pReqTransfer *CThostFtdcReqTransferField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqFromFutureToBankByFuture

func (a *CThostFtdcTraderApi) ReqFromFutureToBankByFuture(pReqTransfer *CThostFtdcReqTransferField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqGenUserCaptcha

func (a *CThostFtdcTraderApi) ReqGenUserCaptcha(pReqGenUserCaptcha *CThostFtdcReqGenUserCaptchaField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqGenUserText

func (a *CThostFtdcTraderApi) ReqGenUserText(pReqGenUserText *CThostFtdcReqGenUserTextField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqOptionSelfCloseAction

func (a *CThostFtdcTraderApi) ReqOptionSelfCloseAction(pInputOptionSelfCloseAction *CThostFtdcInputOptionSelfCloseActionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqOptionSelfCloseInsert

func (a *CThostFtdcTraderApi) ReqOptionSelfCloseInsert(pInputOptionSelfClose *CThostFtdcInputOptionSelfCloseField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqOrderAction

func (a *CThostFtdcTraderApi) ReqOrderAction(pInputOrderAction *CThostFtdcInputOrderActionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqOrderInsert

func (a *CThostFtdcTraderApi) ReqOrderInsert(pInputOrder *CThostFtdcInputOrderField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqParkedOrderAction

func (a *CThostFtdcTraderApi) ReqParkedOrderAction(pParkedOrderAction *CThostFtdcParkedOrderActionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqParkedOrderInsert

func (a *CThostFtdcTraderApi) ReqParkedOrderInsert(pParkedOrder *CThostFtdcParkedOrderField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryAccountregister

func (a *CThostFtdcTraderApi) ReqQryAccountregister(pQryAccountregister *CThostFtdcQryAccountregisterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryBrokerTradingAlgos

func (a *CThostFtdcTraderApi) ReqQryBrokerTradingAlgos(pQryBrokerTradingAlgos *CThostFtdcQryBrokerTradingAlgosField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryBrokerTradingParams

func (a *CThostFtdcTraderApi) ReqQryBrokerTradingParams(pQryBrokerTradingParams *CThostFtdcQryBrokerTradingParamsField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryCFMMCTradingAccountKey

func (a *CThostFtdcTraderApi) ReqQryCFMMCTradingAccountKey(pQryCFMMCTradingAccountKey *CThostFtdcQryCFMMCTradingAccountKeyField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryCombAction

func (a *CThostFtdcTraderApi) ReqQryCombAction(pQryCombAction *CThostFtdcQryCombActionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryCombInstrumentGuard

func (a *CThostFtdcTraderApi) ReqQryCombInstrumentGuard(pQryCombInstrumentGuard *CThostFtdcQryCombInstrumentGuardField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryContractBank

func (a *CThostFtdcTraderApi) ReqQryContractBank(pQryContractBank *CThostFtdcQryContractBankField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryDepthMarketData

func (a *CThostFtdcTraderApi) ReqQryDepthMarketData(pQryDepthMarketData *CThostFtdcQryDepthMarketDataField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryEWarrantOffset

func (a *CThostFtdcTraderApi) ReqQryEWarrantOffset(pQryEWarrantOffset *CThostFtdcQryEWarrantOffsetField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryExchange

func (a *CThostFtdcTraderApi) ReqQryExchange(pQryExchange *CThostFtdcQryExchangeField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryExchangeMarginRate

func (a *CThostFtdcTraderApi) ReqQryExchangeMarginRate(pQryExchangeMarginRate *CThostFtdcQryExchangeMarginRateField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryExchangeMarginRateAdjust

func (a *CThostFtdcTraderApi) ReqQryExchangeMarginRateAdjust(pQryExchangeMarginRateAdjust *CThostFtdcQryExchangeMarginRateAdjustField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryExchangeRate

func (a *CThostFtdcTraderApi) ReqQryExchangeRate(pQryExchangeRate *CThostFtdcQryExchangeRateField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryExecOrder

func (a *CThostFtdcTraderApi) ReqQryExecOrder(pQryExecOrder *CThostFtdcQryExecOrderField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryForQuote

func (a *CThostFtdcTraderApi) ReqQryForQuote(pQryForQuote *CThostFtdcQryForQuoteField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInstrument

func (a *CThostFtdcTraderApi) ReqQryInstrument(pQryInstrument *CThostFtdcQryInstrumentField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInstrumentCommissionRate

func (a *CThostFtdcTraderApi) ReqQryInstrumentCommissionRate(pQryInstrumentCommissionRate *CThostFtdcQryInstrumentCommissionRateField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInstrumentMarginRate

func (a *CThostFtdcTraderApi) ReqQryInstrumentMarginRate(pQryInstrumentMarginRate *CThostFtdcQryInstrumentMarginRateField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInstrumentOrderCommRate

func (a *CThostFtdcTraderApi) ReqQryInstrumentOrderCommRate(pQryInstrumentOrderCommRate *CThostFtdcQryInstrumentOrderCommRateField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestUnit

func (a *CThostFtdcTraderApi) ReqQryInvestUnit(pQryInvestUnit *CThostFtdcQryInvestUnitField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestor

func (a *CThostFtdcTraderApi) ReqQryInvestor(pQryInvestor *CThostFtdcQryInvestorField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorPosition

func (a *CThostFtdcTraderApi) ReqQryInvestorPosition(pQryInvestorPosition *CThostFtdcQryInvestorPositionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorPositionCombineDetail

func (a *CThostFtdcTraderApi) ReqQryInvestorPositionCombineDetail(pQryInvestorPositionCombineDetail *CThostFtdcQryInvestorPositionCombineDetailField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorPositionDetail

func (a *CThostFtdcTraderApi) ReqQryInvestorPositionDetail(pQryInvestorPositionDetail *CThostFtdcQryInvestorPositionDetailField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorProductGroupMargin

func (a *CThostFtdcTraderApi) ReqQryInvestorProductGroupMargin(pQryInvestorProductGroupMargin *CThostFtdcQryInvestorProductGroupMarginField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryMMInstrumentCommissionRate

func (a *CThostFtdcTraderApi) ReqQryMMInstrumentCommissionRate(pQryMMInstrumentCommissionRate *CThostFtdcQryMMInstrumentCommissionRateField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryMMOptionInstrCommRate

func (a *CThostFtdcTraderApi) ReqQryMMOptionInstrCommRate(pQryMMOptionInstrCommRate *CThostFtdcQryMMOptionInstrCommRateField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryNotice

func (a *CThostFtdcTraderApi) ReqQryNotice(pQryNotice *CThostFtdcQryNoticeField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryOptionInstrCommRate

func (a *CThostFtdcTraderApi) ReqQryOptionInstrCommRate(pQryOptionInstrCommRate *CThostFtdcQryOptionInstrCommRateField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryOptionInstrTradeCost

func (a *CThostFtdcTraderApi) ReqQryOptionInstrTradeCost(pQryOptionInstrTradeCost *CThostFtdcQryOptionInstrTradeCostField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryOptionSelfClose

func (a *CThostFtdcTraderApi) ReqQryOptionSelfClose(pQryOptionSelfClose *CThostFtdcQryOptionSelfCloseField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryOrder

func (a *CThostFtdcTraderApi) ReqQryOrder(pQryOrder *CThostFtdcQryOrderField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryParkedOrder

func (a *CThostFtdcTraderApi) ReqQryParkedOrder(pQryParkedOrder *CThostFtdcQryParkedOrderField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryParkedOrderAction

func (a *CThostFtdcTraderApi) ReqQryParkedOrderAction(pQryParkedOrderAction *CThostFtdcQryParkedOrderActionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryProduct

func (a *CThostFtdcTraderApi) ReqQryProduct(pQryProduct *CThostFtdcQryProductField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryProductExchRate

func (a *CThostFtdcTraderApi) ReqQryProductExchRate(pQryProductExchRate *CThostFtdcQryProductExchRateField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryProductGroup

func (a *CThostFtdcTraderApi) ReqQryProductGroup(pQryProductGroup *CThostFtdcQryProductGroupField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryQuote

func (a *CThostFtdcTraderApi) ReqQryQuote(pQryQuote *CThostFtdcQryQuoteField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySecAgentACIDMap

func (a *CThostFtdcTraderApi) ReqQrySecAgentACIDMap(pQrySecAgentACIDMap *CThostFtdcQrySecAgentACIDMapField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySecAgentCheckMode

func (a *CThostFtdcTraderApi) ReqQrySecAgentCheckMode(pQrySecAgentCheckMode *CThostFtdcQrySecAgentCheckModeField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySecAgentTradeInfo

func (a *CThostFtdcTraderApi) ReqQrySecAgentTradeInfo(pQrySecAgentTradeInfo *CThostFtdcQrySecAgentTradeInfoField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySecAgentTradingAccount

func (a *CThostFtdcTraderApi) ReqQrySecAgentTradingAccount(pQryTradingAccount *CThostFtdcQryTradingAccountField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySettlementInfo

func (a *CThostFtdcTraderApi) ReqQrySettlementInfo(pQrySettlementInfo *CThostFtdcQrySettlementInfoField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySettlementInfoConfirm

func (a *CThostFtdcTraderApi) ReqQrySettlementInfoConfirm(pQrySettlementInfoConfirm *CThostFtdcQrySettlementInfoConfirmField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryTrade

func (a *CThostFtdcTraderApi) ReqQryTrade(pQryTrade *CThostFtdcQryTradeField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryTradingAccount

func (a *CThostFtdcTraderApi) ReqQryTradingAccount(pQryTradingAccount *CThostFtdcQryTradingAccountField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryTradingCode

func (a *CThostFtdcTraderApi) ReqQryTradingCode(pQryTradingCode *CThostFtdcQryTradingCodeField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryTradingNotice

func (a *CThostFtdcTraderApi) ReqQryTradingNotice(pQryTradingNotice *CThostFtdcQryTradingNoticeField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryTransferBank

func (a *CThostFtdcTraderApi) ReqQryTransferBank(pQryTransferBank *CThostFtdcQryTransferBankField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryTransferSerial

func (a *CThostFtdcTraderApi) ReqQryTransferSerial(pQryTransferSerial *CThostFtdcQryTransferSerialField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQueryBankAccountMoneyByFuture

func (a *CThostFtdcTraderApi) ReqQueryBankAccountMoneyByFuture(pReqQueryAccount *CThostFtdcReqQueryAccountField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQueryCFMMCTradingAccountToken

func (a *CThostFtdcTraderApi) ReqQueryCFMMCTradingAccountToken(pQueryCFMMCTradingAccountToken *CThostFtdcQueryCFMMCTradingAccountTokenField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQueryMaxOrderVolume

func (a *CThostFtdcTraderApi) ReqQueryMaxOrderVolume(pQueryMaxOrderVolume *CThostFtdcQueryMaxOrderVolumeField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQuoteAction

func (a *CThostFtdcTraderApi) ReqQuoteAction(pInputQuoteAction *CThostFtdcInputQuoteActionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQuoteInsert

func (a *CThostFtdcTraderApi) ReqQuoteInsert(pInputQuote *CThostFtdcInputQuoteField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqRemoveParkedOrder

func (a *CThostFtdcTraderApi) ReqRemoveParkedOrder(pRemoveParkedOrder *CThostFtdcRemoveParkedOrderField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqRemoveParkedOrderAction

func (a *CThostFtdcTraderApi) ReqRemoveParkedOrderAction(pRemoveParkedOrderAction *CThostFtdcRemoveParkedOrderActionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqSettlementInfoConfirm

func (a *CThostFtdcTraderApi) ReqSettlementInfoConfirm(pSettlementInfoConfirm *CThostFtdcSettlementInfoConfirmField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqTradingAccountPasswordUpdate

func (a *CThostFtdcTraderApi) ReqTradingAccountPasswordUpdate(pTradingAccountPasswordUpdate *CThostFtdcTradingAccountPasswordUpdateField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqUserAuthMethod

func (a *CThostFtdcTraderApi) ReqUserAuthMethod(pReqUserAuthMethod *CThostFtdcReqUserAuthMethodField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqUserLogin

func (a *CThostFtdcTraderApi) ReqUserLogin(pReqUserLoginField *CThostFtdcReqUserLoginField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqUserLoginWithCaptcha

func (a *CThostFtdcTraderApi) ReqUserLoginWithCaptcha(pReqUserLoginWithCaptcha *CThostFtdcReqUserLoginWithCaptchaField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqUserLoginWithOTP

func (a *CThostFtdcTraderApi) ReqUserLoginWithOTP(pReqUserLoginWithOTP *CThostFtdcReqUserLoginWithOTPField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqUserLoginWithText

func (a *CThostFtdcTraderApi) ReqUserLoginWithText(pReqUserLoginWithText *CThostFtdcReqUserLoginWithTextField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqUserLogout

func (a *CThostFtdcTraderApi) ReqUserLogout(pUserLogout *CThostFtdcUserLogoutField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqUserPasswordUpdate

func (a *CThostFtdcTraderApi) ReqUserPasswordUpdate(pUserPasswordUpdate *CThostFtdcUserPasswordUpdateField, nRequestID int) int

func (*CThostFtdcTraderApi) SubmitUserSystemInfo

func (a *CThostFtdcTraderApi) SubmitUserSystemInfo(pUserSystemInfo *CThostFtdcUserSystemInfoField) int

func (*CThostFtdcTraderApi) SubscribePrivateTopic

func (a *CThostFtdcTraderApi) SubscribePrivateTopic(nResumeType THOST_TE_RESUME_TYPE)

func (*CThostFtdcTraderApi) SubscribePublicTopic

func (a *CThostFtdcTraderApi) SubscribePublicTopic(nResumeType THOST_TE_RESUME_TYPE)

type CThostFtdcTraderField

type CThostFtdcTraderField struct {
	ExchangeID    string
	TraderID      string
	ParticipantID string
	Password      string
	InstallCount  int
	BrokerID      string
}

func NewCThostFtdcTraderField

func NewCThostFtdcTraderField(p *C.CThostFtdcTraderField) *CThostFtdcTraderField

type CThostFtdcTraderOfferField

type CThostFtdcTraderOfferField struct {
	ExchangeID               string
	TraderID                 string
	ParticipantID            string
	Password                 string
	InstallID                int
	OrderLocalID             string
	TraderConnectStatus      byte
	ConnectRequestDate       string
	ConnectRequestTime       string
	LastReportDate           string
	LastReportTime           string
	ConnectDate              string
	ConnectTime              string
	StartDate                string
	StartTime                string
	TradingDay               string
	BrokerID                 string
	MaxTradeID               string
	MaxOrderMessageReference string
}

type CThostFtdcTraderSpi

type CThostFtdcTraderSpi interface {
	OnFrontConnected()
	OnFrontDisconnected(nReason int)
	OnHeartBeatWarning(nTimeLapse int)
	OnRspAuthenticate(pRspAuthenticateField *CThostFtdcRspAuthenticateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspUserLogin(pRspUserLogin *CThostFtdcRspUserLoginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspUserLogout(pUserLogout *CThostFtdcUserLogoutField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspUserPasswordUpdate(pUserPasswordUpdate *CThostFtdcUserPasswordUpdateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspTradingAccountPasswordUpdate(pTradingAccountPasswordUpdate *CThostFtdcTradingAccountPasswordUpdateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspUserAuthMethod(pRspUserAuthMethod *CThostFtdcRspUserAuthMethodField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspGenUserCaptcha(pRspGenUserCaptcha *CThostFtdcRspGenUserCaptchaField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspGenUserText(pRspGenUserText *CThostFtdcRspGenUserTextField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspOrderInsert(pInputOrder *CThostFtdcInputOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspParkedOrderInsert(pParkedOrder *CThostFtdcParkedOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspParkedOrderAction(pParkedOrderAction *CThostFtdcParkedOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspOrderAction(pInputOrderAction *CThostFtdcInputOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQueryMaxOrderVolume(pQueryMaxOrderVolume *CThostFtdcQueryMaxOrderVolumeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspSettlementInfoConfirm(pSettlementInfoConfirm *CThostFtdcSettlementInfoConfirmField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspRemoveParkedOrder(pRemoveParkedOrder *CThostFtdcRemoveParkedOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspRemoveParkedOrderAction(pRemoveParkedOrderAction *CThostFtdcRemoveParkedOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspExecOrderInsert(pInputExecOrder *CThostFtdcInputExecOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspExecOrderAction(pInputExecOrderAction *CThostFtdcInputExecOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspForQuoteInsert(pInputForQuote *CThostFtdcInputForQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQuoteInsert(pInputQuote *CThostFtdcInputQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQuoteAction(pInputQuoteAction *CThostFtdcInputQuoteActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspBatchOrderAction(pInputBatchOrderAction *CThostFtdcInputBatchOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspOptionSelfCloseInsert(pInputOptionSelfClose *CThostFtdcInputOptionSelfCloseField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspOptionSelfCloseAction(pInputOptionSelfCloseAction *CThostFtdcInputOptionSelfCloseActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspCombActionInsert(pInputCombAction *CThostFtdcInputCombActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryOrder(pOrder *CThostFtdcOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTrade(pTrade *CThostFtdcTradeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorPosition(pInvestorPosition *CThostFtdcInvestorPositionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTradingAccount(pTradingAccount *CThostFtdcTradingAccountField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestor(pInvestor *CThostFtdcInvestorField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTradingCode(pTradingCode *CThostFtdcTradingCodeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInstrumentMarginRate(pInstrumentMarginRate *CThostFtdcInstrumentMarginRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInstrumentCommissionRate(pInstrumentCommissionRate *CThostFtdcInstrumentCommissionRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryExchange(pExchange *CThostFtdcExchangeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryProduct(pProduct *CThostFtdcProductField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInstrument(pInstrument *CThostFtdcInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryDepthMarketData(pDepthMarketData *CThostFtdcDepthMarketDataField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySettlementInfo(pSettlementInfo *CThostFtdcSettlementInfoField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTransferBank(pTransferBank *CThostFtdcTransferBankField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorPositionDetail(pInvestorPositionDetail *CThostFtdcInvestorPositionDetailField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryNotice(pNotice *CThostFtdcNoticeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySettlementInfoConfirm(pSettlementInfoConfirm *CThostFtdcSettlementInfoConfirmField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorPositionCombineDetail(pInvestorPositionCombineDetail *CThostFtdcInvestorPositionCombineDetailField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryCFMMCTradingAccountKey(pCFMMCTradingAccountKey *CThostFtdcCFMMCTradingAccountKeyField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryEWarrantOffset(pEWarrantOffset *CThostFtdcEWarrantOffsetField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorProductGroupMargin(pInvestorProductGroupMargin *CThostFtdcInvestorProductGroupMarginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryExchangeMarginRate(pExchangeMarginRate *CThostFtdcExchangeMarginRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryExchangeMarginRateAdjust(pExchangeMarginRateAdjust *CThostFtdcExchangeMarginRateAdjustField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryExchangeRate(pExchangeRate *CThostFtdcExchangeRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySecAgentACIDMap(pSecAgentACIDMap *CThostFtdcSecAgentACIDMapField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryProductExchRate(pProductExchRate *CThostFtdcProductExchRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryProductGroup(pProductGroup *CThostFtdcProductGroupField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryMMInstrumentCommissionRate(pMMInstrumentCommissionRate *CThostFtdcMMInstrumentCommissionRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryMMOptionInstrCommRate(pMMOptionInstrCommRate *CThostFtdcMMOptionInstrCommRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInstrumentOrderCommRate(pInstrumentOrderCommRate *CThostFtdcInstrumentOrderCommRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySecAgentTradingAccount(pTradingAccount *CThostFtdcTradingAccountField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySecAgentCheckMode(pSecAgentCheckMode *CThostFtdcSecAgentCheckModeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySecAgentTradeInfo(pSecAgentTradeInfo *CThostFtdcSecAgentTradeInfoField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryOptionInstrTradeCost(pOptionInstrTradeCost *CThostFtdcOptionInstrTradeCostField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryOptionInstrCommRate(pOptionInstrCommRate *CThostFtdcOptionInstrCommRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryExecOrder(pExecOrder *CThostFtdcExecOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryForQuote(pForQuote *CThostFtdcForQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryQuote(pQuote *CThostFtdcQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryOptionSelfClose(pOptionSelfClose *CThostFtdcOptionSelfCloseField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestUnit(pInvestUnit *CThostFtdcInvestUnitField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryCombInstrumentGuard(pCombInstrumentGuard *CThostFtdcCombInstrumentGuardField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryCombAction(pCombAction *CThostFtdcCombActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTransferSerial(pTransferSerial *CThostFtdcTransferSerialField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryAccountregister(pAccountregister *CThostFtdcAccountregisterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspError(pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRtnOrder(pOrder *CThostFtdcOrderField)
	OnRtnTrade(pTrade *CThostFtdcTradeField)
	OnErrRtnOrderInsert(pInputOrder *CThostFtdcInputOrderField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnOrderAction(pOrderAction *CThostFtdcOrderActionField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnInstrumentStatus(pInstrumentStatus *CThostFtdcInstrumentStatusField)
	OnRtnBulletin(pBulletin *CThostFtdcBulletinField)
	OnRtnTradingNotice(pTradingNoticeInfo *CThostFtdcTradingNoticeInfoField)
	OnRtnErrorConditionalOrder(pErrorConditionalOrder *CThostFtdcErrorConditionalOrderField)
	OnRtnExecOrder(pExecOrder *CThostFtdcExecOrderField)
	OnErrRtnExecOrderInsert(pInputExecOrder *CThostFtdcInputExecOrderField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnExecOrderAction(pExecOrderAction *CThostFtdcExecOrderActionField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnForQuoteInsert(pInputForQuote *CThostFtdcInputForQuoteField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnQuote(pQuote *CThostFtdcQuoteField)
	OnErrRtnQuoteInsert(pInputQuote *CThostFtdcInputQuoteField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnQuoteAction(pQuoteAction *CThostFtdcQuoteActionField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnForQuoteRsp(pForQuoteRsp *CThostFtdcForQuoteRspField)
	OnRtnCFMMCTradingAccountToken(pCFMMCTradingAccountToken *CThostFtdcCFMMCTradingAccountTokenField)
	OnErrRtnBatchOrderAction(pBatchOrderAction *CThostFtdcBatchOrderActionField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnOptionSelfClose(pOptionSelfClose *CThostFtdcOptionSelfCloseField)
	OnErrRtnOptionSelfCloseInsert(pInputOptionSelfClose *CThostFtdcInputOptionSelfCloseField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnOptionSelfCloseAction(pOptionSelfCloseAction *CThostFtdcOptionSelfCloseActionField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnCombAction(pCombAction *CThostFtdcCombActionField)
	OnErrRtnCombActionInsert(pInputCombAction *CThostFtdcInputCombActionField, pRspInfo *CThostFtdcRspInfoField)
	OnRspQryContractBank(pContractBank *CThostFtdcContractBankField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryParkedOrder(pParkedOrder *CThostFtdcParkedOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryParkedOrderAction(pParkedOrderAction *CThostFtdcParkedOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTradingNotice(pTradingNotice *CThostFtdcTradingNoticeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryBrokerTradingParams(pBrokerTradingParams *CThostFtdcBrokerTradingParamsField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryBrokerTradingAlgos(pBrokerTradingAlgos *CThostFtdcBrokerTradingAlgosField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQueryCFMMCTradingAccountToken(pQueryCFMMCTradingAccountToken *CThostFtdcQueryCFMMCTradingAccountTokenField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRtnFromBankToFutureByBank(pRspTransfer *CThostFtdcRspTransferField)
	OnRtnFromFutureToBankByBank(pRspTransfer *CThostFtdcRspTransferField)
	OnRtnRepealFromBankToFutureByBank(pRspRepeal *CThostFtdcRspRepealField)
	OnRtnRepealFromFutureToBankByBank(pRspRepeal *CThostFtdcRspRepealField)
	OnRtnFromBankToFutureByFuture(pRspTransfer *CThostFtdcRspTransferField)
	OnRtnFromFutureToBankByFuture(pRspTransfer *CThostFtdcRspTransferField)
	OnRtnRepealFromBankToFutureByFutureManual(pRspRepeal *CThostFtdcRspRepealField)
	OnRtnRepealFromFutureToBankByFutureManual(pRspRepeal *CThostFtdcRspRepealField)
	OnRtnQueryBankBalanceByFuture(pNotifyQueryAccount *CThostFtdcNotifyQueryAccountField)
	OnErrRtnBankToFutureByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnFutureToBankByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnRepealBankToFutureByFutureManual(pReqRepeal *CThostFtdcReqRepealField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnRepealFutureToBankByFutureManual(pReqRepeal *CThostFtdcReqRepealField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnQueryBankBalanceByFuture(pReqQueryAccount *CThostFtdcReqQueryAccountField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnRepealFromBankToFutureByFuture(pRspRepeal *CThostFtdcRspRepealField)
	OnRtnRepealFromFutureToBankByFuture(pRspRepeal *CThostFtdcRspRepealField)
	OnRspFromBankToFutureByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspFromFutureToBankByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQueryBankAccountMoneyByFuture(pReqQueryAccount *CThostFtdcReqQueryAccountField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRtnOpenAccountByBank(pOpenAccount *CThostFtdcOpenAccountField)
	OnRtnCancelAccountByBank(pCancelAccount *CThostFtdcCancelAccountField)
	OnRtnChangeAccountByBank(pChangeAccount *CThostFtdcChangeAccountField)
}

type CThostFtdcTraderSpiBase

type CThostFtdcTraderSpiBase struct {
}

func (*CThostFtdcTraderSpiBase) OnErrRtnBankToFutureByFuture

func (b *CThostFtdcTraderSpiBase) OnErrRtnBankToFutureByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnBatchOrderAction

func (b *CThostFtdcTraderSpiBase) OnErrRtnBatchOrderAction(pBatchOrderAction *CThostFtdcBatchOrderActionField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnCombActionInsert

func (b *CThostFtdcTraderSpiBase) OnErrRtnCombActionInsert(pInputCombAction *CThostFtdcInputCombActionField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnExecOrderAction

func (b *CThostFtdcTraderSpiBase) OnErrRtnExecOrderAction(pExecOrderAction *CThostFtdcExecOrderActionField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnExecOrderInsert

func (b *CThostFtdcTraderSpiBase) OnErrRtnExecOrderInsert(pInputExecOrder *CThostFtdcInputExecOrderField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnForQuoteInsert

func (b *CThostFtdcTraderSpiBase) OnErrRtnForQuoteInsert(pInputForQuote *CThostFtdcInputForQuoteField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnFutureToBankByFuture

func (b *CThostFtdcTraderSpiBase) OnErrRtnFutureToBankByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnOptionSelfCloseAction

func (b *CThostFtdcTraderSpiBase) OnErrRtnOptionSelfCloseAction(pOptionSelfCloseAction *CThostFtdcOptionSelfCloseActionField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnOptionSelfCloseInsert

func (b *CThostFtdcTraderSpiBase) OnErrRtnOptionSelfCloseInsert(pInputOptionSelfClose *CThostFtdcInputOptionSelfCloseField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnOrderAction

func (b *CThostFtdcTraderSpiBase) OnErrRtnOrderAction(pOrderAction *CThostFtdcOrderActionField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnOrderInsert

func (b *CThostFtdcTraderSpiBase) OnErrRtnOrderInsert(pInputOrder *CThostFtdcInputOrderField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnQueryBankBalanceByFuture

func (b *CThostFtdcTraderSpiBase) OnErrRtnQueryBankBalanceByFuture(pReqQueryAccount *CThostFtdcReqQueryAccountField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnQuoteAction

func (b *CThostFtdcTraderSpiBase) OnErrRtnQuoteAction(pQuoteAction *CThostFtdcQuoteActionField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnQuoteInsert

func (b *CThostFtdcTraderSpiBase) OnErrRtnQuoteInsert(pInputQuote *CThostFtdcInputQuoteField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnRepealBankToFutureByFutureManual

func (b *CThostFtdcTraderSpiBase) OnErrRtnRepealBankToFutureByFutureManual(pReqRepeal *CThostFtdcReqRepealField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnRepealFutureToBankByFutureManual

func (b *CThostFtdcTraderSpiBase) OnErrRtnRepealFutureToBankByFutureManual(pReqRepeal *CThostFtdcReqRepealField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnFrontConnected

func (b *CThostFtdcTraderSpiBase) OnFrontConnected()

func (*CThostFtdcTraderSpiBase) OnFrontDisconnected

func (b *CThostFtdcTraderSpiBase) OnFrontDisconnected(nReason int)

func (*CThostFtdcTraderSpiBase) OnHeartBeatWarning

func (b *CThostFtdcTraderSpiBase) OnHeartBeatWarning(nTimeLapse int)

func (*CThostFtdcTraderSpiBase) OnRspAuthenticate

func (b *CThostFtdcTraderSpiBase) OnRspAuthenticate(pRspAuthenticateField *CThostFtdcRspAuthenticateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspBatchOrderAction

func (b *CThostFtdcTraderSpiBase) OnRspBatchOrderAction(pInputBatchOrderAction *CThostFtdcInputBatchOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspCombActionInsert

func (b *CThostFtdcTraderSpiBase) OnRspCombActionInsert(pInputCombAction *CThostFtdcInputCombActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspError

func (b *CThostFtdcTraderSpiBase) OnRspError(pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspExecOrderAction

func (b *CThostFtdcTraderSpiBase) OnRspExecOrderAction(pInputExecOrderAction *CThostFtdcInputExecOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspExecOrderInsert

func (b *CThostFtdcTraderSpiBase) OnRspExecOrderInsert(pInputExecOrder *CThostFtdcInputExecOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspForQuoteInsert

func (b *CThostFtdcTraderSpiBase) OnRspForQuoteInsert(pInputForQuote *CThostFtdcInputForQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspFromBankToFutureByFuture

func (b *CThostFtdcTraderSpiBase) OnRspFromBankToFutureByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspFromFutureToBankByFuture

func (b *CThostFtdcTraderSpiBase) OnRspFromFutureToBankByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspGenUserCaptcha

func (b *CThostFtdcTraderSpiBase) OnRspGenUserCaptcha(pRspGenUserCaptcha *CThostFtdcRspGenUserCaptchaField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspGenUserText

func (b *CThostFtdcTraderSpiBase) OnRspGenUserText(pRspGenUserText *CThostFtdcRspGenUserTextField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspOptionSelfCloseAction

func (b *CThostFtdcTraderSpiBase) OnRspOptionSelfCloseAction(pInputOptionSelfCloseAction *CThostFtdcInputOptionSelfCloseActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspOptionSelfCloseInsert

func (b *CThostFtdcTraderSpiBase) OnRspOptionSelfCloseInsert(pInputOptionSelfClose *CThostFtdcInputOptionSelfCloseField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspOrderAction

func (b *CThostFtdcTraderSpiBase) OnRspOrderAction(pInputOrderAction *CThostFtdcInputOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspOrderInsert

func (b *CThostFtdcTraderSpiBase) OnRspOrderInsert(pInputOrder *CThostFtdcInputOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspParkedOrderAction

func (b *CThostFtdcTraderSpiBase) OnRspParkedOrderAction(pParkedOrderAction *CThostFtdcParkedOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspParkedOrderInsert

func (b *CThostFtdcTraderSpiBase) OnRspParkedOrderInsert(pParkedOrder *CThostFtdcParkedOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryAccountregister

func (b *CThostFtdcTraderSpiBase) OnRspQryAccountregister(pAccountregister *CThostFtdcAccountregisterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryBrokerTradingAlgos

func (b *CThostFtdcTraderSpiBase) OnRspQryBrokerTradingAlgos(pBrokerTradingAlgos *CThostFtdcBrokerTradingAlgosField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryBrokerTradingParams

func (b *CThostFtdcTraderSpiBase) OnRspQryBrokerTradingParams(pBrokerTradingParams *CThostFtdcBrokerTradingParamsField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryCFMMCTradingAccountKey

func (b *CThostFtdcTraderSpiBase) OnRspQryCFMMCTradingAccountKey(pCFMMCTradingAccountKey *CThostFtdcCFMMCTradingAccountKeyField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryCombAction

func (b *CThostFtdcTraderSpiBase) OnRspQryCombAction(pCombAction *CThostFtdcCombActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryCombInstrumentGuard

func (b *CThostFtdcTraderSpiBase) OnRspQryCombInstrumentGuard(pCombInstrumentGuard *CThostFtdcCombInstrumentGuardField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryContractBank

func (b *CThostFtdcTraderSpiBase) OnRspQryContractBank(pContractBank *CThostFtdcContractBankField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryDepthMarketData

func (b *CThostFtdcTraderSpiBase) OnRspQryDepthMarketData(pDepthMarketData *CThostFtdcDepthMarketDataField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryEWarrantOffset

func (b *CThostFtdcTraderSpiBase) OnRspQryEWarrantOffset(pEWarrantOffset *CThostFtdcEWarrantOffsetField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryExchange

func (b *CThostFtdcTraderSpiBase) OnRspQryExchange(pExchange *CThostFtdcExchangeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryExchangeMarginRate

func (b *CThostFtdcTraderSpiBase) OnRspQryExchangeMarginRate(pExchangeMarginRate *CThostFtdcExchangeMarginRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryExchangeMarginRateAdjust

func (b *CThostFtdcTraderSpiBase) OnRspQryExchangeMarginRateAdjust(pExchangeMarginRateAdjust *CThostFtdcExchangeMarginRateAdjustField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryExchangeRate

func (b *CThostFtdcTraderSpiBase) OnRspQryExchangeRate(pExchangeRate *CThostFtdcExchangeRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryExecOrder

func (b *CThostFtdcTraderSpiBase) OnRspQryExecOrder(pExecOrder *CThostFtdcExecOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryForQuote

func (b *CThostFtdcTraderSpiBase) OnRspQryForQuote(pForQuote *CThostFtdcForQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInstrument

func (b *CThostFtdcTraderSpiBase) OnRspQryInstrument(pInstrument *CThostFtdcInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInstrumentCommissionRate

func (b *CThostFtdcTraderSpiBase) OnRspQryInstrumentCommissionRate(pInstrumentCommissionRate *CThostFtdcInstrumentCommissionRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInstrumentMarginRate

func (b *CThostFtdcTraderSpiBase) OnRspQryInstrumentMarginRate(pInstrumentMarginRate *CThostFtdcInstrumentMarginRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInstrumentOrderCommRate

func (b *CThostFtdcTraderSpiBase) OnRspQryInstrumentOrderCommRate(pInstrumentOrderCommRate *CThostFtdcInstrumentOrderCommRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestUnit

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestUnit(pInvestUnit *CThostFtdcInvestUnitField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestor

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestor(pInvestor *CThostFtdcInvestorField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorPosition

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorPosition(pInvestorPosition *CThostFtdcInvestorPositionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorPositionCombineDetail

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorPositionCombineDetail(pInvestorPositionCombineDetail *CThostFtdcInvestorPositionCombineDetailField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorPositionDetail

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorPositionDetail(pInvestorPositionDetail *CThostFtdcInvestorPositionDetailField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorProductGroupMargin

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorProductGroupMargin(pInvestorProductGroupMargin *CThostFtdcInvestorProductGroupMarginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryMMInstrumentCommissionRate

func (b *CThostFtdcTraderSpiBase) OnRspQryMMInstrumentCommissionRate(pMMInstrumentCommissionRate *CThostFtdcMMInstrumentCommissionRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryMMOptionInstrCommRate

func (b *CThostFtdcTraderSpiBase) OnRspQryMMOptionInstrCommRate(pMMOptionInstrCommRate *CThostFtdcMMOptionInstrCommRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryNotice

func (b *CThostFtdcTraderSpiBase) OnRspQryNotice(pNotice *CThostFtdcNoticeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryOptionInstrCommRate

func (b *CThostFtdcTraderSpiBase) OnRspQryOptionInstrCommRate(pOptionInstrCommRate *CThostFtdcOptionInstrCommRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryOptionInstrTradeCost

func (b *CThostFtdcTraderSpiBase) OnRspQryOptionInstrTradeCost(pOptionInstrTradeCost *CThostFtdcOptionInstrTradeCostField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryOptionSelfClose

func (b *CThostFtdcTraderSpiBase) OnRspQryOptionSelfClose(pOptionSelfClose *CThostFtdcOptionSelfCloseField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryOrder

func (b *CThostFtdcTraderSpiBase) OnRspQryOrder(pOrder *CThostFtdcOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryParkedOrder

func (b *CThostFtdcTraderSpiBase) OnRspQryParkedOrder(pParkedOrder *CThostFtdcParkedOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryParkedOrderAction

func (b *CThostFtdcTraderSpiBase) OnRspQryParkedOrderAction(pParkedOrderAction *CThostFtdcParkedOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryProduct

func (b *CThostFtdcTraderSpiBase) OnRspQryProduct(pProduct *CThostFtdcProductField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryProductExchRate

func (b *CThostFtdcTraderSpiBase) OnRspQryProductExchRate(pProductExchRate *CThostFtdcProductExchRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryProductGroup

func (b *CThostFtdcTraderSpiBase) OnRspQryProductGroup(pProductGroup *CThostFtdcProductGroupField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryQuote

func (b *CThostFtdcTraderSpiBase) OnRspQryQuote(pQuote *CThostFtdcQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySecAgentACIDMap

func (b *CThostFtdcTraderSpiBase) OnRspQrySecAgentACIDMap(pSecAgentACIDMap *CThostFtdcSecAgentACIDMapField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySecAgentCheckMode

func (b *CThostFtdcTraderSpiBase) OnRspQrySecAgentCheckMode(pSecAgentCheckMode *CThostFtdcSecAgentCheckModeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySecAgentTradeInfo

func (b *CThostFtdcTraderSpiBase) OnRspQrySecAgentTradeInfo(pSecAgentTradeInfo *CThostFtdcSecAgentTradeInfoField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySecAgentTradingAccount

func (b *CThostFtdcTraderSpiBase) OnRspQrySecAgentTradingAccount(pTradingAccount *CThostFtdcTradingAccountField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySettlementInfo

func (b *CThostFtdcTraderSpiBase) OnRspQrySettlementInfo(pSettlementInfo *CThostFtdcSettlementInfoField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySettlementInfoConfirm

func (b *CThostFtdcTraderSpiBase) OnRspQrySettlementInfoConfirm(pSettlementInfoConfirm *CThostFtdcSettlementInfoConfirmField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryTrade

func (b *CThostFtdcTraderSpiBase) OnRspQryTrade(pTrade *CThostFtdcTradeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryTradingAccount

func (b *CThostFtdcTraderSpiBase) OnRspQryTradingAccount(pTradingAccount *CThostFtdcTradingAccountField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryTradingCode

func (b *CThostFtdcTraderSpiBase) OnRspQryTradingCode(pTradingCode *CThostFtdcTradingCodeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryTradingNotice

func (b *CThostFtdcTraderSpiBase) OnRspQryTradingNotice(pTradingNotice *CThostFtdcTradingNoticeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryTransferBank

func (b *CThostFtdcTraderSpiBase) OnRspQryTransferBank(pTransferBank *CThostFtdcTransferBankField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryTransferSerial

func (b *CThostFtdcTraderSpiBase) OnRspQryTransferSerial(pTransferSerial *CThostFtdcTransferSerialField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQueryBankAccountMoneyByFuture

func (b *CThostFtdcTraderSpiBase) OnRspQueryBankAccountMoneyByFuture(pReqQueryAccount *CThostFtdcReqQueryAccountField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQueryCFMMCTradingAccountToken

func (b *CThostFtdcTraderSpiBase) OnRspQueryCFMMCTradingAccountToken(pQueryCFMMCTradingAccountToken *CThostFtdcQueryCFMMCTradingAccountTokenField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQueryMaxOrderVolume

func (b *CThostFtdcTraderSpiBase) OnRspQueryMaxOrderVolume(pQueryMaxOrderVolume *CThostFtdcQueryMaxOrderVolumeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQuoteAction

func (b *CThostFtdcTraderSpiBase) OnRspQuoteAction(pInputQuoteAction *CThostFtdcInputQuoteActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQuoteInsert

func (b *CThostFtdcTraderSpiBase) OnRspQuoteInsert(pInputQuote *CThostFtdcInputQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspRemoveParkedOrder

func (b *CThostFtdcTraderSpiBase) OnRspRemoveParkedOrder(pRemoveParkedOrder *CThostFtdcRemoveParkedOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspRemoveParkedOrderAction

func (b *CThostFtdcTraderSpiBase) OnRspRemoveParkedOrderAction(pRemoveParkedOrderAction *CThostFtdcRemoveParkedOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspSettlementInfoConfirm

func (b *CThostFtdcTraderSpiBase) OnRspSettlementInfoConfirm(pSettlementInfoConfirm *CThostFtdcSettlementInfoConfirmField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspTradingAccountPasswordUpdate

func (b *CThostFtdcTraderSpiBase) OnRspTradingAccountPasswordUpdate(pTradingAccountPasswordUpdate *CThostFtdcTradingAccountPasswordUpdateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspUserAuthMethod

func (b *CThostFtdcTraderSpiBase) OnRspUserAuthMethod(pRspUserAuthMethod *CThostFtdcRspUserAuthMethodField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspUserLogin

func (b *CThostFtdcTraderSpiBase) OnRspUserLogin(pRspUserLogin *CThostFtdcRspUserLoginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspUserLogout

func (b *CThostFtdcTraderSpiBase) OnRspUserLogout(pUserLogout *CThostFtdcUserLogoutField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspUserPasswordUpdate

func (b *CThostFtdcTraderSpiBase) OnRspUserPasswordUpdate(pUserPasswordUpdate *CThostFtdcUserPasswordUpdateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRtnBulletin

func (b *CThostFtdcTraderSpiBase) OnRtnBulletin(pBulletin *CThostFtdcBulletinField)

func (*CThostFtdcTraderSpiBase) OnRtnCFMMCTradingAccountToken

func (b *CThostFtdcTraderSpiBase) OnRtnCFMMCTradingAccountToken(pCFMMCTradingAccountToken *CThostFtdcCFMMCTradingAccountTokenField)

func (*CThostFtdcTraderSpiBase) OnRtnCancelAccountByBank

func (b *CThostFtdcTraderSpiBase) OnRtnCancelAccountByBank(pCancelAccount *CThostFtdcCancelAccountField)

func (*CThostFtdcTraderSpiBase) OnRtnChangeAccountByBank

func (b *CThostFtdcTraderSpiBase) OnRtnChangeAccountByBank(pChangeAccount *CThostFtdcChangeAccountField)

func (*CThostFtdcTraderSpiBase) OnRtnCombAction

func (b *CThostFtdcTraderSpiBase) OnRtnCombAction(pCombAction *CThostFtdcCombActionField)

func (*CThostFtdcTraderSpiBase) OnRtnErrorConditionalOrder

func (b *CThostFtdcTraderSpiBase) OnRtnErrorConditionalOrder(pErrorConditionalOrder *CThostFtdcErrorConditionalOrderField)

func (*CThostFtdcTraderSpiBase) OnRtnExecOrder

func (b *CThostFtdcTraderSpiBase) OnRtnExecOrder(pExecOrder *CThostFtdcExecOrderField)

func (*CThostFtdcTraderSpiBase) OnRtnForQuoteRsp

func (b *CThostFtdcTraderSpiBase) OnRtnForQuoteRsp(pForQuoteRsp *CThostFtdcForQuoteRspField)

func (*CThostFtdcTraderSpiBase) OnRtnFromBankToFutureByBank

func (b *CThostFtdcTraderSpiBase) OnRtnFromBankToFutureByBank(pRspTransfer *CThostFtdcRspTransferField)

func (*CThostFtdcTraderSpiBase) OnRtnFromBankToFutureByFuture

func (b *CThostFtdcTraderSpiBase) OnRtnFromBankToFutureByFuture(pRspTransfer *CThostFtdcRspTransferField)

func (*CThostFtdcTraderSpiBase) OnRtnFromFutureToBankByBank

func (b *CThostFtdcTraderSpiBase) OnRtnFromFutureToBankByBank(pRspTransfer *CThostFtdcRspTransferField)

func (*CThostFtdcTraderSpiBase) OnRtnFromFutureToBankByFuture

func (b *CThostFtdcTraderSpiBase) OnRtnFromFutureToBankByFuture(pRspTransfer *CThostFtdcRspTransferField)

func (*CThostFtdcTraderSpiBase) OnRtnInstrumentStatus

func (b *CThostFtdcTraderSpiBase) OnRtnInstrumentStatus(pInstrumentStatus *CThostFtdcInstrumentStatusField)

func (*CThostFtdcTraderSpiBase) OnRtnOpenAccountByBank

func (b *CThostFtdcTraderSpiBase) OnRtnOpenAccountByBank(pOpenAccount *CThostFtdcOpenAccountField)

func (*CThostFtdcTraderSpiBase) OnRtnOptionSelfClose

func (b *CThostFtdcTraderSpiBase) OnRtnOptionSelfClose(pOptionSelfClose *CThostFtdcOptionSelfCloseField)

func (*CThostFtdcTraderSpiBase) OnRtnOrder

func (b *CThostFtdcTraderSpiBase) OnRtnOrder(pOrder *CThostFtdcOrderField)

func (*CThostFtdcTraderSpiBase) OnRtnQueryBankBalanceByFuture

func (b *CThostFtdcTraderSpiBase) OnRtnQueryBankBalanceByFuture(pNotifyQueryAccount *CThostFtdcNotifyQueryAccountField)

func (*CThostFtdcTraderSpiBase) OnRtnQuote

func (b *CThostFtdcTraderSpiBase) OnRtnQuote(pQuote *CThostFtdcQuoteField)

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromBankToFutureByBank

func (b *CThostFtdcTraderSpiBase) OnRtnRepealFromBankToFutureByBank(pRspRepeal *CThostFtdcRspRepealField)

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromBankToFutureByFuture

func (b *CThostFtdcTraderSpiBase) OnRtnRepealFromBankToFutureByFuture(pRspRepeal *CThostFtdcRspRepealField)

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromBankToFutureByFutureManual

func (b *CThostFtdcTraderSpiBase) OnRtnRepealFromBankToFutureByFutureManual(pRspRepeal *CThostFtdcRspRepealField)

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromFutureToBankByBank

func (b *CThostFtdcTraderSpiBase) OnRtnRepealFromFutureToBankByBank(pRspRepeal *CThostFtdcRspRepealField)

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromFutureToBankByFuture

func (b *CThostFtdcTraderSpiBase) OnRtnRepealFromFutureToBankByFuture(pRspRepeal *CThostFtdcRspRepealField)

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromFutureToBankByFutureManual

func (b *CThostFtdcTraderSpiBase) OnRtnRepealFromFutureToBankByFutureManual(pRspRepeal *CThostFtdcRspRepealField)

func (*CThostFtdcTraderSpiBase) OnRtnTrade

func (b *CThostFtdcTraderSpiBase) OnRtnTrade(pTrade *CThostFtdcTradeField)

func (*CThostFtdcTraderSpiBase) OnRtnTradingNotice

func (b *CThostFtdcTraderSpiBase) OnRtnTradingNotice(pTradingNoticeInfo *CThostFtdcTradingNoticeInfoField)

type CThostFtdcTradingAccountField

type CThostFtdcTradingAccountField struct {
	BrokerID                       string
	AccountID                      string
	PreMortgage                    float64
	PreCredit                      float64
	PreDeposit                     float64
	PreBalance                     float64
	PreMargin                      float64
	InterestBase                   float64
	Interest                       float64
	Deposit                        float64
	Withdraw                       float64
	FrozenMargin                   float64
	FrozenCash                     float64
	FrozenCommission               float64
	CurrMargin                     float64
	CashIn                         float64
	Commission                     float64
	CloseProfit                    float64
	PositionProfit                 float64
	Balance                        float64
	Available                      float64
	WithdrawQuota                  float64
	Reserve                        float64
	TradingDay                     string
	SettlementID                   int
	Credit                         float64
	Mortgage                       float64
	ExchangeMargin                 float64
	DeliveryMargin                 float64
	ExchangeDeliveryMargin         float64
	ReserveBalance                 float64
	CurrencyID                     string
	PreFundMortgageIn              float64
	PreFundMortgageOut             float64
	FundMortgageIn                 float64
	FundMortgageOut                float64
	FundMortgageAvailable          float64
	MortgageableFund               float64
	SpecProductMargin              float64
	SpecProductFrozenMargin        float64
	SpecProductCommission          float64
	SpecProductFrozenCommission    float64
	SpecProductPositionProfit      float64
	SpecProductCloseProfit         float64
	SpecProductPositionProfitByAlg float64
	SpecProductExchangeMargin      float64
	BizType                        byte
	FrozenSwap                     float64
	RemainSwap                     float64
}

type CThostFtdcTradingAccountPasswordField

type CThostFtdcTradingAccountPasswordField struct {
	BrokerID   string
	AccountID  string
	Password   string
	CurrencyID string
}

type CThostFtdcTradingAccountPasswordUpdateField

type CThostFtdcTradingAccountPasswordUpdateField struct {
	BrokerID    string
	AccountID   string
	OldPassword string
	NewPassword string
	CurrencyID  string
}

type CThostFtdcTradingAccountPasswordUpdateV1Field

type CThostFtdcTradingAccountPasswordUpdateV1Field struct {
	BrokerID    string
	InvestorID  string
	OldPassword string
	NewPassword string
}

type CThostFtdcTradingAccountReserveField

type CThostFtdcTradingAccountReserveField struct {
	BrokerID   string
	AccountID  string
	Reserve    float64
	CurrencyID string
}

type CThostFtdcTradingCodeField

type CThostFtdcTradingCodeField struct {
	InvestorID   string
	BrokerID     string
	ExchangeID   string
	ClientID     string
	IsActive     int
	ClientIDType byte
	BranchID     string
	BizType      byte
	InvestUnitID string
}

type CThostFtdcTradingNoticeField

type CThostFtdcTradingNoticeField struct {
	BrokerID       string
	InvestorRange  byte
	InvestorID     string
	SequenceSeries int16
	UserID         string
	SendTime       string
	SequenceNo     int
	FieldContent   string
	InvestUnitID   string
}

type CThostFtdcTradingNoticeInfoField

type CThostFtdcTradingNoticeInfoField struct {
	BrokerID       string
	InvestorID     string
	SendTime       string
	FieldContent   string
	SequenceSeries int16
	SequenceNo     int
	InvestUnitID   string
}

type CThostFtdcTransferBankField

type CThostFtdcTransferBankField struct {
	BankID     string
	BankBrchID string
	BankName   string
	IsActive   int
}

type CThostFtdcTransferBankToFutureReqField

type CThostFtdcTransferBankToFutureReqField struct {
	FutureAccount string
	FuturePwdFlag byte
	FutureAccPwd  string
	TradeAmt      float64
	CustFee       float64
	CurrencyCode  string
}

type CThostFtdcTransferBankToFutureRspField

type CThostFtdcTransferBankToFutureRspField struct {
	RetCode       string
	RetInfo       string
	FutureAccount string
	TradeAmt      float64
	CustFee       float64
	CurrencyCode  string
}

type CThostFtdcTransferFutureToBankReqField

type CThostFtdcTransferFutureToBankReqField struct {
	FutureAccount string
	FuturePwdFlag byte
	FutureAccPwd  string
	TradeAmt      float64
	CustFee       float64
	CurrencyCode  string
}

type CThostFtdcTransferFutureToBankRspField

type CThostFtdcTransferFutureToBankRspField struct {
	RetCode       string
	RetInfo       string
	FutureAccount string
	TradeAmt      float64
	CustFee       float64
	CurrencyCode  string
}

type CThostFtdcTransferHeaderField

type CThostFtdcTransferHeaderField struct {
	Version     string
	TradeCode   string
	TradeDate   string
	TradeTime   string
	TradeSerial string
	FutureID    string
	BankID      string
	BankBrchID  string
	OperNo      string
	DeviceID    string
	RecordNum   string
	SessionID   int
	RequestID   int
}

type CThostFtdcTransferQryBankReqField

type CThostFtdcTransferQryBankReqField struct {
	FutureAccount string
	FuturePwdFlag byte
	FutureAccPwd  string
	CurrencyCode  string
}

type CThostFtdcTransferQryBankRspField

type CThostFtdcTransferQryBankRspField struct {
	RetCode       string
	RetInfo       string
	FutureAccount string
	TradeAmt      float64
	UseAmt        float64
	FetchAmt      float64
	CurrencyCode  string
}

type CThostFtdcTransferQryDetailReqField

type CThostFtdcTransferQryDetailReqField struct {
	FutureAccount string
}

type CThostFtdcTransferQryDetailRspField

type CThostFtdcTransferQryDetailRspField struct {
	TradeDate     string
	TradeTime     string
	TradeCode     string
	FutureSerial  int
	FutureID      string
	FutureAccount string
	BankSerial    int
	BankID        string
	BankBrchID    string
	BankAccount   string
	CertCode      string
	CurrencyCode  string
	TxAmount      float64
	Flag          byte
}

type CThostFtdcTransferSerialField

type CThostFtdcTransferSerialField struct {
	PlateSerial      int
	TradeDate        string
	TradingDay       string
	TradeTime        string
	TradeCode        string
	SessionID        int
	BankID           string
	BankBranchID     string
	BankAccType      byte
	BankAccount      string
	BankSerial       string
	BrokerID         string
	BrokerBranchID   string
	FutureAccType    byte
	AccountID        string
	InvestorID       string
	FutureSerial     int
	IdCardType       byte
	IdentifiedCardNo string
	CurrencyID       string
	TradeAmount      float64
	CustFee          float64
	BrokerFee        float64
	AvailabilityFlag byte
	OperatorCode     string
	BankNewAccount   string
	ErrorID          int
	ErrorMsg         string
}

type CThostFtdcUserIPField

type CThostFtdcUserIPField struct {
	BrokerID   string
	UserID     string
	IPAddress  string
	IPMask     string
	MacAddress string
}

func NewCThostFtdcUserIPField

func NewCThostFtdcUserIPField(p *C.CThostFtdcUserIPField) *CThostFtdcUserIPField

type CThostFtdcUserLogoutField

type CThostFtdcUserLogoutField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcUserPasswordUpdateField

type CThostFtdcUserPasswordUpdateField struct {
	BrokerID    string
	UserID      string
	OldPassword string
	NewPassword string
}

type CThostFtdcUserRightField

type CThostFtdcUserRightField struct {
	BrokerID      string
	UserID        string
	UserRightType byte
	IsForbidden   int
}

type CThostFtdcUserRightsAssignField

type CThostFtdcUserRightsAssignField struct {
	BrokerID     string
	UserID       string
	DRIdentityID int
}

type CThostFtdcUserSessionField

type CThostFtdcUserSessionField struct {
	FrontID              int
	SessionID            int
	BrokerID             string
	UserID               string
	LoginDate            string
	LoginTime            string
	IPAddress            string
	UserProductInfo      string
	InterfaceProductInfo string
	ProtocolInfo         string
	MacAddress           string
	LoginRemark          string
}

type CThostFtdcUserSystemInfoField

type CThostFtdcUserSystemInfoField struct {
	BrokerID            string
	UserID              string
	ClientSystemInfoLen int
	ClientSystemInfo    string
	ClientPublicIP      string
	ClientIPPort        int
	ClientLoginTime     string
	ClientAppID         string
}

type CThostFtdcVerifyCustInfoField

type CThostFtdcVerifyCustInfoField struct {
	CustomerName     string
	IdCardType       byte
	IdentifiedCardNo string
	CustType         byte
	LongCustomerName string
}

type CThostFtdcVerifyFuturePasswordAndCustInfoField

type CThostFtdcVerifyFuturePasswordAndCustInfoField struct {
	CustomerName     string
	IdCardType       byte
	IdentifiedCardNo string
	CustType         byte
	AccountID        string
	Password         string
	CurrencyID       string
	LongCustomerName string
}

type CThostFtdcVerifyFuturePasswordField

type CThostFtdcVerifyFuturePasswordField struct {
	TradeCode      string
	BankID         string
	BankBranchID   string
	BrokerID       string
	BrokerBranchID string
	TradeDate      string
	TradeTime      string
	BankSerial     string
	TradingDay     string
	PlateSerial    int
	LastFragment   byte
	SessionID      int
	AccountID      string
	Password       string
	BankAccount    string
	BankPassWord   string
	InstallID      int
	TID            int
	CurrencyID     string
}

type CThostFtdcVerifyInvestorPasswordField

type CThostFtdcVerifyInvestorPasswordField struct {
	BrokerID   string
	InvestorID string
	Password   string
}

type THOST_TE_RESUME_TYPE

type THOST_TE_RESUME_TYPE int
var (
	THOST_TERT_RESTART THOST_TE_RESUME_TYPE = 0
	THOST_TERT_RESUME  THOST_TE_RESUME_TYPE = 1
	THOST_TERT_QUICK   THOST_TE_RESUME_TYPE = 2
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL