ftdc

package
v0.0.0-...-a648b3d Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CThostFtdcAccountPropertyField

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

func (*CThostFtdcAccountPropertyField) Marshal

func (*CThostFtdcAccountPropertyField) Unmarshal

func (m *CThostFtdcAccountPropertyField) Unmarshal(r io.Reader)

type CThostFtdcAccountregisterField

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

func (*CThostFtdcAccountregisterField) Marshal

func (*CThostFtdcAccountregisterField) Unmarshal

func (m *CThostFtdcAccountregisterField) Unmarshal(r io.Reader)

type CThostFtdcAppAuthenticationCodeField

type CThostFtdcAppAuthenticationCodeField struct {
	BrokerID    string
	AppID       string
	AuthCode    string
	PreAuthCode string
	AppType     uint8
}

func (*CThostFtdcAppAuthenticationCodeField) Marshal

func (*CThostFtdcAppAuthenticationCodeField) Unmarshal

type CThostFtdcAppIDAuthAssignField

type CThostFtdcAppIDAuthAssignField struct {
	BrokerID     string
	AppID        string
	DRIdentityID int32
}

func (*CThostFtdcAppIDAuthAssignField) Marshal

func (*CThostFtdcAppIDAuthAssignField) Unmarshal

func (m *CThostFtdcAppIDAuthAssignField) Unmarshal(r io.Reader)

type CThostFtdcAuthenticationCodeField

type CThostFtdcAuthenticationCodeField struct {
	BrokerID        string
	UserProductInfo string
	AuthCode        string
	PreAuthCode     string
}

func (*CThostFtdcAuthenticationCodeField) Marshal

func (*CThostFtdcAuthenticationCodeField) Unmarshal

type CThostFtdcAuthenticationInfoField

type CThostFtdcAuthenticationInfoField struct {
	BrokerID        string
	UserID          string
	UserProductInfo string
	AuthInfo        string
	IsResult        int32
	AppID           string
	AppType         uint8
}

func (*CThostFtdcAuthenticationInfoField) Marshal

func (*CThostFtdcAuthenticationInfoField) Unmarshal

type CThostFtdcBatchOrderActionField

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

func (*CThostFtdcBatchOrderActionField) Marshal

func (*CThostFtdcBatchOrderActionField) Unmarshal

func (m *CThostFtdcBatchOrderActionField) Unmarshal(r io.Reader)

type CThostFtdcBrokerBreakSectionField

type CThostFtdcBrokerBreakSectionField struct {
	ExchangeID string
	BrokerID   string
	TimeStart  string
	TimeEnd    string
	SequenceNo int32
}

func (*CThostFtdcBrokerBreakSectionField) Marshal

func (*CThostFtdcBrokerBreakSectionField) Unmarshal

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
}

func (*CThostFtdcBrokerDepositField) Marshal

func (m *CThostFtdcBrokerDepositField) Marshal(w io.Writer)

func (*CThostFtdcBrokerDepositField) Unmarshal

func (m *CThostFtdcBrokerDepositField) Unmarshal(r io.Reader)

type CThostFtdcBrokerField

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

func (*CThostFtdcBrokerField) Marshal

func (m *CThostFtdcBrokerField) Marshal(w io.Writer)

func (*CThostFtdcBrokerField) Unmarshal

func (m *CThostFtdcBrokerField) Unmarshal(r io.Reader)

type CThostFtdcBrokerLimitPosiField

type CThostFtdcBrokerLimitPosiField struct {
	BrokerID          string
	InstrumentID      string
	ExchangeID        string
	TotalVolume       float64
	LongVolume        float64
	TotalVolumeFrozen float64
	LongVolumeFrozen  float64
}

func (*CThostFtdcBrokerLimitPosiField) Marshal

func (*CThostFtdcBrokerLimitPosiField) Unmarshal

func (m *CThostFtdcBrokerLimitPosiField) Unmarshal(r io.Reader)

type CThostFtdcBrokerLimitPosiParamField

type CThostFtdcBrokerLimitPosiParamField struct {
	BrokerID     string
	InstrumentID string
	ExchangeID   string
	TotalVolume  float64
	LongVolume   float64
}

func (*CThostFtdcBrokerLimitPosiParamField) Marshal

func (*CThostFtdcBrokerLimitPosiParamField) Unmarshal

type CThostFtdcBrokerLockInvestorStockField

type CThostFtdcBrokerLockInvestorStockField struct {
	ExchangeID   string
	BrokerID     string
	InvestorID   string
	InstrumentID string
	Volume       int32
}

func (*CThostFtdcBrokerLockInvestorStockField) Marshal

func (*CThostFtdcBrokerLockInvestorStockField) Unmarshal

type CThostFtdcBrokerSyncField

type CThostFtdcBrokerSyncField struct {
	BrokerID string
}

func (*CThostFtdcBrokerSyncField) Marshal

func (m *CThostFtdcBrokerSyncField) Marshal(w io.Writer)

func (*CThostFtdcBrokerSyncField) Unmarshal

func (m *CThostFtdcBrokerSyncField) Unmarshal(r io.Reader)

type CThostFtdcBrokerTradingAlgosField

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

func (*CThostFtdcBrokerTradingAlgosField) Marshal

func (*CThostFtdcBrokerTradingAlgosField) Unmarshal

type CThostFtdcBrokerTradingParamsField

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

func (*CThostFtdcBrokerTradingParamsField) Marshal

func (*CThostFtdcBrokerTradingParamsField) Unmarshal

type CThostFtdcBrokerUserAuthMethodField

type CThostFtdcBrokerUserAuthMethodField struct {
	BrokerID string
	UserID   string
	IsSms    int32
}

func (*CThostFtdcBrokerUserAuthMethodField) Marshal

func (*CThostFtdcBrokerUserAuthMethodField) Unmarshal

type CThostFtdcBrokerUserEventField

type CThostFtdcBrokerUserEventField struct {
	BrokerID        string
	UserID          string
	UserEventType   uint8
	EventSequenceNo int32
	EventDate       string
	EventTime       string
	UserEventInfo   string
	InvestorID      string
	InstrumentID    string
	ExchangeID      string
}

func (*CThostFtdcBrokerUserEventField) Marshal

func (*CThostFtdcBrokerUserEventField) Unmarshal

func (m *CThostFtdcBrokerUserEventField) Unmarshal(r io.Reader)

type CThostFtdcBrokerUserField

type CThostFtdcBrokerUserField struct {
	BrokerID    string
	UserID      string
	UserName    string
	UserType    uint8
	IsActive    int32
	IsUsingOTP  int32
	IsAuthForce int32
}

func (*CThostFtdcBrokerUserField) Marshal

func (m *CThostFtdcBrokerUserField) Marshal(w io.Writer)

func (*CThostFtdcBrokerUserField) Unmarshal

func (m *CThostFtdcBrokerUserField) Unmarshal(r io.Reader)

type CThostFtdcBrokerUserFunctionField

type CThostFtdcBrokerUserFunctionField struct {
	BrokerID           string
	UserID             string
	BrokerFunctionCode uint8
}

func (*CThostFtdcBrokerUserFunctionField) Marshal

func (*CThostFtdcBrokerUserFunctionField) Unmarshal

type CThostFtdcBrokerUserOTPParamField

type CThostFtdcBrokerUserOTPParamField struct {
	BrokerID     string
	UserID       string
	OTPVendorsID string
	SerialNumber string
	AuthKey      string
	LastDrift    int32
	LastSuccess  int32
	OTPType      uint8
}

func (*CThostFtdcBrokerUserOTPParamField) Marshal

func (*CThostFtdcBrokerUserOTPParamField) Unmarshal

type CThostFtdcBrokerUserPasswordField

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

func (*CThostFtdcBrokerUserPasswordField) Marshal

func (*CThostFtdcBrokerUserPasswordField) Unmarshal

type CThostFtdcBrokerUserRightAssignField

type CThostFtdcBrokerUserRightAssignField struct {
	BrokerID     string
	DRIdentityID int32
	Tradeable    int32
}

func (*CThostFtdcBrokerUserRightAssignField) Marshal

func (*CThostFtdcBrokerUserRightAssignField) Unmarshal

type CThostFtdcBrokerUserSmsCodeField

type CThostFtdcBrokerUserSmsCodeField struct {
	BrokerID string
	UserID   string
	Mobile   string
	SmsCode  string
	SeqNo    int32
	Status   uint8
}

func (*CThostFtdcBrokerUserSmsCodeField) Marshal

func (*CThostFtdcBrokerUserSmsCodeField) Unmarshal

func (m *CThostFtdcBrokerUserSmsCodeField) Unmarshal(r io.Reader)

type CThostFtdcBrokerWithdrawAlgorithmField

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

func (*CThostFtdcBrokerWithdrawAlgorithmField) Marshal

func (*CThostFtdcBrokerWithdrawAlgorithmField) Unmarshal

type CThostFtdcBulletinField

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

func (*CThostFtdcBulletinField) Marshal

func (m *CThostFtdcBulletinField) Marshal(w io.Writer)

func (*CThostFtdcBulletinField) Unmarshal

func (m *CThostFtdcBulletinField) Unmarshal(r io.Reader)

type CThostFtdcCFMMCBrokerKeyField

type CThostFtdcCFMMCBrokerKeyField struct {
	BrokerID      string
	ParticipantID string
	CreateDate    string
	CreateTime    string
	KeyID         int32
	CurrentKey    string
	KeyKind       uint8
}

func (*CThostFtdcCFMMCBrokerKeyField) Marshal

func (m *CThostFtdcCFMMCBrokerKeyField) Marshal(w io.Writer)

func (*CThostFtdcCFMMCBrokerKeyField) Unmarshal

func (m *CThostFtdcCFMMCBrokerKeyField) Unmarshal(r io.Reader)

type CThostFtdcCFMMCTradingAccountKeyField

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

func (*CThostFtdcCFMMCTradingAccountKeyField) Marshal

func (*CThostFtdcCFMMCTradingAccountKeyField) Unmarshal

type CThostFtdcCFMMCTradingAccountTokenField

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

func (*CThostFtdcCFMMCTradingAccountTokenField) Marshal

func (*CThostFtdcCFMMCTradingAccountTokenField) Unmarshal

type CThostFtdcCancelAccountField

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

func (*CThostFtdcCancelAccountField) Marshal

func (m *CThostFtdcCancelAccountField) Marshal(w io.Writer)

func (*CThostFtdcCancelAccountField) Unmarshal

func (m *CThostFtdcCancelAccountField) Unmarshal(r io.Reader)

type CThostFtdcChangeAccountField

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

func (*CThostFtdcChangeAccountField) Marshal

func (m *CThostFtdcChangeAccountField) Marshal(w io.Writer)

func (*CThostFtdcChangeAccountField) Unmarshal

func (m *CThostFtdcChangeAccountField) Unmarshal(r io.Reader)

type CThostFtdcCombActionField

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

func (*CThostFtdcCombActionField) Marshal

func (m *CThostFtdcCombActionField) Marshal(w io.Writer)

func (*CThostFtdcCombActionField) Unmarshal

func (m *CThostFtdcCombActionField) Unmarshal(r io.Reader)

type CThostFtdcCombInstrumentGuardField

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

func (*CThostFtdcCombInstrumentGuardField) Marshal

func (*CThostFtdcCombInstrumentGuardField) Unmarshal

type CThostFtdcCombinationLegField

type CThostFtdcCombinationLegField struct {
	CombInstrumentID string
	LegID            int32
	LegInstrumentID  string
	Direction        uint8
	LegMultiple      int32
	ImplyLevel       int32
}

func (*CThostFtdcCombinationLegField) Marshal

func (m *CThostFtdcCombinationLegField) Marshal(w io.Writer)

func (*CThostFtdcCombinationLegField) Unmarshal

func (m *CThostFtdcCombinationLegField) Unmarshal(r io.Reader)

type CThostFtdcCommPhaseField

type CThostFtdcCommPhaseField struct {
	TradingDay  string
	CommPhaseNo int16
	SystemID    string
}

func (*CThostFtdcCommPhaseField) Marshal

func (m *CThostFtdcCommPhaseField) Marshal(w io.Writer)

func (*CThostFtdcCommPhaseField) Unmarshal

func (m *CThostFtdcCommPhaseField) Unmarshal(r io.Reader)

type CThostFtdcCommRateModelField

type CThostFtdcCommRateModelField struct {
	BrokerID      string
	CommModelID   string
	CommModelName string
}

func (*CThostFtdcCommRateModelField) Marshal

func (m *CThostFtdcCommRateModelField) Marshal(w io.Writer)

func (*CThostFtdcCommRateModelField) Unmarshal

func (m *CThostFtdcCommRateModelField) Unmarshal(r io.Reader)

type CThostFtdcContractBankField

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

func (*CThostFtdcContractBankField) Marshal

func (m *CThostFtdcContractBankField) Marshal(w io.Writer)

func (*CThostFtdcContractBankField) Unmarshal

func (m *CThostFtdcContractBankField) Unmarshal(r io.Reader)

type CThostFtdcCurrDRIdentityField

type CThostFtdcCurrDRIdentityField struct {
	DRIdentityID int32
}

func (*CThostFtdcCurrDRIdentityField) Marshal

func (m *CThostFtdcCurrDRIdentityField) Marshal(w io.Writer)

func (*CThostFtdcCurrDRIdentityField) Unmarshal

func (m *CThostFtdcCurrDRIdentityField) Unmarshal(r io.Reader)

type CThostFtdcCurrTransferIdentityField

type CThostFtdcCurrTransferIdentityField struct {
	IdentityID int32
}

func (*CThostFtdcCurrTransferIdentityField) Marshal

func (*CThostFtdcCurrTransferIdentityField) Unmarshal

type CThostFtdcCurrentTimeField

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

func (*CThostFtdcCurrentTimeField) Marshal

func (m *CThostFtdcCurrentTimeField) Marshal(w io.Writer)

func (*CThostFtdcCurrentTimeField) Unmarshal

func (m *CThostFtdcCurrentTimeField) Unmarshal(r io.Reader)

type CThostFtdcDBFRecordField

type CThostFtdcDBFRecordField struct {
	DBFComdType   string
	DBFComTime    string
	DBFOComNo     string
	DBFComNo      string
	DBFFdName1    string
	DBFFdContent1 string
	DBFFdName2    string
	DBFFdContent2 string
	DBFFdName3    string
	DBFFdContent3 string
	DBFFdName4    string
	DBFFdContent4 string
}

func (*CThostFtdcDBFRecordField) Marshal

func (m *CThostFtdcDBFRecordField) Marshal(w io.Writer)

func (*CThostFtdcDBFRecordField) Unmarshal

func (m *CThostFtdcDBFRecordField) Unmarshal(r io.Reader)

type CThostFtdcDRTransferField

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

func (*CThostFtdcDRTransferField) Marshal

func (m *CThostFtdcDRTransferField) Marshal(w io.Writer)

func (*CThostFtdcDRTransferField) Unmarshal

func (m *CThostFtdcDRTransferField) Unmarshal(r io.Reader)

type CThostFtdcDayEndFileReadyField

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

func (*CThostFtdcDayEndFileReadyField) Marshal

func (*CThostFtdcDayEndFileReadyField) Unmarshal

func (m *CThostFtdcDayEndFileReadyField) Unmarshal(r io.Reader)

type CThostFtdcDepositResultInformField

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

func (*CThostFtdcDepositResultInformField) Marshal

func (*CThostFtdcDepositResultInformField) Unmarshal

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             int32
	Turnover           float64
	OpenInterest       float64
	ClosePrice         float64
	SettlementPrice    float64
	UpperLimitPrice    float64
	LowerLimitPrice    float64
	PreDelta           float64
	CurrDelta          float64
	UpdateTime         string
	UpdateMillisec     int32
	BidPrice1          float64
	BidVolume1         int32
	AskPrice1          float64
	AskVolume1         int32
	BidPrice2          float64
	BidVolume2         int32
	AskPrice2          float64
	AskVolume2         int32
	BidPrice3          float64
	BidVolume3         int32
	AskPrice3          float64
	AskVolume3         int32
	BidPrice4          float64
	BidVolume4         int32
	AskPrice4          float64
	AskVolume4         int32
	BidPrice5          float64
	BidVolume5         int32
	AskPrice5          float64
	AskVolume5         int32
	AveragePrice       float64
	ActionDay          string
}

func (*CThostFtdcDepthMarketDataField) Marshal

func (*CThostFtdcDepthMarketDataField) Unmarshal

func (m *CThostFtdcDepthMarketDataField) Unmarshal(r io.Reader)

type CThostFtdcDesignateField

type CThostFtdcDesignateField struct {
	BrokerID         string
	InvestorID       string
	DesignateRef     string
	UserID           string
	DesignateType    uint8
	DesignateLocalID string
	ExchangeID       string
	ParticipantID    string
	ClientID         string
	TraderID         string
	InstallID        int32
	DesignateStatus  uint8
	NotifySequence   int32
	TradingDay       string
	SettlementID     int32
	InsertDate       string
	InsertTime       string
	FrontID          int32
	SessionID        int32
	UserProductInfo  string
	StatusMsg        string
	BranchID         string
	PBU              string
}

func (*CThostFtdcDesignateField) Marshal

func (m *CThostFtdcDesignateField) Marshal(w io.Writer)

func (*CThostFtdcDesignateField) Unmarshal

func (m *CThostFtdcDesignateField) Unmarshal(r io.Reader)

type CThostFtdcDiscountField

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

func (*CThostFtdcDiscountField) Marshal

func (m *CThostFtdcDiscountField) Marshal(w io.Writer)

func (*CThostFtdcDiscountField) Unmarshal

func (m *CThostFtdcDiscountField) Unmarshal(r io.Reader)

type CThostFtdcDisseminationField

type CThostFtdcDisseminationField struct {
	SequenceSeries int16
	SequenceNo     int32
}

func (*CThostFtdcDisseminationField) Marshal

func (m *CThostFtdcDisseminationField) Marshal(w io.Writer)

func (*CThostFtdcDisseminationField) Unmarshal

func (m *CThostFtdcDisseminationField) Unmarshal(r io.Reader)

type CThostFtdcETFOptionInstrCommRateField

type CThostFtdcETFOptionInstrCommRateField struct {
	InstrumentID            string
	InvestorRange           uint8
	BrokerID                string
	InvestorID              string
	OpenRatioByMoney        float64
	OpenRatioByVolume       float64
	CloseRatioByMoney       float64
	CloseRatioByVolume      float64
	CloseTodayRatioByMoney  float64
	CloseTodayRatioByVolume float64
	StrikeRatioByMoney      float64
	StrikeRatioByVolume     float64
	ExchangeID              string
	HedgeFlag               uint8
	PosiDirection           uint8
}

func (*CThostFtdcETFOptionInstrCommRateField) Marshal

func (*CThostFtdcETFOptionInstrCommRateField) Unmarshal

type CThostFtdcEWarrantOffsetField

type CThostFtdcEWarrantOffsetField struct {
	TradingDay   string
	BrokerID     string
	InvestorID   string
	ExchangeID   string
	InstrumentID string
	Direction    uint8
	HedgeFlag    uint8
	Volume       int32
	InvestUnitID string
}

func (*CThostFtdcEWarrantOffsetField) Marshal

func (m *CThostFtdcEWarrantOffsetField) Marshal(w io.Writer)

func (*CThostFtdcEWarrantOffsetField) Unmarshal

func (m *CThostFtdcEWarrantOffsetField) Unmarshal(r io.Reader)

type CThostFtdcErrExecOrderActionField

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

func (*CThostFtdcErrExecOrderActionField) Marshal

func (*CThostFtdcErrExecOrderActionField) Unmarshal

type CThostFtdcErrExecOrderField

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

func (*CThostFtdcErrExecOrderField) Marshal

func (m *CThostFtdcErrExecOrderField) Marshal(w io.Writer)

func (*CThostFtdcErrExecOrderField) Unmarshal

func (m *CThostFtdcErrExecOrderField) Unmarshal(r io.Reader)

type CThostFtdcErrOrderActionField

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

func (*CThostFtdcErrOrderActionField) Marshal

func (m *CThostFtdcErrOrderActionField) Marshal(w io.Writer)

func (*CThostFtdcErrOrderActionField) Unmarshal

func (m *CThostFtdcErrOrderActionField) Unmarshal(r io.Reader)

type CThostFtdcErrOrderField

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

func (*CThostFtdcErrOrderField) Marshal

func (m *CThostFtdcErrOrderField) Marshal(w io.Writer)

func (*CThostFtdcErrOrderField) Unmarshal

func (m *CThostFtdcErrOrderField) Unmarshal(r io.Reader)

type CThostFtdcErrStockDisposalActionField

type CThostFtdcErrStockDisposalActionField struct {
	BrokerID               string
	InvestorID             string
	StockDisposalActionRef int32
	StockDisposalRef       string
	RequestID              int32
	FrontID                int32
	SessionID              int32
	ExchangeID             string
	StockDisposalSysID     string
	ActionFlag             uint8
	UserID                 string
	InstrumentID           string
	ErrorID                int32
	ErrorMsg               string
}

func (*CThostFtdcErrStockDisposalActionField) Marshal

func (*CThostFtdcErrStockDisposalActionField) Unmarshal

type CThostFtdcErrorConditionalOrderField

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

func (*CThostFtdcErrorConditionalOrderField) Marshal

func (*CThostFtdcErrorConditionalOrderField) Unmarshal

type CThostFtdcExchangeBatchOrderActionField

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

func (*CThostFtdcExchangeBatchOrderActionField) Marshal

func (*CThostFtdcExchangeBatchOrderActionField) Unmarshal

type CThostFtdcExchangeCombActionField

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

func (*CThostFtdcExchangeCombActionField) Marshal

func (*CThostFtdcExchangeCombActionField) Unmarshal

type CThostFtdcExchangeDesignateField

type CThostFtdcExchangeDesignateField struct {
	DesignateType    uint8
	DesignateLocalID string
	ExchangeID       string
	ParticipantID    string
	ClientID         string
	TraderID         string
	InstallID        int32
	DesignateStatus  uint8
	NotifySequence   int32
	TradingDay       string
	SettlementID     int32
	InsertDate       string
	InsertTime       string
	BranchID         string
}

func (*CThostFtdcExchangeDesignateField) Marshal

func (*CThostFtdcExchangeDesignateField) Unmarshal

func (m *CThostFtdcExchangeDesignateField) Unmarshal(r io.Reader)

type CThostFtdcExchangeExecOrderActionErrorField

type CThostFtdcExchangeExecOrderActionErrorField struct {
	ExchangeID       string
	ExecOrderSysID   string
	TraderID         string
	InstallID        int32
	ExecOrderLocalID string
	ActionLocalID    string
	ErrorID          int32
	ErrorMsg         string
	BrokerID         string
}

func (*CThostFtdcExchangeExecOrderActionErrorField) Marshal

func (*CThostFtdcExchangeExecOrderActionErrorField) Unmarshal

type CThostFtdcExchangeExecOrderActionField

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

func (*CThostFtdcExchangeExecOrderActionField) Marshal

func (*CThostFtdcExchangeExecOrderActionField) Unmarshal

type CThostFtdcExchangeExecOrderField

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

func (*CThostFtdcExchangeExecOrderField) Marshal

func (*CThostFtdcExchangeExecOrderField) Unmarshal

func (m *CThostFtdcExchangeExecOrderField) Unmarshal(r io.Reader)

type CThostFtdcExchangeField

type CThostFtdcExchangeField struct {
	ExchangeID       string
	ExchangeName     string
	ExchangeProperty uint8
}

func (*CThostFtdcExchangeField) Marshal

func (m *CThostFtdcExchangeField) Marshal(w io.Writer)

func (*CThostFtdcExchangeField) Unmarshal

func (m *CThostFtdcExchangeField) Unmarshal(r io.Reader)

type CThostFtdcExchangeForQuoteField

type CThostFtdcExchangeForQuoteField struct {
	ForQuoteLocalID string
	ExchangeID      string
	ParticipantID   string
	ClientID        string
	ExchangeInstID  string
	TraderID        string
	InstallID       int32
	InsertDate      string
	InsertTime      string
	ForQuoteStatus  uint8
	IPAddress       string
	MacAddress      string
	BranchID        string
}

func (*CThostFtdcExchangeForQuoteField) Marshal

func (*CThostFtdcExchangeForQuoteField) Unmarshal

func (m *CThostFtdcExchangeForQuoteField) Unmarshal(r io.Reader)

type CThostFtdcExchangeLockField

type CThostFtdcExchangeLockField struct {
	Volume            int32
	RequestID         int32
	BusinessUnit      string
	LockType          uint8
	LockLocalID       string
	ExchangeID        string
	ParticipantID     string
	ClientID          string
	ExchangeInstID    string
	TraderID          string
	InstallID         int32
	OrderSubmitStatus uint8
	NotifySequence    int32
	TradingDay        string
	SettlementID      int32
	LockSysID         string
	InsertDate        string
	InsertTime        string
	CancelTime        string
	LockStatus        uint8
	ClearingPartID    string
	SequenceNo        int32
	BranchID          string
	IPAddress         string
	MacAddress        string
}

func (*CThostFtdcExchangeLockField) Marshal

func (m *CThostFtdcExchangeLockField) Marshal(w io.Writer)

func (*CThostFtdcExchangeLockField) Unmarshal

func (m *CThostFtdcExchangeLockField) Unmarshal(r io.Reader)

type CThostFtdcExchangeMarginRateAdjustField

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

func (*CThostFtdcExchangeMarginRateAdjustField) Marshal

func (*CThostFtdcExchangeMarginRateAdjustField) Unmarshal

type CThostFtdcExchangeMarginRateField

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

func (*CThostFtdcExchangeMarginRateField) Marshal

func (*CThostFtdcExchangeMarginRateField) Unmarshal

type CThostFtdcExchangeOptionSelfCloseActionField

type CThostFtdcExchangeOptionSelfCloseActionField struct {
	ExchangeID             string
	OptionSelfCloseSysID   string
	ActionFlag             uint8
	ActionDate             string
	ActionTime             string
	TraderID               string
	InstallID              int32
	OptionSelfCloseLocalID string
	ActionLocalID          string
	ParticipantID          string
	ClientID               string
	BusinessUnit           string
	OrderActionStatus      uint8
	UserID                 string
	BranchID               string
	IPAddress              string
	MacAddress             string
}

func (*CThostFtdcExchangeOptionSelfCloseActionField) Marshal

func (*CThostFtdcExchangeOptionSelfCloseActionField) Unmarshal

type CThostFtdcExchangeOptionSelfCloseField

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

func (*CThostFtdcExchangeOptionSelfCloseField) Marshal

func (*CThostFtdcExchangeOptionSelfCloseField) Unmarshal

type CThostFtdcExchangeOrderActionErrorField

type CThostFtdcExchangeOrderActionErrorField struct {
	ExchangeID    string
	OrderSysID    string
	TraderID      string
	InstallID     int32
	OrderLocalID  string
	ActionLocalID string
	ErrorID       int32
	ErrorMsg      string
	BrokerID      string
	CancelTime    string
}

func (*CThostFtdcExchangeOrderActionErrorField) Marshal

func (*CThostFtdcExchangeOrderActionErrorField) Unmarshal

type CThostFtdcExchangeOrderActionField

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

func (*CThostFtdcExchangeOrderActionField) Marshal

func (*CThostFtdcExchangeOrderActionField) Unmarshal

type CThostFtdcExchangeOrderField

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

func (*CThostFtdcExchangeOrderField) Marshal

func (m *CThostFtdcExchangeOrderField) Marshal(w io.Writer)

func (*CThostFtdcExchangeOrderField) Unmarshal

func (m *CThostFtdcExchangeOrderField) Unmarshal(r io.Reader)

type CThostFtdcExchangeOrderInsertErrorField

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

func (*CThostFtdcExchangeOrderInsertErrorField) Marshal

func (*CThostFtdcExchangeOrderInsertErrorField) Unmarshal

type CThostFtdcExchangeQuoteActionField

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

func (*CThostFtdcExchangeQuoteActionField) Marshal

func (*CThostFtdcExchangeQuoteActionField) Unmarshal

type CThostFtdcExchangeQuoteField

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

func (*CThostFtdcExchangeQuoteField) Marshal

func (m *CThostFtdcExchangeQuoteField) Marshal(w io.Writer)

func (*CThostFtdcExchangeQuoteField) Unmarshal

func (m *CThostFtdcExchangeQuoteField) Unmarshal(r io.Reader)

type CThostFtdcExchangeRateField

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

func (*CThostFtdcExchangeRateField) Marshal

func (m *CThostFtdcExchangeRateField) Marshal(w io.Writer)

func (*CThostFtdcExchangeRateField) Unmarshal

func (m *CThostFtdcExchangeRateField) Unmarshal(r io.Reader)

type CThostFtdcExchangeSequenceField

type CThostFtdcExchangeSequenceField struct {
	ExchangeID   string
	SequenceNo   int32
	MarketStatus uint8
}

func (*CThostFtdcExchangeSequenceField) Marshal

func (*CThostFtdcExchangeSequenceField) Unmarshal

func (m *CThostFtdcExchangeSequenceField) Unmarshal(r io.Reader)

type CThostFtdcExchangeStockDisposalActionErrorField

type CThostFtdcExchangeStockDisposalActionErrorField struct {
	ExchangeID           string
	StockDisposalSysID   string
	TraderID             string
	InstallID            int32
	StockDisposalLocalID string
	ActionLocalID        string
	ErrorID              int32
	ErrorMsg             string
	BrokerID             string
}

func (*CThostFtdcExchangeStockDisposalActionErrorField) Marshal

func (*CThostFtdcExchangeStockDisposalActionErrorField) Unmarshal

type CThostFtdcExchangeStockDisposalActionField

type CThostFtdcExchangeStockDisposalActionField struct {
	ExchangeID           string
	StockDisposalSysID   string
	ActionFlag           uint8
	ActionDate           string
	ActionTime           string
	TraderID             string
	InstallID            int32
	StockDisposalLocalID string
	ActionLocalID        string
	ParticipantID        string
	ClientID             string
	BusinessUnit         string
	OrderActionStatus    uint8
	UserID               string
	ActionType           uint8
	BranchID             string
}

func (*CThostFtdcExchangeStockDisposalActionField) Marshal

func (*CThostFtdcExchangeStockDisposalActionField) Unmarshal

type CThostFtdcExchangeStockDisposalField

type CThostFtdcExchangeStockDisposalField struct {
	Volume               int32
	StockDisposalType    uint8
	StockDisposalLocalID string
	ExchangeID           string
	ExchangeInstID       string
	ParticipantID        string
	ClientID             string
	TraderID             string
	InstallID            int32
	StockDisposalStatus  uint8
	NotifySequence       int32
	TradingDay           string
	SettlementID         int32
	InsertDate           string
	InsertTime           string
	BranchID             string
	StockDisposalSysID   string
	BusinessUnit         string
}

func (*CThostFtdcExchangeStockDisposalField) Marshal

func (*CThostFtdcExchangeStockDisposalField) Unmarshal

type CThostFtdcExchangeTradeField

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

func (*CThostFtdcExchangeTradeField) Marshal

func (m *CThostFtdcExchangeTradeField) Marshal(w io.Writer)

func (*CThostFtdcExchangeTradeField) Unmarshal

func (m *CThostFtdcExchangeTradeField) Unmarshal(r io.Reader)

type CThostFtdcExecCombineOrderActionField

type CThostFtdcExecCombineOrderActionField struct {
	BrokerID                  string
	InvestorID                string
	ExecCombineOrderActionRef int32
	ExecCombineOrderRef       string
	RequestID                 int32
	FrontID                   int32
	SessionID                 int32
	ExchangeID                string
	ExecCombineOrderSysID     string
	ActionFlag                uint8
	ActionDate                string
	ActionTime                string
	TraderID                  string
	InstallID                 int32
	ExecCombineOrderLocalID   string
	ActionLocalID             string
	ParticipantID             string
	ClientID                  string
	BusinessUnit              string
	OrderActionStatus         uint8
	UserID                    string
	ActionType                uint8
	StatusMsg                 string
	CallInstrumentID          string
	PutInstrumentID           string
	BranchID                  string
	InvestUnitID              string
	IPAddress                 string
	MacAddress                string
}

func (*CThostFtdcExecCombineOrderActionField) Marshal

func (*CThostFtdcExecCombineOrderActionField) Unmarshal

type CThostFtdcExecCombineOrderField

type CThostFtdcExecCombineOrderField struct {
	BrokerID                  string
	InvestorID                string
	CallInstrumentID          string
	PutInstrumentID           string
	ExecCombineOrderRef       string
	UserID                    string
	Volume                    int32
	RequestID                 int32
	BusinessUnit              string
	ActionType                uint8
	ExecCombineOrderLocalID   string
	ExchangeID                string
	ParticipantID             string
	ClientID                  string
	UnderlyingInstID          string
	ExchangeCallInstID        string
	ExchangePutInstID         string
	TraderID                  string
	InstallID                 int32
	OrderSubmitStatus         uint8
	NotifySequence            int32
	TradingDay                string
	SettlementID              int32
	ExecCombineOrderSysID     string
	InsertDate                string
	InsertTime                string
	CancelTime                string
	ExecResult                uint8
	ClearingPartID            string
	SequenceNo                int32
	FrontID                   int32
	SessionID                 int32
	UserProductInfo           string
	StatusMsg                 string
	ActiveUserID              string
	BrokerExecCombineOrderSeq int32
	BranchID                  string
	InvestUnitID              string
	AccountID                 string
	CurrencyID                string
	IPAddress                 string
	MacAddress                string
}

func (*CThostFtdcExecCombineOrderField) Marshal

func (*CThostFtdcExecCombineOrderField) Unmarshal

func (m *CThostFtdcExecCombineOrderField) Unmarshal(r io.Reader)

type CThostFtdcExecFreezeField

type CThostFtdcExecFreezeField struct {
	InstrumentID  string
	ExchangeID    string
	BrokerID      string
	InvestorID    string
	PosiDirection uint8
	OptionsType   uint8
	Volume        int32
	FrozenAmount  float64
}

func (*CThostFtdcExecFreezeField) Marshal

func (m *CThostFtdcExecFreezeField) Marshal(w io.Writer)

func (*CThostFtdcExecFreezeField) Unmarshal

func (m *CThostFtdcExecFreezeField) Unmarshal(r io.Reader)

type CThostFtdcExecIsCheckUnderlyingField

type CThostFtdcExecIsCheckUnderlyingField struct {
	ExchangeID        string
	UnderlyingInstrID string
	IsCheck           int32
}

func (*CThostFtdcExecIsCheckUnderlyingField) Marshal

func (*CThostFtdcExecIsCheckUnderlyingField) Unmarshal

type CThostFtdcExecOrderActionField

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

func (*CThostFtdcExecOrderActionField) Marshal

func (*CThostFtdcExecOrderActionField) Unmarshal

func (m *CThostFtdcExecOrderActionField) Unmarshal(r io.Reader)

type CThostFtdcExecOrderField

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

func (*CThostFtdcExecOrderField) Marshal

func (m *CThostFtdcExecOrderField) Marshal(w io.Writer)

func (*CThostFtdcExecOrderField) Unmarshal

func (m *CThostFtdcExecOrderField) Unmarshal(r io.Reader)

type CThostFtdcFensUserInfoField

type CThostFtdcFensUserInfoField struct {
	BrokerID  string
	UserID    string
	LoginMode uint8
}

func (*CThostFtdcFensUserInfoField) Marshal

func (m *CThostFtdcFensUserInfoField) Marshal(w io.Writer)

func (*CThostFtdcFensUserInfoField) Unmarshal

func (m *CThostFtdcFensUserInfoField) Unmarshal(r io.Reader)

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        int32
	InsertDate       string
	InsertTime       string
	ForQuoteStatus   uint8
	FrontID          int32
	SessionID        int32
	StatusMsg        string
	ActiveUserID     string
	BrokerForQutoSeq int32
	InvestUnitID     string
	IPAddress        string
	MacAddress       string
	BranchID         string
}

func (*CThostFtdcForQuoteField) Marshal

func (m *CThostFtdcForQuoteField) Marshal(w io.Writer)

func (*CThostFtdcForQuoteField) Unmarshal

func (m *CThostFtdcForQuoteField) Unmarshal(r io.Reader)

type CThostFtdcForQuoteParamField

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

func (*CThostFtdcForQuoteParamField) Marshal

func (m *CThostFtdcForQuoteParamField) Marshal(w io.Writer)

func (*CThostFtdcForQuoteParamField) Unmarshal

func (m *CThostFtdcForQuoteParamField) Unmarshal(r io.Reader)

type CThostFtdcForQuoteRspField

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

func (*CThostFtdcForQuoteRspField) Marshal

func (m *CThostFtdcForQuoteRspField) Marshal(w io.Writer)

func (*CThostFtdcForQuoteRspField) Unmarshal

func (m *CThostFtdcForQuoteRspField) Unmarshal(r io.Reader)

type CThostFtdcForceUserLogoutField

type CThostFtdcForceUserLogoutField struct {
	BrokerID string
	UserID   string
}

func (*CThostFtdcForceUserLogoutField) Marshal

func (*CThostFtdcForceUserLogoutField) Unmarshal

func (m *CThostFtdcForceUserLogoutField) Unmarshal(r io.Reader)

type CThostFtdcFrontStatusField

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

func (*CThostFtdcFrontStatusField) Marshal

func (m *CThostFtdcFrontStatusField) Marshal(w io.Writer)

func (*CThostFtdcFrontStatusField) Unmarshal

func (m *CThostFtdcFrontStatusField) Unmarshal(r io.Reader)

type CThostFtdcFutureLimitPosiParamField

type CThostFtdcFutureLimitPosiParamField struct {
	InvestorRange  uint8
	BrokerID       string
	InvestorID     string
	ProductID      string
	ExchangeID     string
	SpecOpenVolume int32
	ArbiOpenVolume int32
	OpenVolume     int32
}

func (*CThostFtdcFutureLimitPosiParamField) Marshal

func (*CThostFtdcFutureLimitPosiParamField) Unmarshal

type CThostFtdcFutureSignIOField

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

func (*CThostFtdcFutureSignIOField) Marshal

func (m *CThostFtdcFutureSignIOField) Marshal(w io.Writer)

func (*CThostFtdcFutureSignIOField) Unmarshal

func (m *CThostFtdcFutureSignIOField) Unmarshal(r io.Reader)

type CThostFtdcIPListField

type CThostFtdcIPListField struct {
	IPAddress string
	IsWhite   int32
}

func (*CThostFtdcIPListField) Marshal

func (m *CThostFtdcIPListField) Marshal(w io.Writer)

func (*CThostFtdcIPListField) Unmarshal

func (m *CThostFtdcIPListField) Unmarshal(r io.Reader)

type CThostFtdcIndexPriceField

type CThostFtdcIndexPriceField struct {
	BrokerID     string
	InstrumentID string
	ClosePrice   float64
	ExchangeID   string
}

func (*CThostFtdcIndexPriceField) Marshal

func (m *CThostFtdcIndexPriceField) Marshal(w io.Writer)

func (*CThostFtdcIndexPriceField) Unmarshal

func (m *CThostFtdcIndexPriceField) Unmarshal(r io.Reader)

type CThostFtdcInionRightField

type CThostFtdcInionRightField struct {
	BrokerID         string
	ExchangeID       string
	InvestorID       string
	InstructionRight uint8
	IsForbidden      int32
}

func (*CThostFtdcInionRightField) Marshal

func (m *CThostFtdcInionRightField) Marshal(w io.Writer)

func (*CThostFtdcInionRightField) Unmarshal

func (m *CThostFtdcInionRightField) Unmarshal(r io.Reader)

type CThostFtdcInputBatchOrderActionField

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

func (*CThostFtdcInputBatchOrderActionField) Marshal

func (*CThostFtdcInputBatchOrderActionField) Unmarshal

type CThostFtdcInputCombActionField

type CThostFtdcInputCombActionField struct {
	BrokerID      string
	InvestorID    string
	InstrumentID  string
	CombActionRef string
	UserID        string
	Direction     uint8
	Volume        int32
	CombDirection uint8
	HedgeFlag     uint8
	ExchangeID    string
	IPAddress     string
	MacAddress    string
	InvestUnitID  string
}

func (*CThostFtdcInputCombActionField) Marshal

func (*CThostFtdcInputCombActionField) Unmarshal

func (m *CThostFtdcInputCombActionField) Unmarshal(r io.Reader)

type CThostFtdcInputDesignateField

type CThostFtdcInputDesignateField struct {
	BrokerID      string
	InvestorID    string
	DesignateRef  string
	UserID        string
	DesignateType uint8
	ExchangeID    string
	PBU           string
}

func (*CThostFtdcInputDesignateField) Marshal

func (m *CThostFtdcInputDesignateField) Marshal(w io.Writer)

func (*CThostFtdcInputDesignateField) Unmarshal

func (m *CThostFtdcInputDesignateField) Unmarshal(r io.Reader)

type CThostFtdcInputExecCombineOrderActionField

type CThostFtdcInputExecCombineOrderActionField struct {
	BrokerID                  string
	InvestorID                string
	ExecCombineOrderActionRef int32
	ExecCombineOrderRef       string
	RequestID                 int32
	FrontID                   int32
	SessionID                 int32
	ExchangeID                string
	ExecCombineOrderSysID     string
	ActionFlag                uint8
	UserID                    string
	InvestUnitID              string
	IPAddress                 string
	MacAddress                string
}

func (*CThostFtdcInputExecCombineOrderActionField) Marshal

func (*CThostFtdcInputExecCombineOrderActionField) Unmarshal

type CThostFtdcInputExecCombineOrderField

type CThostFtdcInputExecCombineOrderField struct {
	BrokerID            string
	InvestorID          string
	CallInstrumentID    string
	PutInstrumentID     string
	ExecCombineOrderRef string
	UserID              string
	Volume              int32
	RequestID           int32
	BusinessUnit        string
	ActionType          uint8
	ExchangeID          string
	InvestUnitID        string
	ClientID            string
	IPAddress           string
	MacAddress          string
}

func (*CThostFtdcInputExecCombineOrderField) Marshal

func (*CThostFtdcInputExecCombineOrderField) Unmarshal

type CThostFtdcInputExecOrderActionField

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

func (*CThostFtdcInputExecOrderActionField) Marshal

func (*CThostFtdcInputExecOrderActionField) Unmarshal

type CThostFtdcInputExecOrderField

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

func (*CThostFtdcInputExecOrderField) Marshal

func (m *CThostFtdcInputExecOrderField) Marshal(w io.Writer)

func (*CThostFtdcInputExecOrderField) Unmarshal

func (m *CThostFtdcInputExecOrderField) Unmarshal(r io.Reader)

type CThostFtdcInputForQuoteField

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

func (*CThostFtdcInputForQuoteField) Marshal

func (m *CThostFtdcInputForQuoteField) Marshal(w io.Writer)

func (*CThostFtdcInputForQuoteField) Unmarshal

func (m *CThostFtdcInputForQuoteField) Unmarshal(r io.Reader)

type CThostFtdcInputLockField

type CThostFtdcInputLockField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	LockRef      string
	UserID       string
	Volume       int32
	RequestID    int32
	BusinessUnit string
	LockType     uint8
	ExchangeID   string
	IPAddress    string
	MacAddress   string
}

func (*CThostFtdcInputLockField) Marshal

func (m *CThostFtdcInputLockField) Marshal(w io.Writer)

func (*CThostFtdcInputLockField) Unmarshal

func (m *CThostFtdcInputLockField) Unmarshal(r io.Reader)

type CThostFtdcInputOptionSelfCloseActionField

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

func (*CThostFtdcInputOptionSelfCloseActionField) Marshal

func (*CThostFtdcInputOptionSelfCloseActionField) Unmarshal

type CThostFtdcInputOptionSelfCloseField

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

func (*CThostFtdcInputOptionSelfCloseField) Marshal

func (*CThostFtdcInputOptionSelfCloseField) Unmarshal

type CThostFtdcInputOrderActionField

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

func (*CThostFtdcInputOrderActionField) Marshal

func (*CThostFtdcInputOrderActionField) Unmarshal

func (m *CThostFtdcInputOrderActionField) Unmarshal(r io.Reader)

type CThostFtdcInputOrderField

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

func (*CThostFtdcInputOrderField) Marshal

func (m *CThostFtdcInputOrderField) Marshal(w io.Writer)

func (*CThostFtdcInputOrderField) Unmarshal

func (m *CThostFtdcInputOrderField) Unmarshal(r io.Reader)

type CThostFtdcInputQuoteActionField

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

func (*CThostFtdcInputQuoteActionField) Marshal

func (*CThostFtdcInputQuoteActionField) Unmarshal

func (m *CThostFtdcInputQuoteActionField) Unmarshal(r io.Reader)

type CThostFtdcInputQuoteField

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

func (*CThostFtdcInputQuoteField) Marshal

func (m *CThostFtdcInputQuoteField) Marshal(w io.Writer)

func (*CThostFtdcInputQuoteField) Unmarshal

func (m *CThostFtdcInputQuoteField) Unmarshal(r io.Reader)

type CThostFtdcInputStockDisposalActionField

type CThostFtdcInputStockDisposalActionField struct {
	BrokerID               string
	InvestorID             string
	StockDisposalActionRef int32
	StockDisposalRef       string
	RequestID              int32
	FrontID                int32
	SessionID              int32
	ExchangeID             string
	StockDisposalSysID     string
	ActionFlag             uint8
	UserID                 string
	InstrumentID           string
}

func (*CThostFtdcInputStockDisposalActionField) Marshal

func (*CThostFtdcInputStockDisposalActionField) Unmarshal

type CThostFtdcInputStockDisposalField

type CThostFtdcInputStockDisposalField struct {
	BrokerID          string
	InvestorID        string
	StockDisposalRef  string
	UserID            string
	InstrumentID      string
	Volume            int32
	StockDisposalType uint8
	ExchangeID        string
}

func (*CThostFtdcInputStockDisposalField) Marshal

func (*CThostFtdcInputStockDisposalField) Unmarshal

type CThostFtdcInstrumentCommissionRateField

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

func (*CThostFtdcInstrumentCommissionRateField) Marshal

func (*CThostFtdcInstrumentCommissionRateField) Unmarshal

type CThostFtdcInstrumentField

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

func (*CThostFtdcInstrumentField) Marshal

func (m *CThostFtdcInstrumentField) Marshal(w io.Writer)

func (*CThostFtdcInstrumentField) Unmarshal

func (m *CThostFtdcInstrumentField) Unmarshal(r io.Reader)

type CThostFtdcInstrumentMarginRateAdjustField

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

func (*CThostFtdcInstrumentMarginRateAdjustField) Marshal

func (*CThostFtdcInstrumentMarginRateAdjustField) Unmarshal

type CThostFtdcInstrumentMarginRateField

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

func (*CThostFtdcInstrumentMarginRateField) Marshal

func (*CThostFtdcInstrumentMarginRateField) Unmarshal

type CThostFtdcInstrumentMarginRateULField

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

func (*CThostFtdcInstrumentMarginRateULField) Marshal

func (*CThostFtdcInstrumentMarginRateULField) Unmarshal

type CThostFtdcInstrumentOrderCommRateField

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

func (*CThostFtdcInstrumentOrderCommRateField) Marshal

func (*CThostFtdcInstrumentOrderCommRateField) Unmarshal

type CThostFtdcInstrumentStatusField

type CThostFtdcInstrumentStatusField struct {
	ExchangeID        string
	ExchangeInstID    string
	SettlementGroupID string
	InstrumentID      string
	InstrumentStatus  uint8
	TradingSegmentSN  int32
	EnterTime         string
	EnterReason       uint8
}

func (*CThostFtdcInstrumentStatusField) Marshal

func (*CThostFtdcInstrumentStatusField) Unmarshal

func (m *CThostFtdcInstrumentStatusField) Unmarshal(r io.Reader)

type CThostFtdcInstrumentTradingRightField

type CThostFtdcInstrumentTradingRightField struct {
	InstrumentID  string
	InvestorRange uint8
	BrokerID      string
	InvestorID    string
	TradingRight  uint8
	ExchangeID    string
	BizType       uint8
}

func (*CThostFtdcInstrumentTradingRightField) Marshal

func (*CThostFtdcInstrumentTradingRightField) Unmarshal

type CThostFtdcInvestUnitField

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

func (*CThostFtdcInvestUnitField) Marshal

func (m *CThostFtdcInvestUnitField) Marshal(w io.Writer)

func (*CThostFtdcInvestUnitField) Unmarshal

func (m *CThostFtdcInvestUnitField) Unmarshal(r io.Reader)

type CThostFtdcInvestorAccountField

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

func (*CThostFtdcInvestorAccountField) Marshal

func (*CThostFtdcInvestorAccountField) Unmarshal

func (m *CThostFtdcInvestorAccountField) Unmarshal(r io.Reader)

type CThostFtdcInvestorField

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

func (*CThostFtdcInvestorField) Marshal

func (m *CThostFtdcInvestorField) Marshal(w io.Writer)

func (*CThostFtdcInvestorField) Unmarshal

func (m *CThostFtdcInvestorField) Unmarshal(r io.Reader)

type CThostFtdcInvestorGroupField

type CThostFtdcInvestorGroupField struct {
	BrokerID          string
	InvestorGroupID   string
	InvestorGroupName string
}

func (*CThostFtdcInvestorGroupField) Marshal

func (m *CThostFtdcInvestorGroupField) Marshal(w io.Writer)

func (*CThostFtdcInvestorGroupField) Unmarshal

func (m *CThostFtdcInvestorGroupField) Unmarshal(r io.Reader)

type CThostFtdcInvestorLevelField

type CThostFtdcInvestorLevelField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
	LevelType  uint8
}

func (*CThostFtdcInvestorLevelField) Marshal

func (m *CThostFtdcInvestorLevelField) Marshal(w io.Writer)

func (*CThostFtdcInvestorLevelField) Unmarshal

func (m *CThostFtdcInvestorLevelField) Unmarshal(r io.Reader)

type CThostFtdcInvestorPositionCombineDetailField

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

func (*CThostFtdcInvestorPositionCombineDetailField) Marshal

func (*CThostFtdcInvestorPositionCombineDetailField) Unmarshal

type CThostFtdcInvestorPositionDetailField

type CThostFtdcInvestorPositionDetailField struct {
	InstrumentID          string
	BrokerID              string
	InvestorID            string
	HedgeFlag             uint8
	Direction             uint8
	OpenDate              string
	TradeID               string
	Volume                int32
	OpenPrice             float64
	TradingDay            string
	SettlementID          int32
	TradeType             uint8
	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           int32
	CloseAmount           float64
	InvestUnitID          string
}

func (*CThostFtdcInvestorPositionDetailField) Marshal

func (*CThostFtdcInvestorPositionDetailField) Unmarshal

type CThostFtdcInvestorPositionField

type CThostFtdcInvestorPositionField struct {
	InstrumentID       string
	BrokerID           string
	InvestorID         string
	PosiDirection      uint8
	HedgeFlag          uint8
	PositionDate       uint8
	YdPosition         int32
	Position           int32
	LongFrozen         int32
	ShortFrozen        int32
	LongFrozenAmount   float64
	ShortFrozenAmount  float64
	OpenVolume         int32
	CloseVolume        int32
	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       int32
	OpenCost           float64
	ExchangeMargin     float64
	CombPosition       int32
	CombLongFrozen     int32
	CombShortFrozen    int32
	CloseProfitByDate  float64
	CloseProfitByTrade float64
	TodayPosition      int32
	MarginRateByMoney  float64
	MarginRateByVolume float64
	StrikeFrozen       int32
	StrikeFrozenAmount float64
	AbandonFrozen      int32
	ExchangeID         string
	YdStrikeFrozen     int32
	InvestUnitID       string
}

func (*CThostFtdcInvestorPositionField) Marshal

func (*CThostFtdcInvestorPositionField) Unmarshal

func (m *CThostFtdcInvestorPositionField) Unmarshal(r io.Reader)

type CThostFtdcInvestorProductGroupMarginField

type CThostFtdcInvestorProductGroupMarginField struct {
	ProductGroupID        string
	BrokerID              string
	InvestorID            string
	TradingDay            string
	SettlementID          int32
	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             uint8
	ExchangeID            string
	InvestUnitID          string
}

func (*CThostFtdcInvestorProductGroupMarginField) Marshal

func (*CThostFtdcInvestorProductGroupMarginField) Unmarshal

type CThostFtdcInvestorWithdrawAlgorithmField

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

func (*CThostFtdcInvestorWithdrawAlgorithmField) Marshal

func (*CThostFtdcInvestorWithdrawAlgorithmField) Unmarshal

type CThostFtdcLimitAmountField

type CThostFtdcLimitAmountField struct {
	BrokerID         string
	InvestorID       string
	ExchangeID       string
	LongAmount       float64
	LongAmountFrozen float64
}

func (*CThostFtdcLimitAmountField) Marshal

func (m *CThostFtdcLimitAmountField) Marshal(w io.Writer)

func (*CThostFtdcLimitAmountField) Unmarshal

func (m *CThostFtdcLimitAmountField) Unmarshal(r io.Reader)

type CThostFtdcLimitAmountParamField

type CThostFtdcLimitAmountParamField struct {
	InvestorRange uint8
	BrokerID      string
	InvestorID    string
	ExchangeID    string
	LongAmount    float64
}

func (*CThostFtdcLimitAmountParamField) Marshal

func (*CThostFtdcLimitAmountParamField) Unmarshal

func (m *CThostFtdcLimitAmountParamField) Unmarshal(r io.Reader)

type CThostFtdcLimitPosiField

type CThostFtdcLimitPosiField struct {
	BrokerID          string
	InvestorID        string
	InstrumentID      string
	ExchangeID        string
	TotalVolume       int32
	LongVolume        int32
	OpenVolume        int32
	LongAmount        float64
	TotalVolumeFrozen int32
	LongVolumeFrozen  int32
	OpenVolumeFrozen  int32
	LongAmountFrozen  float64
}

func (*CThostFtdcLimitPosiField) Marshal

func (m *CThostFtdcLimitPosiField) Marshal(w io.Writer)

func (*CThostFtdcLimitPosiField) Unmarshal

func (m *CThostFtdcLimitPosiField) Unmarshal(r io.Reader)

type CThostFtdcLimitPosiParamField

type CThostFtdcLimitPosiParamField struct {
	InstrumentID  string
	InvestorRange uint8
	BrokerID      string
	InvestorID    string
	ExchangeID    string
	TotalVolume   int32
	LongVolume    int32
	OpenVolume    int32
	LongAmount    float64
}

func (*CThostFtdcLimitPosiParamField) Marshal

func (m *CThostFtdcLimitPosiParamField) Marshal(w io.Writer)

func (*CThostFtdcLimitPosiParamField) Unmarshal

func (m *CThostFtdcLimitPosiParamField) Unmarshal(r io.Reader)

type CThostFtdcLimitPosiParamSField

type CThostFtdcLimitPosiParamSField struct {
	InstrumentID  string
	InvestorRange uint8
	BrokerID      string
	InvestorID    string
	ExchangeID    string
	TotalVolume   int32
	OpenVolume    int32
}

func (*CThostFtdcLimitPosiParamSField) Marshal

func (*CThostFtdcLimitPosiParamSField) Unmarshal

func (m *CThostFtdcLimitPosiParamSField) Unmarshal(r io.Reader)

type CThostFtdcLimitPosiSField

type CThostFtdcLimitPosiSField struct {
	BrokerID          string
	InvestorID        string
	InstrumentID      string
	ExchangeID        string
	TotalVolume       int32
	OpenVolume        int32
	TotalVolumeFrozen int32
	OpenVolumeFrozen  int32
}

func (*CThostFtdcLimitPosiSField) Marshal

func (m *CThostFtdcLimitPosiSField) Marshal(w io.Writer)

func (*CThostFtdcLimitPosiSField) Unmarshal

func (m *CThostFtdcLimitPosiSField) Unmarshal(r io.Reader)

type CThostFtdcLinkManField

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

func (*CThostFtdcLinkManField) Marshal

func (m *CThostFtdcLinkManField) Marshal(w io.Writer)

func (*CThostFtdcLinkManField) Unmarshal

func (m *CThostFtdcLinkManField) Unmarshal(r io.Reader)

type CThostFtdcLoadSettlementInfoField

type CThostFtdcLoadSettlementInfoField struct {
	BrokerID string
}

func (*CThostFtdcLoadSettlementInfoField) Marshal

func (*CThostFtdcLoadSettlementInfoField) Unmarshal

type CThostFtdcLockField

type CThostFtdcLockField struct {
	BrokerID          string
	InvestorID        string
	InstrumentID      string
	LockRef           string
	UserID            string
	Volume            int32
	RequestID         int32
	BusinessUnit      string
	LockType          uint8
	LockLocalID       string
	ExchangeID        string
	ParticipantID     string
	ClientID          string
	ExchangeInstID    string
	TraderID          string
	InstallID         int32
	OrderSubmitStatus uint8
	NotifySequence    int32
	TradingDay        string
	SettlementID      int32
	LockSysID         string
	InsertDate        string
	InsertTime        string
	CancelTime        string
	LockStatus        uint8
	ClearingPartID    string
	SequenceNo        int32
	FrontID           int32
	SessionID         int32
	UserProductInfo   string
	StatusMsg         string
	ActiveUserID      string
	BrokerLockSeq     int32
	BranchID          string
	IPAddress         string
	MacAddress        string
}

func (*CThostFtdcLockField) Marshal

func (m *CThostFtdcLockField) Marshal(w io.Writer)

func (*CThostFtdcLockField) Unmarshal

func (m *CThostFtdcLockField) Unmarshal(r io.Reader)

type CThostFtdcLockPositionField

type CThostFtdcLockPositionField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
	Volume       int32
	FrozenVolume int32
	TodayVolume  int32
}

func (*CThostFtdcLockPositionField) Marshal

func (m *CThostFtdcLockPositionField) Marshal(w io.Writer)

func (*CThostFtdcLockPositionField) Unmarshal

func (m *CThostFtdcLockPositionField) Unmarshal(r io.Reader)

type CThostFtdcLoginForbiddenIPField

type CThostFtdcLoginForbiddenIPField struct {
	IPAddress string
}

func (*CThostFtdcLoginForbiddenIPField) Marshal

func (*CThostFtdcLoginForbiddenIPField) Unmarshal

func (m *CThostFtdcLoginForbiddenIPField) Unmarshal(r io.Reader)

type CThostFtdcLoginForbiddenUserField

type CThostFtdcLoginForbiddenUserField struct {
	BrokerID  string
	UserID    string
	IPAddress string
}

func (*CThostFtdcLoginForbiddenUserField) Marshal

func (*CThostFtdcLoginForbiddenUserField) Unmarshal

type CThostFtdcLoginInfoField

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

func (*CThostFtdcLoginInfoField) Marshal

func (m *CThostFtdcLoginInfoField) Marshal(w io.Writer)

func (*CThostFtdcLoginInfoField) Unmarshal

func (m *CThostFtdcLoginInfoField) Unmarshal(r io.Reader)

type CThostFtdcLogoutAllField

type CThostFtdcLogoutAllField struct {
	FrontID    int32
	SessionID  int32
	SystemName string
}

func (*CThostFtdcLogoutAllField) Marshal

func (m *CThostFtdcLogoutAllField) Marshal(w io.Writer)

func (*CThostFtdcLogoutAllField) Unmarshal

func (m *CThostFtdcLogoutAllField) Unmarshal(r io.Reader)

type CThostFtdcMDTraderOfferField

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

func (*CThostFtdcMDTraderOfferField) Marshal

func (m *CThostFtdcMDTraderOfferField) Marshal(w io.Writer)

func (*CThostFtdcMDTraderOfferField) Unmarshal

func (m *CThostFtdcMDTraderOfferField) Unmarshal(r io.Reader)

type CThostFtdcMMInstrumentCommissionRateField

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

func (*CThostFtdcMMInstrumentCommissionRateField) Marshal

func (*CThostFtdcMMInstrumentCommissionRateField) Unmarshal

type CThostFtdcMMOptionInstrCommRateField

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

func (*CThostFtdcMMOptionInstrCommRateField) Marshal

func (*CThostFtdcMMOptionInstrCommRateField) Unmarshal

type CThostFtdcManualSyncBrokerUserOTPField

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

func (*CThostFtdcManualSyncBrokerUserOTPField) Marshal

func (*CThostFtdcManualSyncBrokerUserOTPField) Unmarshal

type CThostFtdcMarginModelField

type CThostFtdcMarginModelField struct {
	BrokerID        string
	MarginModelID   string
	MarginModelName string
}

func (*CThostFtdcMarginModelField) Marshal

func (m *CThostFtdcMarginModelField) Marshal(w io.Writer)

func (*CThostFtdcMarginModelField) Unmarshal

func (m *CThostFtdcMarginModelField) Unmarshal(r io.Reader)

type CThostFtdcMarketDataAsk23Field

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

func (*CThostFtdcMarketDataAsk23Field) Marshal

func (*CThostFtdcMarketDataAsk23Field) Unmarshal

func (m *CThostFtdcMarketDataAsk23Field) Unmarshal(r io.Reader)

type CThostFtdcMarketDataAsk45Field

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

func (*CThostFtdcMarketDataAsk45Field) Marshal

func (*CThostFtdcMarketDataAsk45Field) Unmarshal

func (m *CThostFtdcMarketDataAsk45Field) Unmarshal(r io.Reader)

type CThostFtdcMarketDataAveragePriceField

type CThostFtdcMarketDataAveragePriceField struct {
	AveragePrice float64
}

func (*CThostFtdcMarketDataAveragePriceField) Marshal

func (*CThostFtdcMarketDataAveragePriceField) Unmarshal

type CThostFtdcMarketDataBaseField

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

func (*CThostFtdcMarketDataBaseField) Marshal

func (m *CThostFtdcMarketDataBaseField) Marshal(w io.Writer)

func (*CThostFtdcMarketDataBaseField) Unmarshal

func (m *CThostFtdcMarketDataBaseField) Unmarshal(r io.Reader)

type CThostFtdcMarketDataBestPriceField

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

func (*CThostFtdcMarketDataBestPriceField) Marshal

func (*CThostFtdcMarketDataBestPriceField) Unmarshal

type CThostFtdcMarketDataBid23Field

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

func (*CThostFtdcMarketDataBid23Field) Marshal

func (*CThostFtdcMarketDataBid23Field) Unmarshal

func (m *CThostFtdcMarketDataBid23Field) Unmarshal(r io.Reader)

type CThostFtdcMarketDataBid45Field

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

func (*CThostFtdcMarketDataBid45Field) Marshal

func (*CThostFtdcMarketDataBid45Field) Unmarshal

func (m *CThostFtdcMarketDataBid45Field) Unmarshal(r io.Reader)

type CThostFtdcMarketDataExchangeField

type CThostFtdcMarketDataExchangeField struct {
	ExchangeID string
}

func (*CThostFtdcMarketDataExchangeField) Marshal

func (*CThostFtdcMarketDataExchangeField) Unmarshal

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             int32
	Turnover           float64
	OpenInterest       float64
	ClosePrice         float64
	SettlementPrice    float64
	UpperLimitPrice    float64
	LowerLimitPrice    float64
	PreDelta           float64
	CurrDelta          float64
	UpdateTime         string
	UpdateMillisec     int32
	ActionDay          string
}

func (*CThostFtdcMarketDataField) Marshal

func (m *CThostFtdcMarketDataField) Marshal(w io.Writer)

func (*CThostFtdcMarketDataField) Unmarshal

func (m *CThostFtdcMarketDataField) Unmarshal(r io.Reader)

type CThostFtdcMarketDataLastMatchField

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

func (*CThostFtdcMarketDataLastMatchField) Marshal

func (*CThostFtdcMarketDataLastMatchField) Unmarshal

type CThostFtdcMarketDataStaticField

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

func (*CThostFtdcMarketDataStaticField) Marshal

func (*CThostFtdcMarketDataStaticField) Unmarshal

func (m *CThostFtdcMarketDataStaticField) Unmarshal(r io.Reader)

type CThostFtdcMarketDataUpdateTimeField

type CThostFtdcMarketDataUpdateTimeField struct {
	InstrumentID   string
	UpdateTime     string
	UpdateMillisec int32
	ActionDay      string
	ExchangeID     string
}

func (*CThostFtdcMarketDataUpdateTimeField) Marshal

func (*CThostFtdcMarketDataUpdateTimeField) Unmarshal

type CThostFtdcMulticastGroupInfoField

type CThostFtdcMulticastGroupInfoField struct {
	GroupIP   string
	GroupPort int32
	SourceIP  string
}

func (*CThostFtdcMulticastGroupInfoField) Marshal

func (*CThostFtdcMulticastGroupInfoField) Unmarshal

type CThostFtdcNoticeField

type CThostFtdcNoticeField struct {
	BrokerID      string
	Content       string
	SequenceLabel string
}

func (*CThostFtdcNoticeField) Marshal

func (m *CThostFtdcNoticeField) Marshal(w io.Writer)

func (*CThostFtdcNoticeField) Unmarshal

func (m *CThostFtdcNoticeField) Unmarshal(r io.Reader)

type CThostFtdcNotifyFutureSignInField

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

func (*CThostFtdcNotifyFutureSignInField) Marshal

func (*CThostFtdcNotifyFutureSignInField) Unmarshal

type CThostFtdcNotifyFutureSignOutField

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

func (*CThostFtdcNotifyFutureSignOutField) Marshal

func (*CThostFtdcNotifyFutureSignOutField) Unmarshal

type CThostFtdcNotifyQueryAccountField

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

func (*CThostFtdcNotifyQueryAccountField) Marshal

func (*CThostFtdcNotifyQueryAccountField) Unmarshal

type CThostFtdcNotifySyncKeyField

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

func (*CThostFtdcNotifySyncKeyField) Marshal

func (m *CThostFtdcNotifySyncKeyField) Marshal(w io.Writer)

func (*CThostFtdcNotifySyncKeyField) Unmarshal

func (m *CThostFtdcNotifySyncKeyField) Unmarshal(r io.Reader)

type CThostFtdcOpenAccountField

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

func (*CThostFtdcOpenAccountField) Marshal

func (m *CThostFtdcOpenAccountField) Marshal(w io.Writer)

func (*CThostFtdcOpenAccountField) Unmarshal

func (m *CThostFtdcOpenAccountField) Unmarshal(r io.Reader)

type CThostFtdcOptionInstrCommRateField

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

func (*CThostFtdcOptionInstrCommRateField) Marshal

func (*CThostFtdcOptionInstrCommRateField) Unmarshal

type CThostFtdcOptionInstrDeltaField

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

func (*CThostFtdcOptionInstrDeltaField) Marshal

func (*CThostFtdcOptionInstrDeltaField) Unmarshal

func (m *CThostFtdcOptionInstrDeltaField) Unmarshal(r io.Reader)

type CThostFtdcOptionInstrMarginAdjustField

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

func (*CThostFtdcOptionInstrMarginAdjustField) Marshal

func (*CThostFtdcOptionInstrMarginAdjustField) Unmarshal

type CThostFtdcOptionInstrMarginGuardField

type CThostFtdcOptionInstrMarginGuardField struct {
	InstrumentID              string
	InvestorRange             uint8
	BrokerID                  string
	InvestorID                string
	SShortMarginRatioByMoney  float64
	SShortMarginRatioByVolume float64
	HShortMarginRatioByMoney  float64
	HShortMarginRatioByVolume float64
	AShortMarginRatioByMoney  float64
	AShortMarginRatioByVolume float64
	IsRelative                int32
	ExchangeID                string
}

func (*CThostFtdcOptionInstrMarginGuardField) Marshal

func (*CThostFtdcOptionInstrMarginGuardField) Unmarshal

type CThostFtdcOptionInstrMiniMarginField

type CThostFtdcOptionInstrMiniMarginField struct {
	InstrumentID  string
	InvestorRange uint8
	BrokerID      string
	InvestorID    string
	MinMargin     float64
	ValueMethod   uint8
	IsRelative    int32
	ExchangeID    string
}

func (*CThostFtdcOptionInstrMiniMarginField) Marshal

func (*CThostFtdcOptionInstrMiniMarginField) Unmarshal

type CThostFtdcOptionInstrTradeCostField

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

func (*CThostFtdcOptionInstrTradeCostField) Marshal

func (*CThostFtdcOptionInstrTradeCostField) Unmarshal

type CThostFtdcOptionInstrTradingRightField

type CThostFtdcOptionInstrTradingRightField struct {
	InstrumentID  string
	InvestorRange uint8
	BrokerID      string
	InvestorID    string
	Direction     uint8
	TradingRight  uint8
	ExchangeID    string
	HedgeFlag     uint8
}

func (*CThostFtdcOptionInstrTradingRightField) Marshal

func (*CThostFtdcOptionInstrTradingRightField) Unmarshal

type CThostFtdcOptionSelfCloseActionField

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

func (*CThostFtdcOptionSelfCloseActionField) Marshal

func (*CThostFtdcOptionSelfCloseActionField) Unmarshal

type CThostFtdcOptionSelfCloseField

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

func (*CThostFtdcOptionSelfCloseField) Marshal

func (*CThostFtdcOptionSelfCloseField) Unmarshal

func (m *CThostFtdcOptionSelfCloseField) Unmarshal(r io.Reader)

type CThostFtdcOrderActionField

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

func (*CThostFtdcOrderActionField) Marshal

func (m *CThostFtdcOrderActionField) Marshal(w io.Writer)

func (*CThostFtdcOrderActionField) Unmarshal

func (m *CThostFtdcOrderActionField) Unmarshal(r io.Reader)

type CThostFtdcOrderField

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

func (*CThostFtdcOrderField) Marshal

func (m *CThostFtdcOrderField) Marshal(w io.Writer)

func (*CThostFtdcOrderField) Unmarshal

func (m *CThostFtdcOrderField) Unmarshal(r io.Reader)

type CThostFtdcPBUInvestorMapField

type CThostFtdcPBUInvestorMapField struct {
	BrokerID      string
	ExchangeID    string
	InvestorID    string
	PBU           string
	ClientID      string
	OperationDate string
	OperationTime string
}

func (*CThostFtdcPBUInvestorMapField) Marshal

func (m *CThostFtdcPBUInvestorMapField) Marshal(w io.Writer)

func (*CThostFtdcPBUInvestorMapField) Unmarshal

func (m *CThostFtdcPBUInvestorMapField) Unmarshal(r io.Reader)

type CThostFtdcParkedOrderActionField

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

func (*CThostFtdcParkedOrderActionField) Marshal

func (*CThostFtdcParkedOrderActionField) Unmarshal

func (m *CThostFtdcParkedOrderActionField) Unmarshal(r io.Reader)

type CThostFtdcParkedOrderField

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

func (*CThostFtdcParkedOrderField) Marshal

func (m *CThostFtdcParkedOrderField) Marshal(w io.Writer)

func (*CThostFtdcParkedOrderField) Unmarshal

func (m *CThostFtdcParkedOrderField) Unmarshal(r io.Reader)

type CThostFtdcPartBrokerField

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

func (*CThostFtdcPartBrokerField) Marshal

func (m *CThostFtdcPartBrokerField) Marshal(w io.Writer)

func (*CThostFtdcPartBrokerField) Unmarshal

func (m *CThostFtdcPartBrokerField) Unmarshal(r io.Reader)

type CThostFtdcPosiFreezeField

type CThostFtdcPosiFreezeField struct {
	BrokerID         string
	InvestorID       string
	InstrumentID     string
	ExchangeID       string
	OrderLocalID     string
	TraderID         string
	ParticipantID    string
	InstallID        int32
	Volume           int32
	FreezeReasonType uint8
	FreezeType       uint8
}

func (*CThostFtdcPosiFreezeField) Marshal

func (m *CThostFtdcPosiFreezeField) Marshal(w io.Writer)

func (*CThostFtdcPosiFreezeField) Unmarshal

func (m *CThostFtdcPosiFreezeField) Unmarshal(r io.Reader)

type CThostFtdcPositionProfitAlgorithmField

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

func (*CThostFtdcPositionProfitAlgorithmField) Marshal

func (*CThostFtdcPositionProfitAlgorithmField) Unmarshal

type CThostFtdcProductExchRateField

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

func (*CThostFtdcProductExchRateField) Marshal

func (*CThostFtdcProductExchRateField) Unmarshal

func (m *CThostFtdcProductExchRateField) Unmarshal(r io.Reader)

type CThostFtdcProductField

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

func (*CThostFtdcProductField) Marshal

func (m *CThostFtdcProductField) Marshal(w io.Writer)

func (*CThostFtdcProductField) Unmarshal

func (m *CThostFtdcProductField) Unmarshal(r io.Reader)

type CThostFtdcProductGroupField

type CThostFtdcProductGroupField struct {
	ProductID      string
	ExchangeID     string
	ProductGroupID string
}

func (*CThostFtdcProductGroupField) Marshal

func (m *CThostFtdcProductGroupField) Marshal(w io.Writer)

func (*CThostFtdcProductGroupField) Unmarshal

func (m *CThostFtdcProductGroupField) Unmarshal(r io.Reader)

type CThostFtdcQryAccountregisterField

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

func (*CThostFtdcQryAccountregisterField) Marshal

func (*CThostFtdcQryAccountregisterField) Unmarshal

type CThostFtdcQryBatchOrderActionField

type CThostFtdcQryBatchOrderActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

func (*CThostFtdcQryBatchOrderActionField) Marshal

func (*CThostFtdcQryBatchOrderActionField) Unmarshal

type CThostFtdcQryBrokerField

type CThostFtdcQryBrokerField struct {
	BrokerID string
}

func (*CThostFtdcQryBrokerField) Marshal

func (m *CThostFtdcQryBrokerField) Marshal(w io.Writer)

func (*CThostFtdcQryBrokerField) Unmarshal

func (m *CThostFtdcQryBrokerField) Unmarshal(r io.Reader)

type CThostFtdcQryBrokerLimitPosiField

type CThostFtdcQryBrokerLimitPosiField struct {
	BrokerID     string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryBrokerLimitPosiField) Marshal

func (*CThostFtdcQryBrokerLimitPosiField) Unmarshal

type CThostFtdcQryBrokerLockInvestorStockField

type CThostFtdcQryBrokerLockInvestorStockField struct {
	ExchangeID   string
	BrokerID     string
	InvestorID   string
	InstrumentID string
}

func (*CThostFtdcQryBrokerLockInvestorStockField) Marshal

func (*CThostFtdcQryBrokerLockInvestorStockField) Unmarshal

type CThostFtdcQryBrokerTradingAlgosField

type CThostFtdcQryBrokerTradingAlgosField struct {
	BrokerID     string
	ExchangeID   string
	InstrumentID string
}

func (*CThostFtdcQryBrokerTradingAlgosField) Marshal

func (*CThostFtdcQryBrokerTradingAlgosField) Unmarshal

type CThostFtdcQryBrokerTradingParamsField

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

func (*CThostFtdcQryBrokerTradingParamsField) Marshal

func (*CThostFtdcQryBrokerTradingParamsField) Unmarshal

type CThostFtdcQryBrokerUserEventField

type CThostFtdcQryBrokerUserEventField struct {
	BrokerID      string
	UserID        string
	UserEventType uint8
}

func (*CThostFtdcQryBrokerUserEventField) Marshal

func (*CThostFtdcQryBrokerUserEventField) Unmarshal

type CThostFtdcQryBrokerUserField

type CThostFtdcQryBrokerUserField struct {
	BrokerID string
	UserID   string
}

func (*CThostFtdcQryBrokerUserField) Marshal

func (m *CThostFtdcQryBrokerUserField) Marshal(w io.Writer)

func (*CThostFtdcQryBrokerUserField) Unmarshal

func (m *CThostFtdcQryBrokerUserField) Unmarshal(r io.Reader)

type CThostFtdcQryBrokerUserFunctionField

type CThostFtdcQryBrokerUserFunctionField struct {
	BrokerID string
	UserID   string
}

func (*CThostFtdcQryBrokerUserFunctionField) Marshal

func (*CThostFtdcQryBrokerUserFunctionField) Unmarshal

type CThostFtdcQryBulletinField

type CThostFtdcQryBulletinField struct {
	ExchangeID  string
	BulletinID  int32
	SequenceNo  int32
	NewsType    string
	NewsUrgency uint8
}

func (*CThostFtdcQryBulletinField) Marshal

func (m *CThostFtdcQryBulletinField) Marshal(w io.Writer)

func (*CThostFtdcQryBulletinField) Unmarshal

func (m *CThostFtdcQryBulletinField) Unmarshal(r io.Reader)

type CThostFtdcQryCFMMCBrokerKeyField

type CThostFtdcQryCFMMCBrokerKeyField struct {
	BrokerID string
}

func (*CThostFtdcQryCFMMCBrokerKeyField) Marshal

func (*CThostFtdcQryCFMMCBrokerKeyField) Unmarshal

func (m *CThostFtdcQryCFMMCBrokerKeyField) Unmarshal(r io.Reader)

type CThostFtdcQryCFMMCTradingAccountKeyField

type CThostFtdcQryCFMMCTradingAccountKeyField struct {
	BrokerID   string
	InvestorID string
}

func (*CThostFtdcQryCFMMCTradingAccountKeyField) Marshal

func (*CThostFtdcQryCFMMCTradingAccountKeyField) Unmarshal

type CThostFtdcQryCombActionField

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

func (*CThostFtdcQryCombActionField) Marshal

func (m *CThostFtdcQryCombActionField) Marshal(w io.Writer)

func (*CThostFtdcQryCombActionField) Unmarshal

func (m *CThostFtdcQryCombActionField) Unmarshal(r io.Reader)

type CThostFtdcQryCombInstrumentGuardField

type CThostFtdcQryCombInstrumentGuardField struct {
	BrokerID     string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryCombInstrumentGuardField) Marshal

func (*CThostFtdcQryCombInstrumentGuardField) Unmarshal

type CThostFtdcQryCombinationLegField

type CThostFtdcQryCombinationLegField struct {
	CombInstrumentID string
	LegID            int32
	LegInstrumentID  string
}

func (*CThostFtdcQryCombinationLegField) Marshal

func (*CThostFtdcQryCombinationLegField) Unmarshal

func (m *CThostFtdcQryCombinationLegField) Unmarshal(r io.Reader)

type CThostFtdcQryCommRateModelField

type CThostFtdcQryCommRateModelField struct {
	BrokerID    string
	CommModelID string
}

func (*CThostFtdcQryCommRateModelField) Marshal

func (*CThostFtdcQryCommRateModelField) Unmarshal

func (m *CThostFtdcQryCommRateModelField) Unmarshal(r io.Reader)

type CThostFtdcQryContractBankField

type CThostFtdcQryContractBankField struct {
	BrokerID   string
	BankID     string
	BankBrchID string
}

func (*CThostFtdcQryContractBankField) Marshal

func (*CThostFtdcQryContractBankField) Unmarshal

func (m *CThostFtdcQryContractBankField) Unmarshal(r io.Reader)

type CThostFtdcQryCurrDRIdentityField

type CThostFtdcQryCurrDRIdentityField struct {
	DRIdentityID int32
}

func (*CThostFtdcQryCurrDRIdentityField) Marshal

func (*CThostFtdcQryCurrDRIdentityField) Unmarshal

func (m *CThostFtdcQryCurrDRIdentityField) Unmarshal(r io.Reader)

type CThostFtdcQryDepthMarketDataField

type CThostFtdcQryDepthMarketDataField struct {
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryDepthMarketDataField) Marshal

func (*CThostFtdcQryDepthMarketDataField) Unmarshal

type CThostFtdcQryDesignateField

type CThostFtdcQryDesignateField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

func (*CThostFtdcQryDesignateField) Marshal

func (m *CThostFtdcQryDesignateField) Marshal(w io.Writer)

func (*CThostFtdcQryDesignateField) Unmarshal

func (m *CThostFtdcQryDesignateField) Unmarshal(r io.Reader)

type CThostFtdcQryETFOptionInstrCommRateField

type CThostFtdcQryETFOptionInstrCommRateField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryETFOptionInstrCommRateField) Marshal

func (*CThostFtdcQryETFOptionInstrCommRateField) Unmarshal

type CThostFtdcQryEWarrantOffsetField

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

func (*CThostFtdcQryEWarrantOffsetField) Marshal

func (*CThostFtdcQryEWarrantOffsetField) Unmarshal

func (m *CThostFtdcQryEWarrantOffsetField) Unmarshal(r io.Reader)

type CThostFtdcQryErrExecOrderActionField

type CThostFtdcQryErrExecOrderActionField struct {
	BrokerID   string
	InvestorID string
}

func (*CThostFtdcQryErrExecOrderActionField) Marshal

func (*CThostFtdcQryErrExecOrderActionField) Unmarshal

type CThostFtdcQryErrExecOrderField

type CThostFtdcQryErrExecOrderField struct {
	BrokerID   string
	InvestorID string
}

func (*CThostFtdcQryErrExecOrderField) Marshal

func (*CThostFtdcQryErrExecOrderField) Unmarshal

func (m *CThostFtdcQryErrExecOrderField) Unmarshal(r io.Reader)

type CThostFtdcQryErrOrderActionField

type CThostFtdcQryErrOrderActionField struct {
	BrokerID   string
	InvestorID string
}

func (*CThostFtdcQryErrOrderActionField) Marshal

func (*CThostFtdcQryErrOrderActionField) Unmarshal

func (m *CThostFtdcQryErrOrderActionField) Unmarshal(r io.Reader)

type CThostFtdcQryErrOrderField

type CThostFtdcQryErrOrderField struct {
	BrokerID   string
	InvestorID string
}

func (*CThostFtdcQryErrOrderField) Marshal

func (m *CThostFtdcQryErrOrderField) Marshal(w io.Writer)

func (*CThostFtdcQryErrOrderField) Unmarshal

func (m *CThostFtdcQryErrOrderField) Unmarshal(r io.Reader)

type CThostFtdcQryErrStockDisposalActionField

type CThostFtdcQryErrStockDisposalActionField struct {
	BrokerID   string
	InvestorID string
}

func (*CThostFtdcQryErrStockDisposalActionField) Marshal

func (*CThostFtdcQryErrStockDisposalActionField) Unmarshal

type CThostFtdcQryExchangeCombActionField

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

func (*CThostFtdcQryExchangeCombActionField) Marshal

func (*CThostFtdcQryExchangeCombActionField) Unmarshal

type CThostFtdcQryExchangeExecOrderActionField

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

func (*CThostFtdcQryExchangeExecOrderActionField) Marshal

func (*CThostFtdcQryExchangeExecOrderActionField) Unmarshal

type CThostFtdcQryExchangeExecOrderField

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

func (*CThostFtdcQryExchangeExecOrderField) Marshal

func (*CThostFtdcQryExchangeExecOrderField) Unmarshal

type CThostFtdcQryExchangeField

type CThostFtdcQryExchangeField struct {
	ExchangeID string
}

func (*CThostFtdcQryExchangeField) Marshal

func (m *CThostFtdcQryExchangeField) Marshal(w io.Writer)

func (*CThostFtdcQryExchangeField) Unmarshal

func (m *CThostFtdcQryExchangeField) Unmarshal(r io.Reader)

type CThostFtdcQryExchangeForQuoteField

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

func (*CThostFtdcQryExchangeForQuoteField) Marshal

func (*CThostFtdcQryExchangeForQuoteField) Unmarshal

type CThostFtdcQryExchangeLockField

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

func (*CThostFtdcQryExchangeLockField) Marshal

func (*CThostFtdcQryExchangeLockField) Unmarshal

func (m *CThostFtdcQryExchangeLockField) Unmarshal(r io.Reader)

type CThostFtdcQryExchangeMarginRateAdjustField

type CThostFtdcQryExchangeMarginRateAdjustField struct {
	BrokerID     string
	InstrumentID string
	HedgeFlag    uint8
}

func (*CThostFtdcQryExchangeMarginRateAdjustField) Marshal

func (*CThostFtdcQryExchangeMarginRateAdjustField) Unmarshal

type CThostFtdcQryExchangeMarginRateField

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

func (*CThostFtdcQryExchangeMarginRateField) Marshal

func (*CThostFtdcQryExchangeMarginRateField) Unmarshal

type CThostFtdcQryExchangeOrderActionField

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

func (*CThostFtdcQryExchangeOrderActionField) Marshal

func (*CThostFtdcQryExchangeOrderActionField) Unmarshal

type CThostFtdcQryExchangeOrderField

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

func (*CThostFtdcQryExchangeOrderField) Marshal

func (*CThostFtdcQryExchangeOrderField) Unmarshal

func (m *CThostFtdcQryExchangeOrderField) Unmarshal(r io.Reader)

type CThostFtdcQryExchangeQuoteActionField

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

func (*CThostFtdcQryExchangeQuoteActionField) Marshal

func (*CThostFtdcQryExchangeQuoteActionField) Unmarshal

type CThostFtdcQryExchangeQuoteField

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

func (*CThostFtdcQryExchangeQuoteField) Marshal

func (*CThostFtdcQryExchangeQuoteField) Unmarshal

func (m *CThostFtdcQryExchangeQuoteField) Unmarshal(r io.Reader)

type CThostFtdcQryExchangeRateField

type CThostFtdcQryExchangeRateField struct {
	BrokerID       string
	FromCurrencyID string
	ToCurrencyID   string
}

func (*CThostFtdcQryExchangeRateField) Marshal

func (*CThostFtdcQryExchangeRateField) Unmarshal

func (m *CThostFtdcQryExchangeRateField) Unmarshal(r io.Reader)

type CThostFtdcQryExchangeSequenceField

type CThostFtdcQryExchangeSequenceField struct {
	ExchangeID string
}

func (*CThostFtdcQryExchangeSequenceField) Marshal

func (*CThostFtdcQryExchangeSequenceField) Unmarshal

type CThostFtdcQryExchangeStockDisposalActionField

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

func (*CThostFtdcQryExchangeStockDisposalActionField) Marshal

func (*CThostFtdcQryExchangeStockDisposalActionField) Unmarshal

type CThostFtdcQryExecCombineOrderField

type CThostFtdcQryExecCombineOrderField struct {
	BrokerID              string
	InvestorID            string
	CallInstrumentID      string
	PutInstrumentID       string
	ExchangeID            string
	ExecCombineOrderSysID string
	InsertTimeStart       string
	InsertTimeEnd         string
}

func (*CThostFtdcQryExecCombineOrderField) Marshal

func (*CThostFtdcQryExecCombineOrderField) Unmarshal

type CThostFtdcQryExecFreezeField

type CThostFtdcQryExecFreezeField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryExecFreezeField) Marshal

func (m *CThostFtdcQryExecFreezeField) Marshal(w io.Writer)

func (*CThostFtdcQryExecFreezeField) Unmarshal

func (m *CThostFtdcQryExecFreezeField) Unmarshal(r io.Reader)

type CThostFtdcQryExecIsCheckUnderlyingField

type CThostFtdcQryExecIsCheckUnderlyingField struct {
	ExchangeID        string
	UnderlyingInstrID string
}

func (*CThostFtdcQryExecIsCheckUnderlyingField) Marshal

func (*CThostFtdcQryExecIsCheckUnderlyingField) Unmarshal

type CThostFtdcQryExecOrderActionField

type CThostFtdcQryExecOrderActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

func (*CThostFtdcQryExecOrderActionField) Marshal

func (*CThostFtdcQryExecOrderActionField) Unmarshal

type CThostFtdcQryExecOrderField

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

func (*CThostFtdcQryExecOrderField) Marshal

func (m *CThostFtdcQryExecOrderField) Marshal(w io.Writer)

func (*CThostFtdcQryExecOrderField) Unmarshal

func (m *CThostFtdcQryExecOrderField) Unmarshal(r io.Reader)

type CThostFtdcQryForQuoteField

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

func (*CThostFtdcQryForQuoteField) Marshal

func (m *CThostFtdcQryForQuoteField) Marshal(w io.Writer)

func (*CThostFtdcQryForQuoteField) Unmarshal

func (m *CThostFtdcQryForQuoteField) Unmarshal(r io.Reader)

type CThostFtdcQryForQuoteParamField

type CThostFtdcQryForQuoteParamField struct {
	BrokerID     string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryForQuoteParamField) Marshal

func (*CThostFtdcQryForQuoteParamField) Unmarshal

func (m *CThostFtdcQryForQuoteParamField) Unmarshal(r io.Reader)

type CThostFtdcQryFrontStatusField

type CThostFtdcQryFrontStatusField struct {
	FrontID int32
}

func (*CThostFtdcQryFrontStatusField) Marshal

func (m *CThostFtdcQryFrontStatusField) Marshal(w io.Writer)

func (*CThostFtdcQryFrontStatusField) Unmarshal

func (m *CThostFtdcQryFrontStatusField) Unmarshal(r io.Reader)

type CThostFtdcQryHisOrderField

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

func (*CThostFtdcQryHisOrderField) Marshal

func (m *CThostFtdcQryHisOrderField) Marshal(w io.Writer)

func (*CThostFtdcQryHisOrderField) Unmarshal

func (m *CThostFtdcQryHisOrderField) Unmarshal(r io.Reader)

type CThostFtdcQryIPListField

type CThostFtdcQryIPListField struct {
	IPAddress string
}

func (*CThostFtdcQryIPListField) Marshal

func (m *CThostFtdcQryIPListField) Marshal(w io.Writer)

func (*CThostFtdcQryIPListField) Unmarshal

func (m *CThostFtdcQryIPListField) Unmarshal(r io.Reader)

type CThostFtdcQryInstrumentCommissionRateField

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

func (*CThostFtdcQryInstrumentCommissionRateField) Marshal

func (*CThostFtdcQryInstrumentCommissionRateField) Unmarshal

type CThostFtdcQryInstrumentField

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

func (*CThostFtdcQryInstrumentField) Marshal

func (m *CThostFtdcQryInstrumentField) Marshal(w io.Writer)

func (*CThostFtdcQryInstrumentField) Unmarshal

func (m *CThostFtdcQryInstrumentField) Unmarshal(r io.Reader)

type CThostFtdcQryInstrumentMarginRateField

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

func (*CThostFtdcQryInstrumentMarginRateField) Marshal

func (*CThostFtdcQryInstrumentMarginRateField) Unmarshal

type CThostFtdcQryInstrumentOrderCommRateField

type CThostFtdcQryInstrumentOrderCommRateField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryInstrumentOrderCommRateField) Marshal

func (*CThostFtdcQryInstrumentOrderCommRateField) Unmarshal

type CThostFtdcQryInstrumentStatusField

type CThostFtdcQryInstrumentStatusField struct {
	ExchangeID     string
	ExchangeInstID string
}

func (*CThostFtdcQryInstrumentStatusField) Marshal

func (*CThostFtdcQryInstrumentStatusField) Unmarshal

type CThostFtdcQryInstrumentTradingRightField

type CThostFtdcQryInstrumentTradingRightField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryInstrumentTradingRightField) Marshal

func (*CThostFtdcQryInstrumentTradingRightField) Unmarshal

type CThostFtdcQryInvestUnitField

type CThostFtdcQryInvestUnitField struct {
	BrokerID     string
	InvestorID   string
	InvestUnitID string
}

func (*CThostFtdcQryInvestUnitField) Marshal

func (m *CThostFtdcQryInvestUnitField) Marshal(w io.Writer)

func (*CThostFtdcQryInvestUnitField) Unmarshal

func (m *CThostFtdcQryInvestUnitField) Unmarshal(r io.Reader)

type CThostFtdcQryInvestorField

type CThostFtdcQryInvestorField struct {
	BrokerID   string
	InvestorID string
}

func (*CThostFtdcQryInvestorField) Marshal

func (m *CThostFtdcQryInvestorField) Marshal(w io.Writer)

func (*CThostFtdcQryInvestorField) Unmarshal

func (m *CThostFtdcQryInvestorField) Unmarshal(r io.Reader)

type CThostFtdcQryInvestorGroupField

type CThostFtdcQryInvestorGroupField struct {
	BrokerID string
}

func (*CThostFtdcQryInvestorGroupField) Marshal

func (*CThostFtdcQryInvestorGroupField) Unmarshal

func (m *CThostFtdcQryInvestorGroupField) Unmarshal(r io.Reader)

type CThostFtdcQryInvestorLevelField

type CThostFtdcQryInvestorLevelField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

func (*CThostFtdcQryInvestorLevelField) Marshal

func (*CThostFtdcQryInvestorLevelField) Unmarshal

func (m *CThostFtdcQryInvestorLevelField) Unmarshal(r io.Reader)

type CThostFtdcQryInvestorPositionCombineDetailField

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

func (*CThostFtdcQryInvestorPositionCombineDetailField) Marshal

func (*CThostFtdcQryInvestorPositionCombineDetailField) Unmarshal

type CThostFtdcQryInvestorPositionDetailField

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

func (*CThostFtdcQryInvestorPositionDetailField) Marshal

func (*CThostFtdcQryInvestorPositionDetailField) Unmarshal

type CThostFtdcQryInvestorPositionField

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

func (*CThostFtdcQryInvestorPositionField) Marshal

func (*CThostFtdcQryInvestorPositionField) Unmarshal

type CThostFtdcQryInvestorProductGroupMarginField

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

func (*CThostFtdcQryInvestorProductGroupMarginField) Marshal

func (*CThostFtdcQryInvestorProductGroupMarginField) Unmarshal

type CThostFtdcQryLimitAmountField

type CThostFtdcQryLimitAmountField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

func (*CThostFtdcQryLimitAmountField) Marshal

func (m *CThostFtdcQryLimitAmountField) Marshal(w io.Writer)

func (*CThostFtdcQryLimitAmountField) Unmarshal

func (m *CThostFtdcQryLimitAmountField) Unmarshal(r io.Reader)

type CThostFtdcQryLimitPosiField

type CThostFtdcQryLimitPosiField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryLimitPosiField) Marshal

func (m *CThostFtdcQryLimitPosiField) Marshal(w io.Writer)

func (*CThostFtdcQryLimitPosiField) Unmarshal

func (m *CThostFtdcQryLimitPosiField) Unmarshal(r io.Reader)

type CThostFtdcQryLimitPosiSField

type CThostFtdcQryLimitPosiSField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryLimitPosiSField) Marshal

func (m *CThostFtdcQryLimitPosiSField) Marshal(w io.Writer)

func (*CThostFtdcQryLimitPosiSField) Unmarshal

func (m *CThostFtdcQryLimitPosiSField) Unmarshal(r io.Reader)

type CThostFtdcQryLinkManField

type CThostFtdcQryLinkManField struct {
	BrokerID   string
	InvestorID string
}

func (*CThostFtdcQryLinkManField) Marshal

func (m *CThostFtdcQryLinkManField) Marshal(w io.Writer)

func (*CThostFtdcQryLinkManField) Unmarshal

func (m *CThostFtdcQryLinkManField) Unmarshal(r io.Reader)

type CThostFtdcQryLockField

type CThostFtdcQryLockField struct {
	BrokerID        string
	InvestorID      string
	InstrumentID    string
	ExchangeID      string
	LockSysID       string
	InsertTimeStart string
	InsertTimeEnd   string
}

func (*CThostFtdcQryLockField) Marshal

func (m *CThostFtdcQryLockField) Marshal(w io.Writer)

func (*CThostFtdcQryLockField) Unmarshal

func (m *CThostFtdcQryLockField) Unmarshal(r io.Reader)

type CThostFtdcQryLockPositionField

type CThostFtdcQryLockPositionField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryLockPositionField) Marshal

func (*CThostFtdcQryLockPositionField) Unmarshal

func (m *CThostFtdcQryLockPositionField) Unmarshal(r io.Reader)

type CThostFtdcQryLoginForbiddenIPField

type CThostFtdcQryLoginForbiddenIPField struct {
	IPAddress string
}

func (*CThostFtdcQryLoginForbiddenIPField) Marshal

func (*CThostFtdcQryLoginForbiddenIPField) Unmarshal

type CThostFtdcQryLoginForbiddenUserField

type CThostFtdcQryLoginForbiddenUserField struct {
	BrokerID string
	UserID   string
}

func (*CThostFtdcQryLoginForbiddenUserField) Marshal

func (*CThostFtdcQryLoginForbiddenUserField) Unmarshal

type CThostFtdcQryMDTraderOfferField

type CThostFtdcQryMDTraderOfferField struct {
	ExchangeID    string
	ParticipantID string
	TraderID      string
}

func (*CThostFtdcQryMDTraderOfferField) Marshal

func (*CThostFtdcQryMDTraderOfferField) Unmarshal

func (m *CThostFtdcQryMDTraderOfferField) Unmarshal(r io.Reader)

type CThostFtdcQryMMInstrumentCommissionRateField

type CThostFtdcQryMMInstrumentCommissionRateField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryMMInstrumentCommissionRateField) Marshal

func (*CThostFtdcQryMMInstrumentCommissionRateField) Unmarshal

type CThostFtdcQryMMOptionInstrCommRateField

type CThostFtdcQryMMOptionInstrCommRateField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	ExchangeID   string
}

func (*CThostFtdcQryMMOptionInstrCommRateField) Marshal

func (*CThostFtdcQryMMOptionInstrCommRateField) Unmarshal

type CThostFtdcQryMarginModelField

type CThostFtdcQryMarginModelField struct {
	BrokerID      string
	MarginModelID string
}

func (*CThostFtdcQryMarginModelField) Marshal

func (m *CThostFtdcQryMarginModelField) Marshal(w io.Writer)

func (*CThostFtdcQryMarginModelField) Unmarshal

func (m *CThostFtdcQryMarginModelField) Unmarshal(r io.Reader)

type CThostFtdcQryNoticeField

type CThostFtdcQryNoticeField struct {
	BrokerID string
}

func (*CThostFtdcQryNoticeField) Marshal

func (m *CThostFtdcQryNoticeField) Marshal(w io.Writer)

func (*CThostFtdcQryNoticeField) Unmarshal

func (m *CThostFtdcQryNoticeField) Unmarshal(r io.Reader)

type CThostFtdcQryOptionInstrCommRateField

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

func (*CThostFtdcQryOptionInstrCommRateField) Marshal

func (*CThostFtdcQryOptionInstrCommRateField) Unmarshal

type CThostFtdcQryOptionInstrTradeCostField

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

func (*CThostFtdcQryOptionInstrTradeCostField) Marshal

func (*CThostFtdcQryOptionInstrTradeCostField) Unmarshal

type CThostFtdcQryOptionInstrTradingRightField

type CThostFtdcQryOptionInstrTradingRightField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	Direction    uint8
	ExchangeID   string
}

func (*CThostFtdcQryOptionInstrTradingRightField) Marshal

func (*CThostFtdcQryOptionInstrTradingRightField) Unmarshal

type CThostFtdcQryOptionSelfCloseActionField

type CThostFtdcQryOptionSelfCloseActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

func (*CThostFtdcQryOptionSelfCloseActionField) Marshal

func (*CThostFtdcQryOptionSelfCloseActionField) Unmarshal

type CThostFtdcQryOptionSelfCloseField

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

func (*CThostFtdcQryOptionSelfCloseField) Marshal

func (*CThostFtdcQryOptionSelfCloseField) Unmarshal

type CThostFtdcQryOrderActionField

type CThostFtdcQryOrderActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

func (*CThostFtdcQryOrderActionField) Marshal

func (m *CThostFtdcQryOrderActionField) Marshal(w io.Writer)

func (*CThostFtdcQryOrderActionField) Unmarshal

func (m *CThostFtdcQryOrderActionField) Unmarshal(r io.Reader)

type CThostFtdcQryOrderField

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

func (*CThostFtdcQryOrderField) Marshal

func (m *CThostFtdcQryOrderField) Marshal(w io.Writer)

func (*CThostFtdcQryOrderField) Unmarshal

func (m *CThostFtdcQryOrderField) Unmarshal(r io.Reader)

type CThostFtdcQryParkedOrderActionField

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

func (*CThostFtdcQryParkedOrderActionField) Marshal

func (*CThostFtdcQryParkedOrderActionField) Unmarshal

type CThostFtdcQryParkedOrderField

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

func (*CThostFtdcQryParkedOrderField) Marshal

func (m *CThostFtdcQryParkedOrderField) Marshal(w io.Writer)

func (*CThostFtdcQryParkedOrderField) Unmarshal

func (m *CThostFtdcQryParkedOrderField) Unmarshal(r io.Reader)

type CThostFtdcQryPartBrokerField

type CThostFtdcQryPartBrokerField struct {
	ExchangeID    string
	BrokerID      string
	ParticipantID string
}

func (*CThostFtdcQryPartBrokerField) Marshal

func (m *CThostFtdcQryPartBrokerField) Marshal(w io.Writer)

func (*CThostFtdcQryPartBrokerField) Unmarshal

func (m *CThostFtdcQryPartBrokerField) Unmarshal(r io.Reader)

type CThostFtdcQryProductExchRateField

type CThostFtdcQryProductExchRateField struct {
	ProductID  string
	ExchangeID string
}

func (*CThostFtdcQryProductExchRateField) Marshal

func (*CThostFtdcQryProductExchRateField) Unmarshal

type CThostFtdcQryProductField

type CThostFtdcQryProductField struct {
	ProductID    string
	ProductClass uint8
	ExchangeID   string
}

func (*CThostFtdcQryProductField) Marshal

func (m *CThostFtdcQryProductField) Marshal(w io.Writer)

func (*CThostFtdcQryProductField) Unmarshal

func (m *CThostFtdcQryProductField) Unmarshal(r io.Reader)

type CThostFtdcQryProductGroupField

type CThostFtdcQryProductGroupField struct {
	ProductID  string
	ExchangeID string
}

func (*CThostFtdcQryProductGroupField) Marshal

func (*CThostFtdcQryProductGroupField) Unmarshal

func (m *CThostFtdcQryProductGroupField) Unmarshal(r io.Reader)

type CThostFtdcQryQuoteActionField

type CThostFtdcQryQuoteActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

func (*CThostFtdcQryQuoteActionField) Marshal

func (m *CThostFtdcQryQuoteActionField) Marshal(w io.Writer)

func (*CThostFtdcQryQuoteActionField) Unmarshal

func (m *CThostFtdcQryQuoteActionField) Unmarshal(r io.Reader)

type CThostFtdcQryQuoteField

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

func (*CThostFtdcQryQuoteField) Marshal

func (m *CThostFtdcQryQuoteField) Marshal(w io.Writer)

func (*CThostFtdcQryQuoteField) Unmarshal

func (m *CThostFtdcQryQuoteField) Unmarshal(r io.Reader)

type CThostFtdcQrySecAgentACIDMapField

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

func (*CThostFtdcQrySecAgentACIDMapField) Marshal

func (*CThostFtdcQrySecAgentACIDMapField) Unmarshal

type CThostFtdcQrySettlementInfoConfirmField

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

func (*CThostFtdcQrySettlementInfoConfirmField) Marshal

func (*CThostFtdcQrySettlementInfoConfirmField) Unmarshal

type CThostFtdcQrySettlementInfoField

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

func (*CThostFtdcQrySettlementInfoField) Marshal

func (*CThostFtdcQrySettlementInfoField) Unmarshal

func (m *CThostFtdcQrySettlementInfoField) Unmarshal(r io.Reader)

type CThostFtdcQryStockDisposalActionField

type CThostFtdcQryStockDisposalActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

func (*CThostFtdcQryStockDisposalActionField) Marshal

func (*CThostFtdcQryStockDisposalActionField) Unmarshal

type CThostFtdcQryStockDisposalField

type CThostFtdcQryStockDisposalField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

func (*CThostFtdcQryStockDisposalField) Marshal

func (*CThostFtdcQryStockDisposalField) Unmarshal

func (m *CThostFtdcQryStockDisposalField) Unmarshal(r io.Reader)

type CThostFtdcQryStrikeOffsetField

type CThostFtdcQryStrikeOffsetField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
}

func (*CThostFtdcQryStrikeOffsetField) Marshal

func (*CThostFtdcQryStrikeOffsetField) Unmarshal

func (m *CThostFtdcQryStrikeOffsetField) Unmarshal(r io.Reader)

type CThostFtdcQrySuperUserField

type CThostFtdcQrySuperUserField struct {
	UserID string
}

func (*CThostFtdcQrySuperUserField) Marshal

func (m *CThostFtdcQrySuperUserField) Marshal(w io.Writer)

func (*CThostFtdcQrySuperUserField) Unmarshal

func (m *CThostFtdcQrySuperUserField) Unmarshal(r io.Reader)

type CThostFtdcQrySuperUserFunctionField

type CThostFtdcQrySuperUserFunctionField struct {
	UserID string
}

func (*CThostFtdcQrySuperUserFunctionField) Marshal

func (*CThostFtdcQrySuperUserFunctionField) Unmarshal

type CThostFtdcQrySyncDelaySwapField

type CThostFtdcQrySyncDelaySwapField struct {
	BrokerID       string
	DelaySwapSeqNo string
}

func (*CThostFtdcQrySyncDelaySwapField) Marshal

func (*CThostFtdcQrySyncDelaySwapField) Unmarshal

func (m *CThostFtdcQrySyncDelaySwapField) Unmarshal(r io.Reader)

type CThostFtdcQrySyncDepositField

type CThostFtdcQrySyncDepositField struct {
	BrokerID     string
	DepositSeqNo string
}

func (*CThostFtdcQrySyncDepositField) Marshal

func (m *CThostFtdcQrySyncDepositField) Marshal(w io.Writer)

func (*CThostFtdcQrySyncDepositField) Unmarshal

func (m *CThostFtdcQrySyncDepositField) Unmarshal(r io.Reader)

type CThostFtdcQrySyncFundMortgageField

type CThostFtdcQrySyncFundMortgageField struct {
	BrokerID      string
	MortgageSeqNo string
}

func (*CThostFtdcQrySyncFundMortgageField) Marshal

func (*CThostFtdcQrySyncFundMortgageField) Unmarshal

type CThostFtdcQrySyncStatusField

type CThostFtdcQrySyncStatusField struct {
	TradingDay string
}

func (*CThostFtdcQrySyncStatusField) Marshal

func (m *CThostFtdcQrySyncStatusField) Marshal(w io.Writer)

func (*CThostFtdcQrySyncStatusField) Unmarshal

func (m *CThostFtdcQrySyncStatusField) Unmarshal(r io.Reader)

type CThostFtdcQryTradeField

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

func (*CThostFtdcQryTradeField) Marshal

func (m *CThostFtdcQryTradeField) Marshal(w io.Writer)

func (*CThostFtdcQryTradeField) Unmarshal

func (m *CThostFtdcQryTradeField) Unmarshal(r io.Reader)

type CThostFtdcQryTraderField

type CThostFtdcQryTraderField struct {
	ExchangeID    string
	ParticipantID string
	TraderID      string
}

func (*CThostFtdcQryTraderField) Marshal

func (m *CThostFtdcQryTraderField) Marshal(w io.Writer)

func (*CThostFtdcQryTraderField) Unmarshal

func (m *CThostFtdcQryTraderField) Unmarshal(r io.Reader)

type CThostFtdcQryTraderOfferField

type CThostFtdcQryTraderOfferField struct {
	ExchangeID    string
	ParticipantID string
	TraderID      string
}

func (*CThostFtdcQryTraderOfferField) Marshal

func (m *CThostFtdcQryTraderOfferField) Marshal(w io.Writer)

func (*CThostFtdcQryTraderOfferField) Unmarshal

func (m *CThostFtdcQryTraderOfferField) Unmarshal(r io.Reader)

type CThostFtdcQryTradingAccountField

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

func (*CThostFtdcQryTradingAccountField) Marshal

func (*CThostFtdcQryTradingAccountField) Unmarshal

func (m *CThostFtdcQryTradingAccountField) Unmarshal(r io.Reader)

type CThostFtdcQryTradingCodeField

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

func (*CThostFtdcQryTradingCodeField) Marshal

func (m *CThostFtdcQryTradingCodeField) Marshal(w io.Writer)

func (*CThostFtdcQryTradingCodeField) Unmarshal

func (m *CThostFtdcQryTradingCodeField) Unmarshal(r io.Reader)

type CThostFtdcQryTradingNoticeField

type CThostFtdcQryTradingNoticeField struct {
	BrokerID     string
	InvestorID   string
	InvestUnitID string
}

func (*CThostFtdcQryTradingNoticeField) Marshal

func (*CThostFtdcQryTradingNoticeField) Unmarshal

func (m *CThostFtdcQryTradingNoticeField) Unmarshal(r io.Reader)

type CThostFtdcQryTransferBankField

type CThostFtdcQryTransferBankField struct {
	BankID     string
	BankBrchID string
}

func (*CThostFtdcQryTransferBankField) Marshal

func (*CThostFtdcQryTransferBankField) Unmarshal

func (m *CThostFtdcQryTransferBankField) Unmarshal(r io.Reader)

type CThostFtdcQryTransferSerialField

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

func (*CThostFtdcQryTransferSerialField) Marshal

func (*CThostFtdcQryTransferSerialField) Unmarshal

func (m *CThostFtdcQryTransferSerialField) Unmarshal(r io.Reader)

type CThostFtdcQryUserRightsAssignField

type CThostFtdcQryUserRightsAssignField struct {
	BrokerID string
	UserID   string
}

func (*CThostFtdcQryUserRightsAssignField) Marshal

func (*CThostFtdcQryUserRightsAssignField) Unmarshal

type CThostFtdcQryUserSessionField

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

func (*CThostFtdcQryUserSessionField) Marshal

func (m *CThostFtdcQryUserSessionField) Marshal(w io.Writer)

func (*CThostFtdcQryUserSessionField) Unmarshal

func (m *CThostFtdcQryUserSessionField) Unmarshal(r io.Reader)

type CThostFtdcQueryBrokerDepositField

type CThostFtdcQueryBrokerDepositField struct {
	BrokerID   string
	ExchangeID string
}

func (*CThostFtdcQueryBrokerDepositField) Marshal

func (*CThostFtdcQueryBrokerDepositField) Unmarshal

type CThostFtdcQueryCFMMCTradingAccountTokenField

type CThostFtdcQueryCFMMCTradingAccountTokenField struct {
	BrokerID     string
	InvestorID   string
	InvestUnitID string
}

func (*CThostFtdcQueryCFMMCTradingAccountTokenField) Marshal

func (*CThostFtdcQueryCFMMCTradingAccountTokenField) Unmarshal

type CThostFtdcQueryFreqField

type CThostFtdcQueryFreqField struct {
	QueryFreq int32
}

func (*CThostFtdcQueryFreqField) Marshal

func (m *CThostFtdcQueryFreqField) Marshal(w io.Writer)

func (*CThostFtdcQueryFreqField) Unmarshal

func (m *CThostFtdcQueryFreqField) Unmarshal(r io.Reader)

type CThostFtdcQueryMaxOrderVolumeField

type CThostFtdcQueryMaxOrderVolumeField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	Direction    uint8
	OffsetFlag   uint8
	HedgeFlag    uint8
	MaxVolume    int32
	ExchangeID   string
	InvestUnitID string
}

func (*CThostFtdcQueryMaxOrderVolumeField) Marshal

func (*CThostFtdcQueryMaxOrderVolumeField) Unmarshal

type CThostFtdcQueryMaxOrderVolumeWithPriceField

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

func (*CThostFtdcQueryMaxOrderVolumeWithPriceField) Marshal

func (*CThostFtdcQueryMaxOrderVolumeWithPriceField) Unmarshal

type CThostFtdcQuoteActionField

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

func (*CThostFtdcQuoteActionField) Marshal

func (m *CThostFtdcQuoteActionField) Marshal(w io.Writer)

func (*CThostFtdcQuoteActionField) Unmarshal

func (m *CThostFtdcQuoteActionField) Unmarshal(r io.Reader)

type CThostFtdcQuoteField

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

func (*CThostFtdcQuoteField) Marshal

func (m *CThostFtdcQuoteField) Marshal(w io.Writer)

func (*CThostFtdcQuoteField) Unmarshal

func (m *CThostFtdcQuoteField) Unmarshal(r io.Reader)

type CThostFtdcRemoveParkedOrderActionField

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

func (*CThostFtdcRemoveParkedOrderActionField) Marshal

func (*CThostFtdcRemoveParkedOrderActionField) Unmarshal

type CThostFtdcRemoveParkedOrderField

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

func (*CThostFtdcRemoveParkedOrderField) Marshal

func (*CThostFtdcRemoveParkedOrderField) Unmarshal

func (m *CThostFtdcRemoveParkedOrderField) Unmarshal(r io.Reader)

type CThostFtdcReqApiHandshakeField

type CThostFtdcReqApiHandshakeField struct {
	CryptoKeyVersion string
}

func (*CThostFtdcReqApiHandshakeField) Marshal

func (*CThostFtdcReqApiHandshakeField) Unmarshal

func (m *CThostFtdcReqApiHandshakeField) Unmarshal(r io.Reader)

type CThostFtdcReqAuthenticateField

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

func (*CThostFtdcReqAuthenticateField) Marshal

func (*CThostFtdcReqAuthenticateField) Unmarshal

func (m *CThostFtdcReqAuthenticateField) Unmarshal(r io.Reader)

type CThostFtdcReqCancelAccountField

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

func (*CThostFtdcReqCancelAccountField) Marshal

func (*CThostFtdcReqCancelAccountField) Unmarshal

func (m *CThostFtdcReqCancelAccountField) Unmarshal(r io.Reader)

type CThostFtdcReqChangeAccountField

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

func (*CThostFtdcReqChangeAccountField) Marshal

func (*CThostFtdcReqChangeAccountField) Unmarshal

func (m *CThostFtdcReqChangeAccountField) Unmarshal(r io.Reader)

type CThostFtdcReqDayEndFileReadyField

type CThostFtdcReqDayEndFileReadyField struct {
	TradeCode        string
	BankID           string
	BankBranchID     string
	BrokerID         string
	BrokerBranchID   string
	TradeDate        string
	TradeTime        string
	BankSerial       string
	TradingDay       string
	PlateSerial      int32
	LastFragment     uint8
	SessionID        int32
	FileBusinessCode uint8
	InstallID        int32
	UserID           string
	Digest           string
	CurrencyID       string
	DeviceID         string
	BrokerIDByBank   string
	OperNo           string
	RequestID        int32
	TID              int32
}

func (*CThostFtdcReqDayEndFileReadyField) Marshal

func (*CThostFtdcReqDayEndFileReadyField) Unmarshal

type CThostFtdcReqFutureSignOutField

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

func (*CThostFtdcReqFutureSignOutField) Marshal

func (*CThostFtdcReqFutureSignOutField) Unmarshal

func (m *CThostFtdcReqFutureSignOutField) Unmarshal(r io.Reader)

type CThostFtdcReqOpenAccountField

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

func (*CThostFtdcReqOpenAccountField) Marshal

func (m *CThostFtdcReqOpenAccountField) Marshal(w io.Writer)

func (*CThostFtdcReqOpenAccountField) Unmarshal

func (m *CThostFtdcReqOpenAccountField) Unmarshal(r io.Reader)

type CThostFtdcReqQueryAccountField

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

func (*CThostFtdcReqQueryAccountField) Marshal

func (*CThostFtdcReqQueryAccountField) Unmarshal

func (m *CThostFtdcReqQueryAccountField) Unmarshal(r io.Reader)

type CThostFtdcReqQueryTradeResultBySerialField

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

func (*CThostFtdcReqQueryTradeResultBySerialField) Marshal

func (*CThostFtdcReqQueryTradeResultBySerialField) Unmarshal

type CThostFtdcReqRepealField

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

func (*CThostFtdcReqRepealField) Marshal

func (m *CThostFtdcReqRepealField) Marshal(w io.Writer)

func (*CThostFtdcReqRepealField) Unmarshal

func (m *CThostFtdcReqRepealField) Unmarshal(r io.Reader)

type CThostFtdcReqResOpenAccConfirmTpdField

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

func (*CThostFtdcReqResOpenAccConfirmTpdField) Marshal

func (*CThostFtdcReqResOpenAccConfirmTpdField) Unmarshal

type CThostFtdcReqReserveOpenAccountTpdField

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

func (*CThostFtdcReqReserveOpenAccountTpdField) Marshal

func (*CThostFtdcReqReserveOpenAccountTpdField) Unmarshal

type CThostFtdcReqSecuritiesDepositInterestField

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

func (*CThostFtdcReqSecuritiesDepositInterestField) Marshal

func (*CThostFtdcReqSecuritiesDepositInterestField) Unmarshal

type CThostFtdcReqSmsCodeGenerateField

type CThostFtdcReqSmsCodeGenerateField struct {
	BrokerID        string
	UserID          string
	Password        string
	UserProductInfo string
	MacAddress      string
	ClientIPAddress string
}

func (*CThostFtdcReqSmsCodeGenerateField) Marshal

func (*CThostFtdcReqSmsCodeGenerateField) Unmarshal

type CThostFtdcReqSyncKeyField

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

func (*CThostFtdcReqSyncKeyField) Marshal

func (m *CThostFtdcReqSyncKeyField) Marshal(w io.Writer)

func (*CThostFtdcReqSyncKeyField) Unmarshal

func (m *CThostFtdcReqSyncKeyField) Unmarshal(r io.Reader)

type CThostFtdcReqTransferField

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

func (*CThostFtdcReqTransferField) Marshal

func (m *CThostFtdcReqTransferField) Marshal(w io.Writer)

func (*CThostFtdcReqTransferField) Unmarshal

func (m *CThostFtdcReqTransferField) Unmarshal(r io.Reader)

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         int32
}

func (*CThostFtdcReqUserLoginField) Marshal

func (m *CThostFtdcReqUserLoginField) Marshal(w io.Writer)

func (*CThostFtdcReqUserLoginField) Unmarshal

func (m *CThostFtdcReqUserLoginField) Unmarshal(r io.Reader)

type CThostFtdcReqVerifyApiKeyField

type CThostFtdcReqVerifyApiKeyField struct {
	ApiHandshakeDataLen int32
	ApiHandshakeData    string
}

func (*CThostFtdcReqVerifyApiKeyField) Marshal

func (*CThostFtdcReqVerifyApiKeyField) Unmarshal

func (m *CThostFtdcReqVerifyApiKeyField) Unmarshal(r io.Reader)

type CThostFtdcResOpenAccConfirmTpdField

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

func (*CThostFtdcResOpenAccConfirmTpdField) Marshal

func (*CThostFtdcResOpenAccConfirmTpdField) Unmarshal

type CThostFtdcReserveOpenAccountTpdField

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

func (*CThostFtdcReserveOpenAccountTpdField) Marshal

func (*CThostFtdcReserveOpenAccountTpdField) Unmarshal

type CThostFtdcReturnResultField

type CThostFtdcReturnResultField struct {
	ReturnCode             string
	DescrInfoForReturnCode string
}

func (*CThostFtdcReturnResultField) Marshal

func (m *CThostFtdcReturnResultField) Marshal(w io.Writer)

func (*CThostFtdcReturnResultField) Unmarshal

func (m *CThostFtdcReturnResultField) Unmarshal(r io.Reader)

type CThostFtdcRspApiHandshakeField

type CThostFtdcRspApiHandshakeField struct {
	FrontHandshakeDataLen int32
	FrontHandshakeData    string
	IsApiAuthEnabled      int32
}

func (*CThostFtdcRspApiHandshakeField) Marshal

func (*CThostFtdcRspApiHandshakeField) Unmarshal

func (m *CThostFtdcRspApiHandshakeField) Unmarshal(r io.Reader)

type CThostFtdcRspAuthenticateField

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

func (*CThostFtdcRspAuthenticateField) Marshal

func (*CThostFtdcRspAuthenticateField) Unmarshal

func (m *CThostFtdcRspAuthenticateField) Unmarshal(r io.Reader)

type CThostFtdcRspDayEndFileReadyField

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

func (*CThostFtdcRspDayEndFileReadyField) Marshal

func (*CThostFtdcRspDayEndFileReadyField) Unmarshal

type CThostFtdcRspFutureSignInField

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

func (*CThostFtdcRspFutureSignInField) Marshal

func (*CThostFtdcRspFutureSignInField) Unmarshal

func (m *CThostFtdcRspFutureSignInField) Unmarshal(r io.Reader)

type CThostFtdcRspFutureSignOutField

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

func (*CThostFtdcRspFutureSignOutField) Marshal

func (*CThostFtdcRspFutureSignOutField) Unmarshal

func (m *CThostFtdcRspFutureSignOutField) Unmarshal(r io.Reader)

type CThostFtdcRspInfoField

type CThostFtdcRspInfoField struct {
	ErrorID  int32
	ErrorMsg string
}

func (*CThostFtdcRspInfoField) Marshal

func (m *CThostFtdcRspInfoField) Marshal(w io.Writer)

func (*CThostFtdcRspInfoField) Unmarshal

func (m *CThostFtdcRspInfoField) Unmarshal(r io.Reader)

type CThostFtdcRspQueryAccountField

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

func (*CThostFtdcRspQueryAccountField) Marshal

func (*CThostFtdcRspQueryAccountField) Unmarshal

func (m *CThostFtdcRspQueryAccountField) Unmarshal(r io.Reader)

type CThostFtdcRspQueryTradeResultBySerialField

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

func (*CThostFtdcRspQueryTradeResultBySerialField) Marshal

func (*CThostFtdcRspQueryTradeResultBySerialField) Unmarshal

type CThostFtdcRspRepealField

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

func (*CThostFtdcRspRepealField) Marshal

func (m *CThostFtdcRspRepealField) Marshal(w io.Writer)

func (*CThostFtdcRspRepealField) Unmarshal

func (m *CThostFtdcRspRepealField) Unmarshal(r io.Reader)

type CThostFtdcRspSmsCodeGenerateField

type CThostFtdcRspSmsCodeGenerateField struct {
	BrokerID string
	UserID   string
}

func (*CThostFtdcRspSmsCodeGenerateField) Marshal

func (*CThostFtdcRspSmsCodeGenerateField) Unmarshal

type CThostFtdcRspSyncKeyField

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

func (*CThostFtdcRspSyncKeyField) Marshal

func (m *CThostFtdcRspSyncKeyField) Marshal(w io.Writer)

func (*CThostFtdcRspSyncKeyField) Unmarshal

func (m *CThostFtdcRspSyncKeyField) Unmarshal(r io.Reader)

type CThostFtdcRspTransferField

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

func (*CThostFtdcRspTransferField) Marshal

func (m *CThostFtdcRspTransferField) Marshal(w io.Writer)

func (*CThostFtdcRspTransferField) Unmarshal

func (m *CThostFtdcRspTransferField) Unmarshal(r io.Reader)

type CThostFtdcRspUserLoginField

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

func (*CThostFtdcRspUserLoginField) Marshal

func (m *CThostFtdcRspUserLoginField) Marshal(w io.Writer)

func (*CThostFtdcRspUserLoginField) Unmarshal

func (m *CThostFtdcRspUserLoginField) Unmarshal(r io.Reader)

type CThostFtdcRspUserLoginSafelyField

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

func (*CThostFtdcRspUserLoginSafelyField) Marshal

func (*CThostFtdcRspUserLoginSafelyField) Unmarshal

type CThostFtdcSecAgentACIDMapField

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

func (*CThostFtdcSecAgentACIDMapField) Marshal

func (*CThostFtdcSecAgentACIDMapField) Unmarshal

func (m *CThostFtdcSecAgentACIDMapField) Unmarshal(r io.Reader)

type CThostFtdcSecuritiesDepositInterestField

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

func (*CThostFtdcSecuritiesDepositInterestField) Marshal

func (*CThostFtdcSecuritiesDepositInterestField) Unmarshal

type CThostFtdcSettlementInfoConfirmField

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

func (*CThostFtdcSettlementInfoConfirmField) Marshal

func (*CThostFtdcSettlementInfoConfirmField) Unmarshal

type CThostFtdcSettlementInfoField

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

func (*CThostFtdcSettlementInfoField) Marshal

func (m *CThostFtdcSettlementInfoField) Marshal(w io.Writer)

func (*CThostFtdcSettlementInfoField) Unmarshal

func (m *CThostFtdcSettlementInfoField) Unmarshal(r io.Reader)

type CThostFtdcSettlementRefField

type CThostFtdcSettlementRefField struct {
	TradingDay   string
	SettlementID int32
}

func (*CThostFtdcSettlementRefField) Marshal

func (m *CThostFtdcSettlementRefField) Marshal(w io.Writer)

func (*CThostFtdcSettlementRefField) Unmarshal

func (m *CThostFtdcSettlementRefField) Unmarshal(r io.Reader)

type CThostFtdcSpecificInstrumentField

type CThostFtdcSpecificInstrumentField struct {
	InstrumentID string
}

func (*CThostFtdcSpecificInstrumentField) Marshal

func (*CThostFtdcSpecificInstrumentField) Unmarshal

type CThostFtdcStockDisposalActionField

type CThostFtdcStockDisposalActionField struct {
	BrokerID               string
	InvestorID             string
	StockDisposalActionRef int32
	StockDisposalRef       string
	RequestID              int32
	FrontID                int32
	SessionID              int32
	ExchangeID             string
	StockDisposalSysID     string
	ActionFlag             uint8
	ActionDate             string
	ActionTime             string
	TraderID               string
	InstallID              int32
	StockDisposalLocalID   string
	ActionLocalID          string
	ParticipantID          string
	ClientID               string
	BusinessUnit           string
	OrderActionStatus      uint8
	UserID                 string
	ActionType             uint8
	StatusMsg              string
	InstrumentID           string
	BranchID               string
}

func (*CThostFtdcStockDisposalActionField) Marshal

func (*CThostFtdcStockDisposalActionField) Unmarshal

type CThostFtdcStockDisposalField

type CThostFtdcStockDisposalField struct {
	BrokerID             string
	InvestorID           string
	StockDisposalRef     string
	UserID               string
	InstrumentID         string
	Volume               int32
	StockDisposalType    uint8
	StockDisposalLocalID string
	ExchangeID           string
	ExchangeInstID       string
	ParticipantID        string
	ClientID             string
	TraderID             string
	InstallID            int32
	StockDisposalStatus  uint8
	NotifySequence       int32
	TradingDay           string
	SettlementID         int32
	InsertDate           string
	InsertTime           string
	FrontID              int32
	SessionID            int32
	UserProductInfo      string
	StatusMsg            string
	BranchID             string
	StockDisposalSysID   string
	BusinessUnit         string
}

func (*CThostFtdcStockDisposalField) Marshal

func (m *CThostFtdcStockDisposalField) Marshal(w io.Writer)

func (*CThostFtdcStockDisposalField) Unmarshal

func (m *CThostFtdcStockDisposalField) Unmarshal(r io.Reader)

type CThostFtdcStrikeOffsetField

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

func (*CThostFtdcStrikeOffsetField) Marshal

func (m *CThostFtdcStrikeOffsetField) Marshal(w io.Writer)

func (*CThostFtdcStrikeOffsetField) Unmarshal

func (m *CThostFtdcStrikeOffsetField) Unmarshal(r io.Reader)

type CThostFtdcSuperUserField

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

func (*CThostFtdcSuperUserField) Marshal

func (m *CThostFtdcSuperUserField) Marshal(w io.Writer)

func (*CThostFtdcSuperUserField) Unmarshal

func (m *CThostFtdcSuperUserField) Unmarshal(r io.Reader)

type CThostFtdcSuperUserFunctionField

type CThostFtdcSuperUserFunctionField struct {
	UserID       string
	FunctionCode uint8
}

func (*CThostFtdcSuperUserFunctionField) Marshal

func (*CThostFtdcSuperUserFunctionField) Unmarshal

func (m *CThostFtdcSuperUserFunctionField) Unmarshal(r io.Reader)

type CThostFtdcSyncDelaySwapField

type CThostFtdcSyncDelaySwapField struct {
	DelaySwapSeqNo string
	BrokerID       string
	InvestorID     string
	FromCurrencyID string
	FromAmount     float64
	FromFrozenSwap float64
	ToCurrencyID   string
	ToAmount       float64
	ToFrozenSwap   float64
}

func (*CThostFtdcSyncDelaySwapField) Marshal

func (m *CThostFtdcSyncDelaySwapField) Marshal(w io.Writer)

func (*CThostFtdcSyncDelaySwapField) Unmarshal

func (m *CThostFtdcSyncDelaySwapField) Unmarshal(r io.Reader)

type CThostFtdcSyncDepositField

type CThostFtdcSyncDepositField struct {
	DepositSeqNo string
	BrokerID     string
	InvestorID   string
	Deposit      float64
	IsForce      int32
	CurrencyID   string
	BizType      uint8
}

func (*CThostFtdcSyncDepositField) Marshal

func (m *CThostFtdcSyncDepositField) Marshal(w io.Writer)

func (*CThostFtdcSyncDepositField) Unmarshal

func (m *CThostFtdcSyncDepositField) Unmarshal(r io.Reader)

type CThostFtdcSyncFundMortgageField

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

func (*CThostFtdcSyncFundMortgageField) Marshal

func (*CThostFtdcSyncFundMortgageField) Unmarshal

func (m *CThostFtdcSyncFundMortgageField) Unmarshal(r io.Reader)

type CThostFtdcSyncStatusField

type CThostFtdcSyncStatusField struct {
	TradingDay     string
	DataSyncStatus uint8
}

func (*CThostFtdcSyncStatusField) Marshal

func (m *CThostFtdcSyncStatusField) Marshal(w io.Writer)

func (*CThostFtdcSyncStatusField) Unmarshal

func (m *CThostFtdcSyncStatusField) Unmarshal(r io.Reader)

type CThostFtdcSyncingInstrumentCommissionRateField

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

func (*CThostFtdcSyncingInstrumentCommissionRateField) Marshal

func (*CThostFtdcSyncingInstrumentCommissionRateField) Unmarshal

type CThostFtdcSyncingInstrumentMarginRateField

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

func (*CThostFtdcSyncingInstrumentMarginRateField) Marshal

func (*CThostFtdcSyncingInstrumentMarginRateField) Unmarshal

type CThostFtdcSyncingInstrumentTradingRightField

type CThostFtdcSyncingInstrumentTradingRightField struct {
	InstrumentID  string
	InvestorRange uint8
	BrokerID      string
	InvestorID    string
	TradingRight  uint8
	ExchangeID    string
}

func (*CThostFtdcSyncingInstrumentTradingRightField) Marshal

func (*CThostFtdcSyncingInstrumentTradingRightField) Unmarshal

type CThostFtdcSyncingInvestorField

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

func (*CThostFtdcSyncingInvestorField) Marshal

func (*CThostFtdcSyncingInvestorField) Unmarshal

func (m *CThostFtdcSyncingInvestorField) Unmarshal(r io.Reader)

type CThostFtdcSyncingInvestorGroupField

type CThostFtdcSyncingInvestorGroupField struct {
	BrokerID          string
	InvestorGroupID   string
	InvestorGroupName string
}

func (*CThostFtdcSyncingInvestorGroupField) Marshal

func (*CThostFtdcSyncingInvestorGroupField) Unmarshal

type CThostFtdcSyncingInvestorPositionField

type CThostFtdcSyncingInvestorPositionField struct {
	InstrumentID       string
	BrokerID           string
	InvestorID         string
	PosiDirection      uint8
	HedgeFlag          uint8
	PositionDate       uint8
	YdPosition         int32
	Position           int32
	LongFrozen         int32
	ShortFrozen        int32
	LongFrozenAmount   float64
	ShortFrozenAmount  float64
	OpenVolume         int32
	CloseVolume        int32
	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       int32
	OpenCost           float64
	ExchangeMargin     float64
	CombPosition       int32
	CombLongFrozen     int32
	CombShortFrozen    int32
	CloseProfitByDate  float64
	CloseProfitByTrade float64
	TodayPosition      int32
	MarginRateByMoney  float64
	MarginRateByVolume float64
	StrikeFrozen       int32
	StrikeFrozenAmount float64
	AbandonFrozen      int32
	ExchangeID         string
	YdStrikeFrozen     int32
	InvestUnitID       string
}

func (*CThostFtdcSyncingInvestorPositionField) Marshal

func (*CThostFtdcSyncingInvestorPositionField) Unmarshal

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                   int32
	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
}

func (*CThostFtdcSyncingTradingAccountField) Marshal

func (*CThostFtdcSyncingTradingAccountField) Unmarshal

type CThostFtdcSyncingTradingCodeField

type CThostFtdcSyncingTradingCodeField struct {
	InvestorID   string
	BrokerID     string
	ExchangeID   string
	ClientID     string
	IsActive     int32
	ClientIDType string
	BranchID     string
}

func (*CThostFtdcSyncingTradingCodeField) Marshal

func (*CThostFtdcSyncingTradingCodeField) Unmarshal

type CThostFtdcTradeField

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

func (*CThostFtdcTradeField) Marshal

func (m *CThostFtdcTradeField) Marshal(w io.Writer)

func (*CThostFtdcTradeField) Unmarshal

func (m *CThostFtdcTradeField) Unmarshal(r io.Reader)

type CThostFtdcTradeParamField

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

func (*CThostFtdcTradeParamField) Marshal

func (m *CThostFtdcTradeParamField) Marshal(w io.Writer)

func (*CThostFtdcTradeParamField) Unmarshal

func (m *CThostFtdcTradeParamField) Unmarshal(r io.Reader)

type CThostFtdcTraderField

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

func (*CThostFtdcTraderField) Marshal

func (m *CThostFtdcTraderField) Marshal(w io.Writer)

func (*CThostFtdcTraderField) Unmarshal

func (m *CThostFtdcTraderField) Unmarshal(r io.Reader)

type CThostFtdcTraderOfferField

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

func (*CThostFtdcTraderOfferField) Marshal

func (m *CThostFtdcTraderOfferField) Marshal(w io.Writer)

func (*CThostFtdcTraderOfferField) Unmarshal

func (m *CThostFtdcTraderOfferField) Unmarshal(r io.Reader)

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                   int32
	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                        uint8
	FrozenSwap                     float64
	RemainSwap                     float64
}

func (*CThostFtdcTradingAccountField) Marshal

func (m *CThostFtdcTradingAccountField) Marshal(w io.Writer)

func (*CThostFtdcTradingAccountField) Unmarshal

func (m *CThostFtdcTradingAccountField) Unmarshal(r io.Reader)

type CThostFtdcTradingAccountPasswordField

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

func (*CThostFtdcTradingAccountPasswordField) Marshal

func (*CThostFtdcTradingAccountPasswordField) Unmarshal

type CThostFtdcTradingAccountPasswordUpdateField

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

func (*CThostFtdcTradingAccountPasswordUpdateField) Marshal

func (*CThostFtdcTradingAccountPasswordUpdateField) Unmarshal

type CThostFtdcTradingAccountPasswordUpdateV1Field

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

func (*CThostFtdcTradingAccountPasswordUpdateV1Field) Marshal

func (*CThostFtdcTradingAccountPasswordUpdateV1Field) Unmarshal

type CThostFtdcTradingAccountReserveField

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

func (*CThostFtdcTradingAccountReserveField) Marshal

func (*CThostFtdcTradingAccountReserveField) Unmarshal

type CThostFtdcTradingCodeField

type CThostFtdcTradingCodeField struct {
	InvestorID   string
	BrokerID     string
	ExchangeID   string
	ClientID     string
	IsActive     int32
	ClientIDType string
	BranchID     string
	BizType      uint8
	InvestUnitID string
}

func (*CThostFtdcTradingCodeField) Marshal

func (m *CThostFtdcTradingCodeField) Marshal(w io.Writer)

func (*CThostFtdcTradingCodeField) Unmarshal

func (m *CThostFtdcTradingCodeField) Unmarshal(r io.Reader)

type CThostFtdcTradingNoticeField

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

func (*CThostFtdcTradingNoticeField) Marshal

func (m *CThostFtdcTradingNoticeField) Marshal(w io.Writer)

func (*CThostFtdcTradingNoticeField) Unmarshal

func (m *CThostFtdcTradingNoticeField) Unmarshal(r io.Reader)

type CThostFtdcTradingNoticeInfoField

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

func (*CThostFtdcTradingNoticeInfoField) Marshal

func (*CThostFtdcTradingNoticeInfoField) Unmarshal

func (m *CThostFtdcTradingNoticeInfoField) Unmarshal(r io.Reader)

type CThostFtdcTransferBankField

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

func (*CThostFtdcTransferBankField) Marshal

func (m *CThostFtdcTransferBankField) Marshal(w io.Writer)

func (*CThostFtdcTransferBankField) Unmarshal

func (m *CThostFtdcTransferBankField) Unmarshal(r io.Reader)

type CThostFtdcTransferBankToFutureReqField

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

func (*CThostFtdcTransferBankToFutureReqField) Marshal

func (*CThostFtdcTransferBankToFutureReqField) Unmarshal

type CThostFtdcTransferBankToFutureRspField

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

func (*CThostFtdcTransferBankToFutureRspField) Marshal

func (*CThostFtdcTransferBankToFutureRspField) Unmarshal

type CThostFtdcTransferFutureToBankReqField

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

func (*CThostFtdcTransferFutureToBankReqField) Marshal

func (*CThostFtdcTransferFutureToBankReqField) Unmarshal

type CThostFtdcTransferFutureToBankRspField

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

func (*CThostFtdcTransferFutureToBankRspField) Marshal

func (*CThostFtdcTransferFutureToBankRspField) Unmarshal

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   int32
	RequestID   int32
}

func (*CThostFtdcTransferHeaderField) Marshal

func (m *CThostFtdcTransferHeaderField) Marshal(w io.Writer)

func (*CThostFtdcTransferHeaderField) Unmarshal

func (m *CThostFtdcTransferHeaderField) Unmarshal(r io.Reader)

type CThostFtdcTransferQryBankReqField

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

func (*CThostFtdcTransferQryBankReqField) Marshal

func (*CThostFtdcTransferQryBankReqField) Unmarshal

type CThostFtdcTransferQryBankRspField

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

func (*CThostFtdcTransferQryBankRspField) Marshal

func (*CThostFtdcTransferQryBankRspField) Unmarshal

type CThostFtdcTransferQryDetailReqField

type CThostFtdcTransferQryDetailReqField struct {
	FutureAccount string
}

func (*CThostFtdcTransferQryDetailReqField) Marshal

func (*CThostFtdcTransferQryDetailReqField) Unmarshal

type CThostFtdcTransferQryDetailRspField

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

func (*CThostFtdcTransferQryDetailRspField) Marshal

func (*CThostFtdcTransferQryDetailRspField) Unmarshal

type CThostFtdcTransferSerialField

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

func (*CThostFtdcTransferSerialField) Marshal

func (m *CThostFtdcTransferSerialField) Marshal(w io.Writer)

func (*CThostFtdcTransferSerialField) Unmarshal

func (m *CThostFtdcTransferSerialField) Unmarshal(r io.Reader)

type CThostFtdcUserIPField

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

func (*CThostFtdcUserIPField) Marshal

func (m *CThostFtdcUserIPField) Marshal(w io.Writer)

func (*CThostFtdcUserIPField) Unmarshal

func (m *CThostFtdcUserIPField) Unmarshal(r io.Reader)

type CThostFtdcUserLogoutField

type CThostFtdcUserLogoutField struct {
	BrokerID string
	UserID   string
}

func (*CThostFtdcUserLogoutField) Marshal

func (m *CThostFtdcUserLogoutField) Marshal(w io.Writer)

func (*CThostFtdcUserLogoutField) Unmarshal

func (m *CThostFtdcUserLogoutField) Unmarshal(r io.Reader)

type CThostFtdcUserPasswordUpdateField

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

func (*CThostFtdcUserPasswordUpdateField) Marshal

func (*CThostFtdcUserPasswordUpdateField) Unmarshal

type CThostFtdcUserRightField

type CThostFtdcUserRightField struct {
	BrokerID      string
	UserID        string
	UserRightType uint8
	IsForbidden   int32
}

func (*CThostFtdcUserRightField) Marshal

func (m *CThostFtdcUserRightField) Marshal(w io.Writer)

func (*CThostFtdcUserRightField) Unmarshal

func (m *CThostFtdcUserRightField) Unmarshal(r io.Reader)

type CThostFtdcUserRightsAssignField

type CThostFtdcUserRightsAssignField struct {
	BrokerID     string
	UserID       string
	DRIdentityID int32
}

func (*CThostFtdcUserRightsAssignField) Marshal

func (*CThostFtdcUserRightsAssignField) Unmarshal

func (m *CThostFtdcUserRightsAssignField) Unmarshal(r io.Reader)

type CThostFtdcUserSessionField

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

func (*CThostFtdcUserSessionField) Marshal

func (m *CThostFtdcUserSessionField) Marshal(w io.Writer)

func (*CThostFtdcUserSessionField) Unmarshal

func (m *CThostFtdcUserSessionField) Unmarshal(r io.Reader)

type CThostFtdcUserSystemInfoField

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

func (*CThostFtdcUserSystemInfoField) Marshal

func (m *CThostFtdcUserSystemInfoField) Marshal(w io.Writer)

func (*CThostFtdcUserSystemInfoField) Unmarshal

func (m *CThostFtdcUserSystemInfoField) Unmarshal(r io.Reader)

type CThostFtdcVerifyCustInfoField

type CThostFtdcVerifyCustInfoField struct {
	CustomerName     string
	IdCardType       uint8
	IdentifiedCardNo string
	CustType         uint8
}

func (*CThostFtdcVerifyCustInfoField) Marshal

func (m *CThostFtdcVerifyCustInfoField) Marshal(w io.Writer)

func (*CThostFtdcVerifyCustInfoField) Unmarshal

func (m *CThostFtdcVerifyCustInfoField) Unmarshal(r io.Reader)

type CThostFtdcVerifyFuturePasswordAndCustInfoField

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

func (*CThostFtdcVerifyFuturePasswordAndCustInfoField) Marshal

func (*CThostFtdcVerifyFuturePasswordAndCustInfoField) Unmarshal

type CThostFtdcVerifyFuturePasswordField

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

func (*CThostFtdcVerifyFuturePasswordField) Marshal

func (*CThostFtdcVerifyFuturePasswordField) Unmarshal

type CThostFtdcVerifyInvestorPasswordField

type CThostFtdcVerifyInvestorPasswordField struct {
	BrokerID   string
	InvestorID string
	Password   string
}

func (*CThostFtdcVerifyInvestorPasswordField) Marshal

func (*CThostFtdcVerifyInvestorPasswordField) Unmarshal

Jump to

Keyboard shortcuts

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