ctp

package module
v0.0.4 Latest Latest
Warning

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

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

README

ctp

上期CTP api的go封装

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

Documentation

Overview

This file was automatically generated by ctpgen

This file was automatically generated by ctpgen

This file was automatically generated by ctpgen

This file was automatically generated by ctpgen

This file was automatically generated by ctpgen

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CThostFtdcAddrAppIDRelationFieldCValue added in v0.0.4

func CThostFtdcAddrAppIDRelationFieldCValue(s *CThostFtdcAddrAppIDRelationField) *C.CThostFtdcAddrAppIDRelationField

func CThostFtdcAuthIPFieldCValue added in v0.0.3

func CThostFtdcAuthIPFieldCValue(s *CThostFtdcAuthIPField) *C.CThostFtdcAuthIPField

func CThostFtdcAuthUserIDFieldCValue added in v0.0.3

func CThostFtdcAuthUserIDFieldCValue(s *CThostFtdcAuthUserIDField) *C.CThostFtdcAuthUserIDField

func CThostFtdcBrokerFieldCValue

func CThostFtdcBrokerFieldCValue(s *CThostFtdcBrokerField) *C.CThostFtdcBrokerField

func CThostFtdcCancelOffsetSettingFieldCValue added in v0.0.4

func CThostFtdcCancelOffsetSettingFieldCValue(s *CThostFtdcCancelOffsetSettingField) *C.CThostFtdcCancelOffsetSettingField

func CThostFtdcCombLegFieldCValue added in v0.0.3

func CThostFtdcCombLegFieldCValue(s *CThostFtdcCombLegField) *C.CThostFtdcCombLegField

func CThostFtdcCombPromotionParamFieldCValue added in v0.0.3

func CThostFtdcCombPromotionParamFieldCValue(s *CThostFtdcCombPromotionParamField) *C.CThostFtdcCombPromotionParamField

func CThostFtdcExitEmergencyFieldCValue added in v0.0.3

func CThostFtdcExitEmergencyFieldCValue(s *CThostFtdcExitEmergencyField) *C.CThostFtdcExitEmergencyField

func CThostFtdcFrontInfoFieldCValue added in v0.0.3

func CThostFtdcFrontInfoFieldCValue(s *CThostFtdcFrontInfoField) *C.CThostFtdcFrontInfoField

func CThostFtdcIPListFieldCValue

func CThostFtdcIPListFieldCValue(s *CThostFtdcIPListField) *C.CThostFtdcIPListField

func CThostFtdcInputOffsetSettingFieldCValue added in v0.0.4

func CThostFtdcInputOffsetSettingFieldCValue(s *CThostFtdcInputOffsetSettingField) *C.CThostFtdcInputOffsetSettingField

func CThostFtdcInvestorDepartmentFlatFieldCValue added in v0.0.4

func CThostFtdcInvestorDepartmentFlatFieldCValue(s *CThostFtdcInvestorDepartmentFlatField) *C.CThostFtdcInvestorDepartmentFlatField

func CThostFtdcInvestorInfoCntSettingFieldCValue added in v0.0.3

func CThostFtdcInvestorInfoCntSettingFieldCValue(s *CThostFtdcInvestorInfoCntSettingField) *C.CThostFtdcInvestorInfoCntSettingField

func CThostFtdcInvestorInfoCommRecFieldCValue added in v0.0.3

func CThostFtdcInvestorInfoCommRecFieldCValue(s *CThostFtdcInvestorInfoCommRecField) *C.CThostFtdcInvestorInfoCommRecField

func CThostFtdcInvestorPortfSettingFieldCValue added in v0.0.3

func CThostFtdcInvestorPortfSettingFieldCValue(s *CThostFtdcInvestorPortfSettingField) *C.CThostFtdcInvestorPortfSettingField

func CThostFtdcInvestorProdRCAMSMarginFieldCValue added in v0.0.3

func CThostFtdcInvestorProdRCAMSMarginFieldCValue(s *CThostFtdcInvestorProdRCAMSMarginField) *C.CThostFtdcInvestorProdRCAMSMarginField

func CThostFtdcInvestorProdRULEMarginFieldCValue added in v0.0.3

func CThostFtdcInvestorProdRULEMarginFieldCValue(s *CThostFtdcInvestorProdRULEMarginField) *C.CThostFtdcInvestorProdRULEMarginField

func CThostFtdcInvestorProdSPBMDetailFieldCValue added in v0.0.3

func CThostFtdcInvestorProdSPBMDetailFieldCValue(s *CThostFtdcInvestorProdSPBMDetailField) *C.CThostFtdcInvestorProdSPBMDetailField

func CThostFtdcInvestorReserveInfoFieldCValue added in v0.0.4

func CThostFtdcInvestorReserveInfoFieldCValue(s *CThostFtdcInvestorReserveInfoField) *C.CThostFtdcInvestorReserveInfoField

func CThostFtdcInvestorTradingRightFieldCValue added in v0.0.3

func CThostFtdcInvestorTradingRightFieldCValue(s *CThostFtdcInvestorTradingRightField) *C.CThostFtdcInvestorTradingRightField

func CThostFtdcIpAddrParamFieldCValue added in v0.0.3

func CThostFtdcIpAddrParamFieldCValue(s *CThostFtdcIpAddrParamField) *C.CThostFtdcIpAddrParamField

func CThostFtdcLinkManFieldCValue

func CThostFtdcLinkManFieldCValue(s *CThostFtdcLinkManField) *C.CThostFtdcLinkManField

func CThostFtdcLocalAddrConfigFieldCValue added in v0.0.3

func CThostFtdcLocalAddrConfigFieldCValue(s *CThostFtdcLocalAddrConfigField) *C.CThostFtdcLocalAddrConfigField

func CThostFtdcMarketDataBandingPriceFieldCValue added in v0.0.3

func CThostFtdcMarketDataBandingPriceFieldCValue(s *CThostFtdcMarketDataBandingPriceField) *C.CThostFtdcMarketDataBandingPriceField

func CThostFtdcMdSpiCValue

func CThostFtdcMdSpiCValue(ptr CThostFtdcMdSpi) C.mdSpi

func CThostFtdcMortgageParamFieldCValue added in v0.0.3

func CThostFtdcMortgageParamFieldCValue(s *CThostFtdcMortgageParamField) *C.CThostFtdcMortgageParamField

func CThostFtdcNoticeFieldCValue

func CThostFtdcNoticeFieldCValue(s *CThostFtdcNoticeField) *C.CThostFtdcNoticeField

func CThostFtdcOffsetSettingFieldCValue added in v0.0.4

func CThostFtdcOffsetSettingFieldCValue(s *CThostFtdcOffsetSettingField) *C.CThostFtdcOffsetSettingField

func CThostFtdcOrderFieldCValue

func CThostFtdcOrderFieldCValue(s *CThostFtdcOrderField) *C.CThostFtdcOrderField

func CThostFtdcPortfTradeParamSettingFieldCValue added in v0.0.3

func CThostFtdcPortfTradeParamSettingFieldCValue(s *CThostFtdcPortfTradeParamSettingField) *C.CThostFtdcPortfTradeParamSettingField

func CThostFtdcProductFieldCValue

func CThostFtdcProductFieldCValue(s *CThostFtdcProductField) *C.CThostFtdcProductField

func CThostFtdcQryAddrAppIDRelationFieldCValue added in v0.0.4

func CThostFtdcQryAddrAppIDRelationFieldCValue(s *CThostFtdcQryAddrAppIDRelationField) *C.CThostFtdcQryAddrAppIDRelationField

func CThostFtdcQryClassifiedInstrumentFieldCValue added in v0.0.3

func CThostFtdcQryClassifiedInstrumentFieldCValue(s *CThostFtdcQryClassifiedInstrumentField) *C.CThostFtdcQryClassifiedInstrumentField

func CThostFtdcQryCombLegFieldCValue added in v0.0.3

func CThostFtdcQryCombLegFieldCValue(s *CThostFtdcQryCombLegField) *C.CThostFtdcQryCombLegField

func CThostFtdcQryCombPromotionParamFieldCValue added in v0.0.3

func CThostFtdcQryCombPromotionParamFieldCValue(s *CThostFtdcQryCombPromotionParamField) *C.CThostFtdcQryCombPromotionParamField

func CThostFtdcQryDepartmentUserFieldCValue added in v0.0.4

func CThostFtdcQryDepartmentUserFieldCValue(s *CThostFtdcQryDepartmentUserField) *C.CThostFtdcQryDepartmentUserField

func CThostFtdcQryInvestorInfoCommRecFieldCValue added in v0.0.3

func CThostFtdcQryInvestorInfoCommRecFieldCValue(s *CThostFtdcQryInvestorInfoCommRecField) *C.CThostFtdcQryInvestorInfoCommRecField

func CThostFtdcQryInvestorPortfSettingFieldCValue added in v0.0.3

func CThostFtdcQryInvestorPortfSettingFieldCValue(s *CThostFtdcQryInvestorPortfSettingField) *C.CThostFtdcQryInvestorPortfSettingField

func CThostFtdcQryIpAddrParamFieldCValue added in v0.0.3

func CThostFtdcQryIpAddrParamFieldCValue(s *CThostFtdcQryIpAddrParamField) *C.CThostFtdcQryIpAddrParamField

func CThostFtdcQryLocalAddrConfigFieldCValue added in v0.0.3

func CThostFtdcQryLocalAddrConfigFieldCValue(s *CThostFtdcQryLocalAddrConfigField) *C.CThostFtdcQryLocalAddrConfigField

func CThostFtdcQryMaxOrderVolumeFieldCValue added in v0.0.3

func CThostFtdcQryMaxOrderVolumeFieldCValue(s *CThostFtdcQryMaxOrderVolumeField) *C.CThostFtdcQryMaxOrderVolumeField

func CThostFtdcQryOffsetSettingFieldCValue added in v0.0.4

func CThostFtdcQryOffsetSettingFieldCValue(s *CThostFtdcQryOffsetSettingField) *C.CThostFtdcQryOffsetSettingField

func CThostFtdcQryRCAMSCombProductInfoFieldCValue added in v0.0.3

func CThostFtdcQryRCAMSCombProductInfoFieldCValue(s *CThostFtdcQryRCAMSCombProductInfoField) *C.CThostFtdcQryRCAMSCombProductInfoField

func CThostFtdcQryRCAMSInstrParameterFieldCValue added in v0.0.3

func CThostFtdcQryRCAMSInstrParameterFieldCValue(s *CThostFtdcQryRCAMSInstrParameterField) *C.CThostFtdcQryRCAMSInstrParameterField

func CThostFtdcQryRCAMSInterParameterFieldCValue added in v0.0.3

func CThostFtdcQryRCAMSInterParameterFieldCValue(s *CThostFtdcQryRCAMSInterParameterField) *C.CThostFtdcQryRCAMSInterParameterField

func CThostFtdcQryRCAMSIntraParameterFieldCValue added in v0.0.3

func CThostFtdcQryRCAMSIntraParameterFieldCValue(s *CThostFtdcQryRCAMSIntraParameterField) *C.CThostFtdcQryRCAMSIntraParameterField

func CThostFtdcQryRULEInstrParameterFieldCValue added in v0.0.3

func CThostFtdcQryRULEInstrParameterFieldCValue(s *CThostFtdcQryRULEInstrParameterField) *C.CThostFtdcQryRULEInstrParameterField

func CThostFtdcQryRULEInterParameterFieldCValue added in v0.0.3

func CThostFtdcQryRULEInterParameterFieldCValue(s *CThostFtdcQryRULEInterParameterField) *C.CThostFtdcQryRULEInterParameterField

func CThostFtdcQryRULEIntraParameterFieldCValue added in v0.0.3

func CThostFtdcQryRULEIntraParameterFieldCValue(s *CThostFtdcQryRULEIntraParameterField) *C.CThostFtdcQryRULEIntraParameterField

func CThostFtdcQrySPBMFutureParameterFieldCValue added in v0.0.3

func CThostFtdcQrySPBMFutureParameterFieldCValue(s *CThostFtdcQrySPBMFutureParameterField) *C.CThostFtdcQrySPBMFutureParameterField

func CThostFtdcQrySPBMInterParameterFieldCValue added in v0.0.3

func CThostFtdcQrySPBMInterParameterFieldCValue(s *CThostFtdcQrySPBMInterParameterField) *C.CThostFtdcQrySPBMInterParameterField

func CThostFtdcQrySPBMIntraParameterFieldCValue added in v0.0.3

func CThostFtdcQrySPBMIntraParameterFieldCValue(s *CThostFtdcQrySPBMIntraParameterField) *C.CThostFtdcQrySPBMIntraParameterField

func CThostFtdcQrySPBMInvestorPortfDefFieldCValue added in v0.0.3

func CThostFtdcQrySPBMInvestorPortfDefFieldCValue(s *CThostFtdcQrySPBMInvestorPortfDefField) *C.CThostFtdcQrySPBMInvestorPortfDefField

func CThostFtdcQrySPBMOptionParameterFieldCValue added in v0.0.3

func CThostFtdcQrySPBMOptionParameterFieldCValue(s *CThostFtdcQrySPBMOptionParameterField) *C.CThostFtdcQrySPBMOptionParameterField

func CThostFtdcQrySPBMPortfDefinitionFieldCValue added in v0.0.3

func CThostFtdcQrySPBMPortfDefinitionFieldCValue(s *CThostFtdcQrySPBMPortfDefinitionField) *C.CThostFtdcQrySPBMPortfDefinitionField

func CThostFtdcQrySPMMInstParamFieldCValue added in v0.0.3

func CThostFtdcQrySPMMInstParamFieldCValue(s *CThostFtdcQrySPMMInstParamField) *C.CThostFtdcQrySPMMInstParamField

func CThostFtdcQrySPMMProductParamFieldCValue added in v0.0.3

func CThostFtdcQrySPMMProductParamFieldCValue(s *CThostFtdcQrySPMMProductParamField) *C.CThostFtdcQrySPMMProductParamField

func CThostFtdcQryTGIpAddrParamFieldCValue added in v0.0.3

func CThostFtdcQryTGIpAddrParamFieldCValue(s *CThostFtdcQryTGIpAddrParamField) *C.CThostFtdcQryTGIpAddrParamField

func CThostFtdcQryThostUserFunctionFieldCValue added in v0.0.3

func CThostFtdcQryThostUserFunctionFieldCValue(s *CThostFtdcQryThostUserFunctionField) *C.CThostFtdcQryThostUserFunctionField

func CThostFtdcQryTraderAssignFieldCValue added in v0.0.3

func CThostFtdcQryTraderAssignFieldCValue(s *CThostFtdcQryTraderAssignField) *C.CThostFtdcQryTraderAssignField

func CThostFtdcQuoteFieldCValue

func CThostFtdcQuoteFieldCValue(s *CThostFtdcQuoteField) *C.CThostFtdcQuoteField

func CThostFtdcRCAMSCombProductInfoFieldCValue added in v0.0.3

func CThostFtdcRCAMSCombProductInfoFieldCValue(s *CThostFtdcRCAMSCombProductInfoField) *C.CThostFtdcRCAMSCombProductInfoField

func CThostFtdcRCAMSInstrParameterFieldCValue added in v0.0.3

func CThostFtdcRCAMSInstrParameterFieldCValue(s *CThostFtdcRCAMSInstrParameterField) *C.CThostFtdcRCAMSInstrParameterField

func CThostFtdcRCAMSInterParameterFieldCValue added in v0.0.3

func CThostFtdcRCAMSInterParameterFieldCValue(s *CThostFtdcRCAMSInterParameterField) *C.CThostFtdcRCAMSInterParameterField

func CThostFtdcRCAMSIntraParameterFieldCValue added in v0.0.3

func CThostFtdcRCAMSIntraParameterFieldCValue(s *CThostFtdcRCAMSIntraParameterField) *C.CThostFtdcRCAMSIntraParameterField

func CThostFtdcRULEInstrParameterFieldCValue added in v0.0.3

func CThostFtdcRULEInstrParameterFieldCValue(s *CThostFtdcRULEInstrParameterField) *C.CThostFtdcRULEInstrParameterField

func CThostFtdcRULEInterParameterFieldCValue added in v0.0.3

func CThostFtdcRULEInterParameterFieldCValue(s *CThostFtdcRULEInterParameterField) *C.CThostFtdcRULEInterParameterField

func CThostFtdcRULEIntraParameterFieldCValue added in v0.0.3

func CThostFtdcRULEIntraParameterFieldCValue(s *CThostFtdcRULEIntraParameterField) *C.CThostFtdcRULEIntraParameterField

func CThostFtdcReqTransferBySecFieldCValue added in v0.0.3

func CThostFtdcReqTransferBySecFieldCValue(s *CThostFtdcReqTransferBySecField) *C.CThostFtdcReqTransferBySecField

func CThostFtdcReqUserLoginSMFieldCValue added in v0.0.3

func CThostFtdcReqUserLoginSMFieldCValue(s *CThostFtdcReqUserLoginSMField) *C.CThostFtdcReqUserLoginSMField

func CThostFtdcRiskForbiddenRightFieldCValue added in v0.0.3

func CThostFtdcRiskForbiddenRightFieldCValue(s *CThostFtdcRiskForbiddenRightField) *C.CThostFtdcRiskForbiddenRightField

func CThostFtdcRiskSettleInvstPositionFieldCValue added in v0.0.3

func CThostFtdcRiskSettleInvstPositionFieldCValue(s *CThostFtdcRiskSettleInvstPositionField) *C.CThostFtdcRiskSettleInvstPositionField

func CThostFtdcRiskSettleProductStatusFieldCValue added in v0.0.3

func CThostFtdcRiskSettleProductStatusFieldCValue(s *CThostFtdcRiskSettleProductStatusField) *C.CThostFtdcRiskSettleProductStatusField

func CThostFtdcRspInfoFieldCValue

func CThostFtdcRspInfoFieldCValue(s *CThostFtdcRspInfoField) *C.CThostFtdcRspInfoField

func CThostFtdcRspTransferBySecFieldCValue added in v0.0.3

func CThostFtdcRspTransferBySecFieldCValue(s *CThostFtdcRspTransferBySecField) *C.CThostFtdcRspTransferBySecField

func CThostFtdcSPBMAddOnInterParameterFieldCValue added in v0.0.3

func CThostFtdcSPBMAddOnInterParameterFieldCValue(s *CThostFtdcSPBMAddOnInterParameterField) *C.CThostFtdcSPBMAddOnInterParameterField

func CThostFtdcSPBMFutureParameterFieldCValue added in v0.0.3

func CThostFtdcSPBMFutureParameterFieldCValue(s *CThostFtdcSPBMFutureParameterField) *C.CThostFtdcSPBMFutureParameterField

func CThostFtdcSPBMInterParameterFieldCValue added in v0.0.3

func CThostFtdcSPBMInterParameterFieldCValue(s *CThostFtdcSPBMInterParameterField) *C.CThostFtdcSPBMInterParameterField

func CThostFtdcSPBMIntraParameterFieldCValue added in v0.0.3

func CThostFtdcSPBMIntraParameterFieldCValue(s *CThostFtdcSPBMIntraParameterField) *C.CThostFtdcSPBMIntraParameterField

func CThostFtdcSPBMInvestorPortfDefFieldCValue added in v0.0.3

func CThostFtdcSPBMInvestorPortfDefFieldCValue(s *CThostFtdcSPBMInvestorPortfDefField) *C.CThostFtdcSPBMInvestorPortfDefField

func CThostFtdcSPBMOptionParameterFieldCValue added in v0.0.3

func CThostFtdcSPBMOptionParameterFieldCValue(s *CThostFtdcSPBMOptionParameterField) *C.CThostFtdcSPBMOptionParameterField

func CThostFtdcSPBMPortfDefinitionFieldCValue added in v0.0.3

func CThostFtdcSPBMPortfDefinitionFieldCValue(s *CThostFtdcSPBMPortfDefinitionField) *C.CThostFtdcSPBMPortfDefinitionField

func CThostFtdcSPMMInstParamFieldCValue added in v0.0.3

func CThostFtdcSPMMInstParamFieldCValue(s *CThostFtdcSPMMInstParamField) *C.CThostFtdcSPMMInstParamField

func CThostFtdcSPMMProductParamFieldCValue added in v0.0.3

func CThostFtdcSPMMProductParamFieldCValue(s *CThostFtdcSPMMProductParamField) *C.CThostFtdcSPMMProductParamField

func CThostFtdcSyncDeltaEWarrantOffsetFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaEWarrantOffsetFieldCValue(s *CThostFtdcSyncDeltaEWarrantOffsetField) *C.CThostFtdcSyncDeltaEWarrantOffsetField

func CThostFtdcSyncDeltaExchMarginRateFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaExchMarginRateFieldCValue(s *CThostFtdcSyncDeltaExchMarginRateField) *C.CThostFtdcSyncDeltaExchMarginRateField

func CThostFtdcSyncDeltaIndexPriceFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaIndexPriceFieldCValue(s *CThostFtdcSyncDeltaIndexPriceField) *C.CThostFtdcSyncDeltaIndexPriceField

func CThostFtdcSyncDeltaInfoFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaInfoFieldCValue(s *CThostFtdcSyncDeltaInfoField) *C.CThostFtdcSyncDeltaInfoField

func CThostFtdcSyncDeltaInvstCommRateFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaInvstCommRateFieldCValue(s *CThostFtdcSyncDeltaInvstCommRateField) *C.CThostFtdcSyncDeltaInvstCommRateField

func CThostFtdcSyncDeltaInvstPosDtlFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaInvstPosDtlFieldCValue(s *CThostFtdcSyncDeltaInvstPosDtlField) *C.CThostFtdcSyncDeltaInvstPosDtlField

func CThostFtdcSyncDeltaOptExchMarginFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaOptExchMarginFieldCValue(s *CThostFtdcSyncDeltaOptExchMarginField) *C.CThostFtdcSyncDeltaOptExchMarginField

func CThostFtdcSyncDeltaOptInvstMarginFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaOptInvstMarginFieldCValue(s *CThostFtdcSyncDeltaOptInvstMarginField) *C.CThostFtdcSyncDeltaOptInvstMarginField

func CThostFtdcSyncDeltaProductStatusFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaProductStatusFieldCValue(s *CThostFtdcSyncDeltaProductStatusField) *C.CThostFtdcSyncDeltaProductStatusField

func CThostFtdcSyncDeltaSPMMInstParamFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaSPMMInstParamFieldCValue(s *CThostFtdcSyncDeltaSPMMInstParamField) *C.CThostFtdcSyncDeltaSPMMInstParamField

func CThostFtdcSyncDeltaSPMMModelParamFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaSPMMModelParamFieldCValue(s *CThostFtdcSyncDeltaSPMMModelParamField) *C.CThostFtdcSyncDeltaSPMMModelParamField

func CThostFtdcSyncDeltaTradingAccountFieldCValue added in v0.0.3

func CThostFtdcSyncDeltaTradingAccountFieldCValue(s *CThostFtdcSyncDeltaTradingAccountField) *C.CThostFtdcSyncDeltaTradingAccountField

func CThostFtdcSyncSPBMParameterEndFieldCValue added in v0.0.3

func CThostFtdcSyncSPBMParameterEndFieldCValue(s *CThostFtdcSyncSPBMParameterEndField) *C.CThostFtdcSyncSPBMParameterEndField

func CThostFtdcTGIpAddrParamFieldCValue added in v0.0.3

func CThostFtdcTGIpAddrParamFieldCValue(s *CThostFtdcTGIpAddrParamField) *C.CThostFtdcTGIpAddrParamField

func CThostFtdcTGSessionQryStatusFieldCValue added in v0.0.3

func CThostFtdcTGSessionQryStatusFieldCValue(s *CThostFtdcTGSessionQryStatusField) *C.CThostFtdcTGSessionQryStatusField

func CThostFtdcThostUserFunctionFieldCValue added in v0.0.3

func CThostFtdcThostUserFunctionFieldCValue(s *CThostFtdcThostUserFunctionField) *C.CThostFtdcThostUserFunctionField

func CThostFtdcTradeFieldCValue

func CThostFtdcTradeFieldCValue(s *CThostFtdcTradeField) *C.CThostFtdcTradeField

func CThostFtdcTraderAssignFieldCValue added in v0.0.3

func CThostFtdcTraderAssignFieldCValue(s *CThostFtdcTraderAssignField) *C.CThostFtdcTraderAssignField

func CThostFtdcTraderFieldCValue

func CThostFtdcTraderFieldCValue(s *CThostFtdcTraderField) *C.CThostFtdcTraderField

func CThostFtdcTraderSpiCValue

func CThostFtdcTraderSpiCValue(ptr CThostFtdcTraderSpi) C.tdSpi

func CThostFtdcUserIPFieldCValue

func CThostFtdcUserIPFieldCValue(s *CThostFtdcUserIPField) *C.CThostFtdcUserIPField

func CThostFtdcWechatUserSystemInfoFieldCValue added in v0.0.4

func CThostFtdcWechatUserSystemInfoFieldCValue(s *CThostFtdcWechatUserSystemInfoField) *C.CThostFtdcWechatUserSystemInfoField

func CThostFtdcWithDrawParamFieldCValue added in v0.0.3

func CThostFtdcWithDrawParamFieldCValue(s *CThostFtdcWithDrawParamField) *C.CThostFtdcWithDrawParamField

func GbkToUtf8

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

func MdGetApiVersion

func MdGetApiVersion() string

func TdGetApiVersion

func TdGetApiVersion() string

Types

type CThostFtdcAccountPropertyField

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

type CThostFtdcAccountregisterField

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

type CThostFtdcAddrAppIDRelationField added in v0.0.4

type CThostFtdcAddrAppIDRelationField struct {
	BrokerID     string
	Address      string
	DRIdentityID int
	AppID        string
}

func NewCThostFtdcAddrAppIDRelationField added in v0.0.4

func NewCThostFtdcAddrAppIDRelationField(p *C.CThostFtdcAddrAppIDRelationField) *CThostFtdcAddrAppIDRelationField

type CThostFtdcAppIDAuthAssignField

type CThostFtdcAppIDAuthAssignField struct {
	BrokerID     string
	AppID        string
	DRIdentityID int
}

type CThostFtdcAuthForbiddenIPField

type CThostFtdcAuthForbiddenIPField struct {
	IPAddress string
}

type CThostFtdcAuthIPField added in v0.0.3

type CThostFtdcAuthIPField struct {
	BrokerID  string
	AppID     string
	IPAddress string
}

func NewCThostFtdcAuthIPField added in v0.0.3

func NewCThostFtdcAuthIPField(p *C.CThostFtdcAuthIPField) *CThostFtdcAuthIPField

type CThostFtdcAuthUserIDField added in v0.0.3

type CThostFtdcAuthUserIDField struct {
	BrokerID string
	AppID    string
	UserID   string
	AuthType byte
}

func NewCThostFtdcAuthUserIDField added in v0.0.3

func NewCThostFtdcAuthUserIDField(p *C.CThostFtdcAuthUserIDField) *CThostFtdcAuthUserIDField

type CThostFtdcAuthenticationInfoField

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

type CThostFtdcBatchOrderActionField

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

type CThostFtdcBrokerDepositField

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

type CThostFtdcBrokerField

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

func NewCThostFtdcBrokerField

func NewCThostFtdcBrokerField(p *C.CThostFtdcBrokerField) *CThostFtdcBrokerField

type CThostFtdcBrokerSyncField

type CThostFtdcBrokerSyncField struct {
	BrokerID string
}

type CThostFtdcBrokerTradingAlgosField

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

type CThostFtdcBrokerTradingParamsField

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

type CThostFtdcBrokerUserEventField

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

type CThostFtdcBrokerUserField

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

type CThostFtdcBrokerUserFunctionField

type CThostFtdcBrokerUserFunctionField struct {
	BrokerID           string
	UserID             string
	BrokerFunctionCode byte
}

type CThostFtdcBrokerUserOTPParamField

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

type CThostFtdcBrokerUserPasswordField

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

type CThostFtdcBrokerUserRightAssignField

type CThostFtdcBrokerUserRightAssignField struct {
	BrokerID     string
	DRIdentityID int
	Tradeable    int
}

type CThostFtdcBrokerWithdrawAlgorithmField

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

type CThostFtdcBulletinField

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

type CThostFtdcCFMMCBrokerKeyField

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

type CThostFtdcCFMMCTradingAccountKeyField

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

type CThostFtdcCFMMCTradingAccountTokenField

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

type CThostFtdcCancelAccountField

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

type CThostFtdcCancelOffsetSettingField added in v0.0.4

type CThostFtdcCancelOffsetSettingField struct {
	BrokerID          string
	InvestorID        string
	InstrumentID      string
	UnderlyingInstrID string
	ProductID         string
	OffsetType        byte
	Volume            int
	IsOffset          int
	RequestID         int
	UserID            string
	ExchangeID        string
	IPAddress         string
	MacAddress        string
	ExchangeInstID    string
	ExchangeSerialNo  string
	ExchangeProductID string
	TraderID          string
	InstallID         int
	ParticipantID     string
	ClientID          string
	OrderActionStatus byte
	StatusMsg         string
	ActionLocalID     string
	ActionDate        string
	ActionTime        string
}

func NewCThostFtdcCancelOffsetSettingField added in v0.0.4

func NewCThostFtdcCancelOffsetSettingField(p *C.CThostFtdcCancelOffsetSettingField) *CThostFtdcCancelOffsetSettingField

type CThostFtdcChangeAccountField

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

type CThostFtdcCombActionField

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

type CThostFtdcCombInstrumentGuardField

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

type CThostFtdcCombLegField added in v0.0.3

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

func NewCThostFtdcCombLegField added in v0.0.3

func NewCThostFtdcCombLegField(p *C.CThostFtdcCombLegField) *CThostFtdcCombLegField

type CThostFtdcCombPromotionParamField added in v0.0.3

type CThostFtdcCombPromotionParamField struct {
	ExchangeID    string
	InstrumentID  string
	CombHedgeFlag string
	Xparameter    float64
}

func NewCThostFtdcCombPromotionParamField added in v0.0.3

func NewCThostFtdcCombPromotionParamField(p *C.CThostFtdcCombPromotionParamField) *CThostFtdcCombPromotionParamField

type CThostFtdcCombinationLegField

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

type CThostFtdcCommPhaseField

type CThostFtdcCommPhaseField struct {
	TradingDay  string
	CommPhaseNo int16
	SystemID    string
}

type CThostFtdcCommRateModelField

type CThostFtdcCommRateModelField struct {
	BrokerID      string
	CommModelID   string
	CommModelName string
}

type CThostFtdcContractBankField

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

type CThostFtdcCurrDRIdentityField

type CThostFtdcCurrDRIdentityField struct {
	DRIdentityID int
}

type CThostFtdcCurrTransferIdentityField

type CThostFtdcCurrTransferIdentityField struct {
	IdentityID int
}

type CThostFtdcCurrentTimeField

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

type CThostFtdcDRTransferField

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

type CThostFtdcDepartmentUserField

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

type CThostFtdcDepositResultInformField

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

type CThostFtdcDepthMarketDataField

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

type CThostFtdcDiscountField

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

type CThostFtdcDisseminationField

type CThostFtdcDisseminationField struct {
	SequenceSeries int16
	SequenceNo     int
}

type CThostFtdcEWarrantOffsetField

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

type CThostFtdcErrExecOrderActionField

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

type CThostFtdcErrExecOrderField

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

type CThostFtdcErrOrderActionField

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

type CThostFtdcErrOrderField

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

type CThostFtdcErrorConditionalOrderField

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

type CThostFtdcExchangeBatchOrderActionField

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

type CThostFtdcExchangeCombActionField

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

type CThostFtdcExchangeExecOrderActionField

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

type CThostFtdcExchangeExecOrderField

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

type CThostFtdcExchangeField

type CThostFtdcExchangeField struct {
	ExchangeID       string
	ExchangeName     string
	ExchangeProperty byte
}

type CThostFtdcExchangeForQuoteField

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

type CThostFtdcExchangeMarginRateAdjustField

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

type CThostFtdcExchangeMarginRateField

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

type CThostFtdcExchangeOptionSelfCloseActionField

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

type CThostFtdcExchangeOptionSelfCloseField

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

type CThostFtdcExchangeOrderActionErrorField

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

type CThostFtdcExchangeOrderActionField

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

type CThostFtdcExchangeOrderField

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

type CThostFtdcExchangeOrderInsertErrorField

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

type CThostFtdcExchangeQuoteActionField

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

type CThostFtdcExchangeQuoteField

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

type CThostFtdcExchangeRateField

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

type CThostFtdcExchangeSequenceField

type CThostFtdcExchangeSequenceField struct {
	ExchangeID   string
	SequenceNo   int
	MarketStatus byte
}

type CThostFtdcExchangeTradeField

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

type CThostFtdcExecOrderActionField

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

type CThostFtdcExecOrderField

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

type CThostFtdcExitEmergencyField added in v0.0.3

type CThostFtdcExitEmergencyField struct {
	BrokerID string
}

func NewCThostFtdcExitEmergencyField added in v0.0.3

func NewCThostFtdcExitEmergencyField(p *C.CThostFtdcExitEmergencyField) *CThostFtdcExitEmergencyField

type CThostFtdcFensUserInfoField

type CThostFtdcFensUserInfoField struct {
	BrokerID  string
	UserID    string
	LoginMode byte
}

type CThostFtdcForQuoteField

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

type CThostFtdcForQuoteParamField

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

type CThostFtdcForQuoteRspField

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

type CThostFtdcForceUserLogoutField

type CThostFtdcForceUserLogoutField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcFrontInfoField added in v0.0.3

type CThostFtdcFrontInfoField struct {
	FrontAddr  string
	QryFreq    int
	FTDPkgFreq int
}

func NewCThostFtdcFrontInfoField added in v0.0.3

func NewCThostFtdcFrontInfoField(p *C.CThostFtdcFrontInfoField) *CThostFtdcFrontInfoField

type CThostFtdcFrontStatusField

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

type CThostFtdcFutureLimitPosiParamField

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

type CThostFtdcFutureSignIOField

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

type CThostFtdcIPListField

type CThostFtdcIPListField struct {
	Reserve1  string
	IsWhite   int
	IPAddress string
}

func NewCThostFtdcIPListField

func NewCThostFtdcIPListField(p *C.CThostFtdcIPListField) *CThostFtdcIPListField

type CThostFtdcIndexPriceField

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

type CThostFtdcInputBatchOrderActionField

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

type CThostFtdcInputCombActionField

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

type CThostFtdcInputExecOrderActionField

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

type CThostFtdcInputExecOrderField

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

type CThostFtdcInputForQuoteField

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

type CThostFtdcInputOffsetSettingField added in v0.0.4

type CThostFtdcInputOffsetSettingField struct {
	BrokerID          string
	InvestorID        string
	InstrumentID      string
	UnderlyingInstrID string
	ProductID         string
	OffsetType        byte
	Volume            int
	IsOffset          int
	RequestID         int
	UserID            string
	ExchangeID        string
	IPAddress         string
	MacAddress        string
}

func NewCThostFtdcInputOffsetSettingField added in v0.0.4

func NewCThostFtdcInputOffsetSettingField(p *C.CThostFtdcInputOffsetSettingField) *CThostFtdcInputOffsetSettingField

type CThostFtdcInputOptionSelfCloseActionField

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

type CThostFtdcInputOptionSelfCloseField

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

type CThostFtdcInputOrderActionField

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

type CThostFtdcInputOrderField

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

type CThostFtdcInputQuoteActionField

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

type CThostFtdcInputQuoteField

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

type CThostFtdcInstrumentCommissionRateField

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

type CThostFtdcInstrumentField

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

type CThostFtdcInstrumentMarginRateAdjustField

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

type CThostFtdcInstrumentMarginRateField

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

type CThostFtdcInstrumentMarginRateULField

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

type CThostFtdcInstrumentOrderCommRateField

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

type CThostFtdcInstrumentStatusField

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

type CThostFtdcInstrumentTradingRightField

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

type CThostFtdcInvestUnitField

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

type CThostFtdcInvestorAccountField

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

type CThostFtdcInvestorCommodityGroupSPMMMarginField added in v0.0.3

type CThostFtdcInvestorCommodityGroupSPMMMarginField struct {
	ExchangeID             string
	BrokerID               string
	InvestorID             string
	CommodityGroupID       string
	MarginBeforeDiscount   float64
	MarginNoDiscount       float64
	LongRisk               float64
	ShortRisk              float64
	CloseFrozenMargin      float64
	InterCommodityRate     float64
	MiniMarginRatio        float64
	AdjustRatio            float64
	IntraCommodityDiscount float64
	InterCommodityDiscount float64
	ExchMargin             float64
	InvestorMargin         float64
	FrozenCommission       float64
	Commission             float64
	FrozenCash             float64
	CashIn                 float64
	StrikeFrozenMargin     float64
}

type CThostFtdcInvestorCommoditySPMMMarginField added in v0.0.3

type CThostFtdcInvestorCommoditySPMMMarginField struct {
	ExchangeID           string
	BrokerID             string
	InvestorID           string
	CommodityID          string
	MarginBeforeDiscount float64
	MarginNoDiscount     float64
	LongPosRisk          float64
	LongOpenFrozenRisk   float64
	LongCloseFrozenRisk  float64
	ShortPosRisk         float64
	ShortOpenFrozenRisk  float64
	ShortCloseFrozenRisk float64
	IntraCommodityRate   float64
	OptionDiscountRate   float64
	PosDiscount          float64
	OpenFrozenDiscount   float64
	NetRisk              float64
	CloseFrozenMargin    float64
	FrozenCommission     float64
	Commission           float64
	FrozenCash           float64
	CashIn               float64
	StrikeFrozenMargin   float64
}

type CThostFtdcInvestorDepartmentFlatField added in v0.0.4

type CThostFtdcInvestorDepartmentFlatField struct {
	BrokerID     string
	InvestorID   string
	DepartmentID string
}

func NewCThostFtdcInvestorDepartmentFlatField added in v0.0.4

func NewCThostFtdcInvestorDepartmentFlatField(p *C.CThostFtdcInvestorDepartmentFlatField) *CThostFtdcInvestorDepartmentFlatField

type CThostFtdcInvestorField

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

type CThostFtdcInvestorGroupField

type CThostFtdcInvestorGroupField struct {
	BrokerID          string
	InvestorGroupID   string
	InvestorGroupName string
}

type CThostFtdcInvestorInfoCntSettingField added in v0.0.3

type CThostFtdcInvestorInfoCntSettingField struct {
	ExchangeID     string
	BrokerID       string
	InvestorID     string
	ProductID      string
	IsCalInfoComm  int
	IsLimitInfoMax int
	InfoMaxLimit   int
}

func NewCThostFtdcInvestorInfoCntSettingField added in v0.0.3

func NewCThostFtdcInvestorInfoCntSettingField(p *C.CThostFtdcInvestorInfoCntSettingField) *CThostFtdcInvestorInfoCntSettingField

type CThostFtdcInvestorInfoCommRecField added in v0.0.3

type CThostFtdcInvestorInfoCommRecField struct {
	ExchangeID       string
	BrokerID         string
	InvestorID       string
	InstrumentID     string
	OrderCount       int
	OrderActionCount int
	ForQuoteCnt      int
	InfoComm         float64
	IsOptSeries      int
	ProductID        string
	InfoCnt          int
}

func NewCThostFtdcInvestorInfoCommRecField added in v0.0.3

func NewCThostFtdcInvestorInfoCommRecField(p *C.CThostFtdcInvestorInfoCommRecField) *CThostFtdcInvestorInfoCommRecField

type CThostFtdcInvestorPortfMarginModelField added in v0.0.3

type CThostFtdcInvestorPortfMarginModelField struct {
	BrokerID      string
	InvestorID    string
	MarginModelID string
}

type CThostFtdcInvestorPortfMarginRatioField added in v0.0.3

type CThostFtdcInvestorPortfMarginRatioField struct {
	InvestorRange  byte
	BrokerID       string
	InvestorID     string
	ExchangeID     string
	MarginRatio    float64
	ProductGroupID string
}

type CThostFtdcInvestorPortfSettingField added in v0.0.3

type CThostFtdcInvestorPortfSettingField struct {
	ExchangeID string
	BrokerID   string
	InvestorID string
	HedgeFlag  byte
	UsePortf   int
}

func NewCThostFtdcInvestorPortfSettingField added in v0.0.3

func NewCThostFtdcInvestorPortfSettingField(p *C.CThostFtdcInvestorPortfSettingField) *CThostFtdcInvestorPortfSettingField

type CThostFtdcInvestorPositionCombineDetailField

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

type CThostFtdcInvestorPositionDetailField

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

type CThostFtdcInvestorPositionField

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

type CThostFtdcInvestorProdRCAMSMarginField added in v0.0.3

type CThostFtdcInvestorProdRCAMSMarginField struct {
	ExchangeID               string
	BrokerID                 string
	InvestorID               string
	CombProductID            string
	HedgeFlag                byte
	ProductGroupID           string
	RiskBeforeDiscount       float64
	IntraInstrRisk           float64
	BPosRisk                 float64
	SPosRisk                 float64
	IntraProdRisk            float64
	NetRisk                  float64
	InterProdRisk            float64
	ShortOptRiskAdj          float64
	OptionRoyalty            float64
	MMSACloseFrozenMargin    float64
	CloseCombFrozenMargin    float64
	CloseFrozenMargin        float64
	MMSAOpenFrozenMargin     float64
	DeliveryOpenFrozenMargin float64
	OpenFrozenMargin         float64
	UseFrozenMargin          float64
	MMSAExchMargin           float64
	DeliveryExchMargin       float64
	CombExchMargin           float64
	ExchMargin               float64
	UseMargin                float64
}

type CThostFtdcInvestorProdRULEMarginField added in v0.0.3

type CThostFtdcInvestorProdRULEMarginField struct {
	ExchangeID           string
	BrokerID             string
	InvestorID           string
	ProdFamilyCode       string
	InstrumentClass      byte
	CommodityGroupID     int
	BStdPosition         float64
	SStdPosition         float64
	BStdOpenFrozen       float64
	SStdOpenFrozen       float64
	BStdCloseFrozen      float64
	SStdCloseFrozen      float64
	IntraProdStdPosition float64
	NetStdPosition       float64
	InterProdStdPosition float64
	SingleStdPosition    float64
	IntraProdMargin      float64
	InterProdMargin      float64
	SingleMargin         float64
	NonCombMargin        float64
	AddOnMargin          float64
	ExchMargin           float64
	AddOnFrozenMargin    float64
	OpenFrozenMargin     float64
	CloseFrozenMargin    float64
	Margin               float64
	FrozenMargin         float64
}

func NewCThostFtdcInvestorProdRULEMarginField added in v0.0.3

func NewCThostFtdcInvestorProdRULEMarginField(p *C.CThostFtdcInvestorProdRULEMarginField) *CThostFtdcInvestorProdRULEMarginField

type CThostFtdcInvestorProdSPBMDetailField added in v0.0.3

type CThostFtdcInvestorProdSPBMDetailField struct {
	ExchangeID            string
	BrokerID              string
	InvestorID            string
	ProdFamilyCode        string
	IntraInstrMargin      float64
	BCollectingMargin     float64
	SCollectingMargin     float64
	IntraProdMargin       float64
	NetMargin             float64
	InterProdMargin       float64
	SingleMargin          float64
	AddOnMargin           float64
	DeliveryMargin        float64
	CallOptionMinRisk     float64
	PutOptionMinRisk      float64
	OptionMinRisk         float64
	OptionValueOffset     float64
	OptionRoyalty         float64
	RealOptionValueOffset float64
	Margin                float64
	ExchMargin            float64
}

func NewCThostFtdcInvestorProdSPBMDetailField added in v0.0.3

func NewCThostFtdcInvestorProdSPBMDetailField(p *C.CThostFtdcInvestorProdSPBMDetailField) *CThostFtdcInvestorProdSPBMDetailField

type CThostFtdcInvestorProductGroupMarginField

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

type CThostFtdcInvestorReserveInfoField added in v0.0.4

type CThostFtdcInvestorReserveInfoField struct {
	BrokerID    string
	UserID      string
	ReserveInfo string
}

func NewCThostFtdcInvestorReserveInfoField added in v0.0.4

func NewCThostFtdcInvestorReserveInfoField(p *C.CThostFtdcInvestorReserveInfoField) *CThostFtdcInvestorReserveInfoField

type CThostFtdcInvestorTradingRightField added in v0.0.3

type CThostFtdcInvestorTradingRightField struct {
	BrokerID          string
	InvestorID        string
	InvstTradingRight byte
}

func NewCThostFtdcInvestorTradingRightField added in v0.0.3

func NewCThostFtdcInvestorTradingRightField(p *C.CThostFtdcInvestorTradingRightField) *CThostFtdcInvestorTradingRightField

type CThostFtdcInvestorWithdrawAlgorithmField

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

type CThostFtdcIpAddrParamField added in v0.0.3

type CThostFtdcIpAddrParamField struct {
	BrokerID       string
	Address        string
	DRIdentityID   int
	DRIdentityName string
	AddrSrvMode    byte
	AddrVer        byte
	AddrNo         int
	AddrName       string
	IsSM           int
	IsLocalAddr    int
	Remark         string
	Site           string
	NetOperator    string
}

func NewCThostFtdcIpAddrParamField added in v0.0.3

func NewCThostFtdcIpAddrParamField(p *C.CThostFtdcIpAddrParamField) *CThostFtdcIpAddrParamField

type CThostFtdcLinkManField

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

type CThostFtdcLoadSettlementInfoField

type CThostFtdcLoadSettlementInfoField struct {
	BrokerID string
}

type CThostFtdcLocalAddrConfigField added in v0.0.3

type CThostFtdcLocalAddrConfigField struct {
	BrokerID     string
	PeerAddr     string
	NetMask      string
	DRIdentityID int
	LocalAddress string
}

func NewCThostFtdcLocalAddrConfigField added in v0.0.3

func NewCThostFtdcLocalAddrConfigField(p *C.CThostFtdcLocalAddrConfigField) *CThostFtdcLocalAddrConfigField

type CThostFtdcLoginForbiddenIPField

type CThostFtdcLoginForbiddenIPField struct {
	Reserve1  string
	IPAddress string
}

type CThostFtdcLoginForbiddenUserField

type CThostFtdcLoginForbiddenUserField struct {
	BrokerID  string
	UserID    string
	Reserve1  string
	IPAddress string
}

type CThostFtdcLoginInfoField

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

type CThostFtdcLogoutAllField

type CThostFtdcLogoutAllField struct {
	FrontID    int
	SessionID  int
	SystemName string
}

type CThostFtdcMDTraderOfferField

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

type CThostFtdcMMInstrumentCommissionRateField

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

type CThostFtdcMMOptionInstrCommRateField

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

type CThostFtdcManualSyncBrokerUserOTPField

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

type CThostFtdcMarginModelField

type CThostFtdcMarginModelField struct {
	BrokerID        string
	MarginModelID   string
	MarginModelName string
}

type CThostFtdcMarketDataAsk23Field

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

type CThostFtdcMarketDataAsk45Field

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

type CThostFtdcMarketDataAveragePriceField

type CThostFtdcMarketDataAveragePriceField struct {
	AveragePrice float64
}

type CThostFtdcMarketDataBandingPriceField added in v0.0.3

type CThostFtdcMarketDataBandingPriceField struct {
	BandingUpperPrice float64
	BandingLowerPrice float64
}

func NewCThostFtdcMarketDataBandingPriceField added in v0.0.3

func NewCThostFtdcMarketDataBandingPriceField(p *C.CThostFtdcMarketDataBandingPriceField) *CThostFtdcMarketDataBandingPriceField

type CThostFtdcMarketDataBaseField

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

type CThostFtdcMarketDataBestPriceField

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

type CThostFtdcMarketDataBid23Field

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

type CThostFtdcMarketDataBid45Field

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

type CThostFtdcMarketDataExchangeField

type CThostFtdcMarketDataExchangeField struct {
	ExchangeID string
}

type CThostFtdcMarketDataField

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

type CThostFtdcMarketDataLastMatchField

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

type CThostFtdcMarketDataStaticField

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

type CThostFtdcMarketDataUpdateTimeField

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

type CThostFtdcMdApi

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

func MdCreateFtdcMdApi

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

func (*CThostFtdcMdApi) GetTradingDay

func (a *CThostFtdcMdApi) GetTradingDay() string

func (*CThostFtdcMdApi) Init

func (a *CThostFtdcMdApi) Init()

func (*CThostFtdcMdApi) Join

func (a *CThostFtdcMdApi) Join() int

func (*CThostFtdcMdApi) RegisterFensUserInfo

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

func (*CThostFtdcMdApi) RegisterFront

func (a *CThostFtdcMdApi) RegisterFront(pszFrontAddress string)

func (*CThostFtdcMdApi) RegisterNameServer

func (a *CThostFtdcMdApi) RegisterNameServer(pszNsAddress string)

func (*CThostFtdcMdApi) RegisterSpi

func (a *CThostFtdcMdApi) RegisterSpi(pSpi CThostFtdcMdSpi)

func (*CThostFtdcMdApi) Release

func (a *CThostFtdcMdApi) Release()

func (*CThostFtdcMdApi) ReqQryMulticastInstrument

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

func (*CThostFtdcMdApi) ReqUserLogin

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

func (*CThostFtdcMdApi) ReqUserLogout

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

func (*CThostFtdcMdApi) SubscribeForQuoteRsp

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

func (*CThostFtdcMdApi) SubscribeMarketData

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

func (*CThostFtdcMdApi) UnSubscribeForQuoteRsp

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

func (*CThostFtdcMdApi) UnSubscribeMarketData

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

type CThostFtdcMdSpi

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

type CThostFtdcMdSpiBase

type CThostFtdcMdSpiBase struct {
}

func (*CThostFtdcMdSpiBase) OnFrontConnected

func (b *CThostFtdcMdSpiBase) OnFrontConnected()

func (*CThostFtdcMdSpiBase) OnFrontDisconnected

func (b *CThostFtdcMdSpiBase) OnFrontDisconnected(nReason int)

func (*CThostFtdcMdSpiBase) OnHeartBeatWarning

func (b *CThostFtdcMdSpiBase) OnHeartBeatWarning(nTimeLapse int)

func (*CThostFtdcMdSpiBase) OnRspError

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

func (*CThostFtdcMdSpiBase) OnRspQryMulticastInstrument

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

func (*CThostFtdcMdSpiBase) OnRspSubForQuoteRsp

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

func (*CThostFtdcMdSpiBase) OnRspSubMarketData

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

func (*CThostFtdcMdSpiBase) OnRspUnSubForQuoteRsp

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

func (*CThostFtdcMdSpiBase) OnRspUnSubMarketData

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

func (*CThostFtdcMdSpiBase) OnRspUserLogin

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

func (*CThostFtdcMdSpiBase) OnRspUserLogout

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

func (*CThostFtdcMdSpiBase) OnRtnDepthMarketData

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

func (*CThostFtdcMdSpiBase) OnRtnForQuoteRsp

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

type CThostFtdcMortgageParamField added in v0.0.3

type CThostFtdcMortgageParamField struct {
	BrokerID           string
	AccountID          string
	MortgageBalance    float64
	CheckMortgageRatio int
}

func NewCThostFtdcMortgageParamField added in v0.0.3

func NewCThostFtdcMortgageParamField(p *C.CThostFtdcMortgageParamField) *CThostFtdcMortgageParamField

type CThostFtdcMulticastInstrumentField

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

type CThostFtdcNoticeField

type CThostFtdcNoticeField struct {
	BrokerID      string
	Content       string
	SequenceLabel string
}

func NewCThostFtdcNoticeField

func NewCThostFtdcNoticeField(p *C.CThostFtdcNoticeField) *CThostFtdcNoticeField

type CThostFtdcNotifyFutureSignInField

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

type CThostFtdcNotifyFutureSignOutField

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

type CThostFtdcNotifyQueryAccountField

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

type CThostFtdcNotifyQueryFutureAccountBySecField added in v0.0.3

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

type CThostFtdcNotifySyncKeyField

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

type CThostFtdcOffsetSettingField added in v0.0.4

type CThostFtdcOffsetSettingField struct {
	BrokerID               string
	InvestorID             string
	InstrumentID           string
	UnderlyingInstrID      string
	ProductID              string
	OffsetType             byte
	Volume                 int
	IsOffset               int
	RequestID              int
	UserID                 string
	ExchangeID             string
	IPAddress              string
	MacAddress             string
	ExchangeInstID         string
	ExchangeSerialNo       string
	ExchangeProductID      string
	ParticipantID          string
	ClientID               string
	TraderID               string
	InstallID              int
	OrderSubmitStatus      byte
	TradingDay             string
	SettlementID           int
	InsertDate             string
	InsertTime             string
	CancelTime             string
	ExecResult             byte
	SequenceNo             int
	FrontID                int
	SessionID              int
	StatusMsg              string
	ActiveUserID           string
	BrokerOffsetSettingSeq int
	ApplySrc               byte
}

func NewCThostFtdcOffsetSettingField added in v0.0.4

func NewCThostFtdcOffsetSettingField(p *C.CThostFtdcOffsetSettingField) *CThostFtdcOffsetSettingField

type CThostFtdcOpenAccountField

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

type CThostFtdcOptionInstrCommRateField

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

type CThostFtdcOptionInstrDeltaField

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

type CThostFtdcOptionInstrMarginAdjustField

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

type CThostFtdcOptionInstrMiniMarginField

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

type CThostFtdcOptionInstrTradeCostField

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

type CThostFtdcOptionInstrTradingRightField

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

type CThostFtdcOptionSelfCloseActionField

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

type CThostFtdcOptionSelfCloseField

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

type CThostFtdcOrderActionField

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

type CThostFtdcOrderField

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

func NewCThostFtdcOrderField

func NewCThostFtdcOrderField(p *C.CThostFtdcOrderField) *CThostFtdcOrderField

type CThostFtdcParkedOrderActionField

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

type CThostFtdcParkedOrderField

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

type CThostFtdcPartBrokerField

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

type CThostFtdcPortfTradeParamSettingField added in v0.0.3

type CThostFtdcPortfTradeParamSettingField struct {
	ExchangeID     string
	BrokerID       string
	InvestorID     string
	Portfolio      byte
	IsActionVerify int
	IsCloseVerify  int
}

func NewCThostFtdcPortfTradeParamSettingField added in v0.0.3

func NewCThostFtdcPortfTradeParamSettingField(p *C.CThostFtdcPortfTradeParamSettingField) *CThostFtdcPortfTradeParamSettingField

type CThostFtdcPositionProfitAlgorithmField

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

type CThostFtdcProductExchRateField

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

type CThostFtdcProductField

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

type CThostFtdcProductGroupField

type CThostFtdcProductGroupField struct {
	Reserve1       string
	ExchangeID     string
	Reserve2       string
	ProductID      string
	ProductGroupID string
}

type CThostFtdcQryAccountregisterField

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

type CThostFtdcQryAddrAppIDRelationField added in v0.0.4

type CThostFtdcQryAddrAppIDRelationField struct {
	BrokerID string
}

func NewCThostFtdcQryAddrAppIDRelationField added in v0.0.4

func NewCThostFtdcQryAddrAppIDRelationField(p *C.CThostFtdcQryAddrAppIDRelationField) *CThostFtdcQryAddrAppIDRelationField

type CThostFtdcQryAuthForbiddenIPField

type CThostFtdcQryAuthForbiddenIPField struct {
	IPAddress string
}

type CThostFtdcQryBatchOrderActionField

type CThostFtdcQryBatchOrderActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

type CThostFtdcQryBrokerField

type CThostFtdcQryBrokerField struct {
	BrokerID string
}

type CThostFtdcQryBrokerTradingAlgosField

type CThostFtdcQryBrokerTradingAlgosField struct {
	BrokerID     string
	ExchangeID   string
	Reserve1     string
	InstrumentID string
}

type CThostFtdcQryBrokerTradingParamsField

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

type CThostFtdcQryBrokerUserEventField

type CThostFtdcQryBrokerUserEventField struct {
	BrokerID      string
	UserID        string
	UserEventType byte
}

type CThostFtdcQryBrokerUserField

type CThostFtdcQryBrokerUserField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcQryBrokerUserFunctionField

type CThostFtdcQryBrokerUserFunctionField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcQryBulletinField

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

type CThostFtdcQryCFMMCBrokerKeyField

type CThostFtdcQryCFMMCBrokerKeyField struct {
	BrokerID string
}

type CThostFtdcQryCFMMCTradingAccountKeyField

type CThostFtdcQryCFMMCTradingAccountKeyField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryClassifiedInstrumentField added in v0.0.3

type CThostFtdcQryClassifiedInstrumentField struct {
	InstrumentID   string
	ExchangeID     string
	ExchangeInstID string
	ProductID      string
	TradingType    byte
	ClassType      byte
}

type CThostFtdcQryCombActionField

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

type CThostFtdcQryCombInstrumentGuardField

type CThostFtdcQryCombInstrumentGuardField struct {
	BrokerID     string
	Reserve1     string
	ExchangeID   string
	InstrumentID string
}

type CThostFtdcQryCombLegField added in v0.0.3

type CThostFtdcQryCombLegField struct {
	LegInstrumentID string
}

func NewCThostFtdcQryCombLegField added in v0.0.3

func NewCThostFtdcQryCombLegField(p *C.CThostFtdcQryCombLegField) *CThostFtdcQryCombLegField

type CThostFtdcQryCombPromotionParamField added in v0.0.3

type CThostFtdcQryCombPromotionParamField struct {
	ExchangeID   string
	InstrumentID string
}

func NewCThostFtdcQryCombPromotionParamField added in v0.0.3

func NewCThostFtdcQryCombPromotionParamField(p *C.CThostFtdcQryCombPromotionParamField) *CThostFtdcQryCombPromotionParamField

type CThostFtdcQryCombinationLegField

type CThostFtdcQryCombinationLegField struct {
	Reserve1         string
	LegID            int
	Reserve2         string
	CombInstrumentID string
	LegInstrumentID  string
}

type CThostFtdcQryCommRateModelField

type CThostFtdcQryCommRateModelField struct {
	BrokerID    string
	CommModelID string
}

type CThostFtdcQryContractBankField

type CThostFtdcQryContractBankField struct {
	BrokerID   string
	BankID     string
	BankBrchID string
}

type CThostFtdcQryCurrDRIdentityField

type CThostFtdcQryCurrDRIdentityField struct {
	DRIdentityID int
}

type CThostFtdcQryDepartmentUserField added in v0.0.4

type CThostFtdcQryDepartmentUserField struct {
	BrokerID string
}

func NewCThostFtdcQryDepartmentUserField added in v0.0.4

func NewCThostFtdcQryDepartmentUserField(p *C.CThostFtdcQryDepartmentUserField) *CThostFtdcQryDepartmentUserField

type CThostFtdcQryDepthMarketDataField

type CThostFtdcQryDepthMarketDataField struct {
	Reserve1     string
	ExchangeID   string
	InstrumentID string
	ProductClass byte
}

type CThostFtdcQryEWarrantOffsetField

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

type CThostFtdcQryErrExecOrderActionField

type CThostFtdcQryErrExecOrderActionField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryErrExecOrderField

type CThostFtdcQryErrExecOrderField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryErrOrderActionField

type CThostFtdcQryErrOrderActionField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryErrOrderField

type CThostFtdcQryErrOrderField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryExchangeCombActionField

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

type CThostFtdcQryExchangeExecOrderActionField

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

type CThostFtdcQryExchangeExecOrderField

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

type CThostFtdcQryExchangeField

type CThostFtdcQryExchangeField struct {
	ExchangeID string
}

type CThostFtdcQryExchangeForQuoteField

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

type CThostFtdcQryExchangeMarginRateAdjustField

type CThostFtdcQryExchangeMarginRateAdjustField struct {
	BrokerID     string
	Reserve1     string
	HedgeFlag    byte
	InstrumentID string
}

type CThostFtdcQryExchangeMarginRateField

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

type CThostFtdcQryExchangeOrderActionField

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

type CThostFtdcQryExchangeOrderField

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

type CThostFtdcQryExchangeQuoteActionField

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

type CThostFtdcQryExchangeQuoteField

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

type CThostFtdcQryExchangeRateField

type CThostFtdcQryExchangeRateField struct {
	BrokerID       string
	FromCurrencyID string
	ToCurrencyID   string
}

type CThostFtdcQryExchangeSequenceField

type CThostFtdcQryExchangeSequenceField struct {
	ExchangeID string
}

type CThostFtdcQryExecOrderActionField

type CThostFtdcQryExecOrderActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

type CThostFtdcQryExecOrderField

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

type CThostFtdcQryForQuoteField

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

type CThostFtdcQryForQuoteParamField

type CThostFtdcQryForQuoteParamField struct {
	BrokerID     string
	Reserve1     string
	ExchangeID   string
	InstrumentID string
}

type CThostFtdcQryFrontStatusField

type CThostFtdcQryFrontStatusField struct {
	FrontID int
}

type CThostFtdcQryHisOrderField

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

type CThostFtdcQryIPListField

type CThostFtdcQryIPListField struct {
	Reserve1  string
	IPAddress string
}

type CThostFtdcQryInstrumentCommissionRateField

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

type CThostFtdcQryInstrumentField

type CThostFtdcQryInstrumentField struct {
	Reserve1       string
	ExchangeID     string
	Reserve2       string
	Reserve3       string
	InstrumentID   string
	ExchangeInstID string
	ProductID      string
}

type CThostFtdcQryInstrumentMarginRateField

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

type CThostFtdcQryInstrumentOrderCommRateField

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

type CThostFtdcQryInstrumentStatusField

type CThostFtdcQryInstrumentStatusField struct {
	ExchangeID     string
	Reserve1       string
	ExchangeInstID string
}

type CThostFtdcQryInstrumentTradingRightField

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

type CThostFtdcQryInvestUnitField

type CThostFtdcQryInvestUnitField struct {
	BrokerID     string
	InvestorID   string
	InvestUnitID string
}

type CThostFtdcQryInvestorCommodityGroupSPMMMarginField added in v0.0.3

type CThostFtdcQryInvestorCommodityGroupSPMMMarginField struct {
	BrokerID         string
	InvestorID       string
	CommodityGroupID string
}

type CThostFtdcQryInvestorCommoditySPMMMarginField added in v0.0.3

type CThostFtdcQryInvestorCommoditySPMMMarginField struct {
	BrokerID    string
	InvestorID  string
	CommodityID string
}

type CThostFtdcQryInvestorDepartmentFlatField added in v0.0.4

type CThostFtdcQryInvestorDepartmentFlatField struct {
	BrokerID string
}

type CThostFtdcQryInvestorField

type CThostFtdcQryInvestorField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryInvestorGroupField

type CThostFtdcQryInvestorGroupField struct {
	BrokerID string
}

type CThostFtdcQryInvestorInfoCommRecField added in v0.0.3

type CThostFtdcQryInvestorInfoCommRecField struct {
	InvestorID   string
	InstrumentID string
	BrokerID     string
}

func NewCThostFtdcQryInvestorInfoCommRecField added in v0.0.3

func NewCThostFtdcQryInvestorInfoCommRecField(p *C.CThostFtdcQryInvestorInfoCommRecField) *CThostFtdcQryInvestorInfoCommRecField

type CThostFtdcQryInvestorPortfMarginRatioField added in v0.0.3

type CThostFtdcQryInvestorPortfMarginRatioField struct {
	BrokerID       string
	InvestorID     string
	ExchangeID     string
	ProductGroupID string
}

type CThostFtdcQryInvestorPortfSettingField added in v0.0.3

type CThostFtdcQryInvestorPortfSettingField struct {
	ExchangeID string
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryInvestorPositionCombineDetailField

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

type CThostFtdcQryInvestorPositionDetailField

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

type CThostFtdcQryInvestorPositionField

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

type CThostFtdcQryInvestorProdRCAMSMarginField added in v0.0.3

type CThostFtdcQryInvestorProdRCAMSMarginField struct {
	BrokerID       string
	InvestorID     string
	CombProductID  string
	ProductGroupID string
}

type CThostFtdcQryInvestorProdRULEMarginField added in v0.0.3

type CThostFtdcQryInvestorProdRULEMarginField struct {
	ExchangeID       string
	BrokerID         string
	InvestorID       string
	ProdFamilyCode   string
	CommodityGroupID int
}

type CThostFtdcQryInvestorProdSPBMDetailField added in v0.0.3

type CThostFtdcQryInvestorProdSPBMDetailField struct {
	ExchangeID     string
	BrokerID       string
	InvestorID     string
	ProdFamilyCode string
}

type CThostFtdcQryInvestorProductGroupMarginField

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

type CThostFtdcQryIpAddrParamField added in v0.0.3

type CThostFtdcQryIpAddrParamField struct {
	BrokerID string
}

func NewCThostFtdcQryIpAddrParamField added in v0.0.3

func NewCThostFtdcQryIpAddrParamField(p *C.CThostFtdcQryIpAddrParamField) *CThostFtdcQryIpAddrParamField

type CThostFtdcQryLinkManField

type CThostFtdcQryLinkManField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQryLocalAddrConfigField added in v0.0.3

type CThostFtdcQryLocalAddrConfigField struct {
	BrokerID string
}

func NewCThostFtdcQryLocalAddrConfigField added in v0.0.3

func NewCThostFtdcQryLocalAddrConfigField(p *C.CThostFtdcQryLocalAddrConfigField) *CThostFtdcQryLocalAddrConfigField

type CThostFtdcQryLoginForbiddenIPField

type CThostFtdcQryLoginForbiddenIPField struct {
	Reserve1  string
	IPAddress string
}

type CThostFtdcQryLoginForbiddenUserField

type CThostFtdcQryLoginForbiddenUserField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcQryMDTraderOfferField

type CThostFtdcQryMDTraderOfferField struct {
	ExchangeID    string
	ParticipantID string
	TraderID      string
}

type CThostFtdcQryMMInstrumentCommissionRateField

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

type CThostFtdcQryMMOptionInstrCommRateField

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

type CThostFtdcQryMarginModelField

type CThostFtdcQryMarginModelField struct {
	BrokerID      string
	MarginModelID string
}

type CThostFtdcQryMaxOrderVolumeField added in v0.0.3

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

func NewCThostFtdcQryMaxOrderVolumeField added in v0.0.3

func NewCThostFtdcQryMaxOrderVolumeField(p *C.CThostFtdcQryMaxOrderVolumeField) *CThostFtdcQryMaxOrderVolumeField

type CThostFtdcQryMaxOrderVolumeWithPriceField added in v0.0.3

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

type CThostFtdcQryMulticastInstrumentField

type CThostFtdcQryMulticastInstrumentField struct {
	TopicID      int
	Reserve1     string
	InstrumentID string
}

type CThostFtdcQryNoticeField

type CThostFtdcQryNoticeField struct {
	BrokerID string
}

type CThostFtdcQryOffsetSettingField added in v0.0.4

type CThostFtdcQryOffsetSettingField struct {
	BrokerID   string
	InvestorID string
	ProductID  string
	OffsetType byte
}

func NewCThostFtdcQryOffsetSettingField added in v0.0.4

func NewCThostFtdcQryOffsetSettingField(p *C.CThostFtdcQryOffsetSettingField) *CThostFtdcQryOffsetSettingField

type CThostFtdcQryOptionInstrCommRateField

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

type CThostFtdcQryOptionInstrTradeCostField

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

type CThostFtdcQryOptionInstrTradingRightField

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

type CThostFtdcQryOptionSelfCloseActionField

type CThostFtdcQryOptionSelfCloseActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

type CThostFtdcQryOptionSelfCloseField

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

type CThostFtdcQryOrderActionField

type CThostFtdcQryOrderActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

type CThostFtdcQryOrderField

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

type CThostFtdcQryParkedOrderActionField

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

type CThostFtdcQryParkedOrderField

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

type CThostFtdcQryPartBrokerField

type CThostFtdcQryPartBrokerField struct {
	ExchangeID    string
	BrokerID      string
	ParticipantID string
}

type CThostFtdcQryProductExchRateField

type CThostFtdcQryProductExchRateField struct {
	Reserve1   string
	ExchangeID string
	ProductID  string
}

type CThostFtdcQryProductField

type CThostFtdcQryProductField struct {
	Reserve1     string
	ProductClass byte
	ExchangeID   string
	ProductID    string
}

type CThostFtdcQryProductGroupField

type CThostFtdcQryProductGroupField struct {
	Reserve1   string
	ExchangeID string
	ProductID  string
}

type CThostFtdcQryQuoteActionField

type CThostFtdcQryQuoteActionField struct {
	BrokerID   string
	InvestorID string
	ExchangeID string
}

type CThostFtdcQryQuoteField

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

type CThostFtdcQryRCAMSCombProductInfoField added in v0.0.3

type CThostFtdcQryRCAMSCombProductInfoField struct {
	ProductID      string
	CombProductID  string
	ProductGroupID string
}

type CThostFtdcQryRCAMSInstrParameterField added in v0.0.3

type CThostFtdcQryRCAMSInstrParameterField struct {
	ProductID string
}

func NewCThostFtdcQryRCAMSInstrParameterField added in v0.0.3

func NewCThostFtdcQryRCAMSInstrParameterField(p *C.CThostFtdcQryRCAMSInstrParameterField) *CThostFtdcQryRCAMSInstrParameterField

type CThostFtdcQryRCAMSInterParameterField added in v0.0.3

type CThostFtdcQryRCAMSInterParameterField struct {
	ProductGroupID string
	CombProduct1   string
	CombProduct2   string
}

func NewCThostFtdcQryRCAMSInterParameterField added in v0.0.3

func NewCThostFtdcQryRCAMSInterParameterField(p *C.CThostFtdcQryRCAMSInterParameterField) *CThostFtdcQryRCAMSInterParameterField

type CThostFtdcQryRCAMSIntraParameterField added in v0.0.3

type CThostFtdcQryRCAMSIntraParameterField struct {
	CombProductID string
}

func NewCThostFtdcQryRCAMSIntraParameterField added in v0.0.3

func NewCThostFtdcQryRCAMSIntraParameterField(p *C.CThostFtdcQryRCAMSIntraParameterField) *CThostFtdcQryRCAMSIntraParameterField

type CThostFtdcQryRCAMSInvestorCombPositionField added in v0.0.3

type CThostFtdcQryRCAMSInvestorCombPositionField struct {
	BrokerID         string
	InvestorID       string
	InstrumentID     string
	CombInstrumentID string
}

type CThostFtdcQryRCAMSShortOptAdjustParamField added in v0.0.3

type CThostFtdcQryRCAMSShortOptAdjustParamField struct {
	CombProductID string
}

type CThostFtdcQryRULEInstrParameterField added in v0.0.3

type CThostFtdcQryRULEInstrParameterField struct {
	ExchangeID   string
	InstrumentID string
}

func NewCThostFtdcQryRULEInstrParameterField added in v0.0.3

func NewCThostFtdcQryRULEInstrParameterField(p *C.CThostFtdcQryRULEInstrParameterField) *CThostFtdcQryRULEInstrParameterField

type CThostFtdcQryRULEInterParameterField added in v0.0.3

type CThostFtdcQryRULEInterParameterField struct {
	ExchangeID         string
	Leg1ProdFamilyCode string
	Leg2ProdFamilyCode string
	CommodityGroupID   int
}

func NewCThostFtdcQryRULEInterParameterField added in v0.0.3

func NewCThostFtdcQryRULEInterParameterField(p *C.CThostFtdcQryRULEInterParameterField) *CThostFtdcQryRULEInterParameterField

type CThostFtdcQryRULEIntraParameterField added in v0.0.3

type CThostFtdcQryRULEIntraParameterField struct {
	ExchangeID     string
	ProdFamilyCode string
}

func NewCThostFtdcQryRULEIntraParameterField added in v0.0.3

func NewCThostFtdcQryRULEIntraParameterField(p *C.CThostFtdcQryRULEIntraParameterField) *CThostFtdcQryRULEIntraParameterField

type CThostFtdcQryRiskSettleInvstPositionField added in v0.0.3

type CThostFtdcQryRiskSettleInvstPositionField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
}

type CThostFtdcQryRiskSettleProductStatusField added in v0.0.3

type CThostFtdcQryRiskSettleProductStatusField struct {
	ProductID string
}

type CThostFtdcQrySPBMAddOnInterParameterField added in v0.0.3

type CThostFtdcQrySPBMAddOnInterParameterField struct {
	ExchangeID         string
	Leg1ProdFamilyCode string
	Leg2ProdFamilyCode string
}

type CThostFtdcQrySPBMFutureParameterField added in v0.0.3

type CThostFtdcQrySPBMFutureParameterField struct {
	ExchangeID     string
	InstrumentID   string
	ProdFamilyCode string
}

func NewCThostFtdcQrySPBMFutureParameterField added in v0.0.3

func NewCThostFtdcQrySPBMFutureParameterField(p *C.CThostFtdcQrySPBMFutureParameterField) *CThostFtdcQrySPBMFutureParameterField

type CThostFtdcQrySPBMInterParameterField added in v0.0.3

type CThostFtdcQrySPBMInterParameterField struct {
	ExchangeID         string
	Leg1ProdFamilyCode string
	Leg2ProdFamilyCode string
}

func NewCThostFtdcQrySPBMInterParameterField added in v0.0.3

func NewCThostFtdcQrySPBMInterParameterField(p *C.CThostFtdcQrySPBMInterParameterField) *CThostFtdcQrySPBMInterParameterField

type CThostFtdcQrySPBMIntraParameterField added in v0.0.3

type CThostFtdcQrySPBMIntraParameterField struct {
	ExchangeID     string
	ProdFamilyCode string
}

func NewCThostFtdcQrySPBMIntraParameterField added in v0.0.3

func NewCThostFtdcQrySPBMIntraParameterField(p *C.CThostFtdcQrySPBMIntraParameterField) *CThostFtdcQrySPBMIntraParameterField

type CThostFtdcQrySPBMInvestorPortfDefField added in v0.0.3

type CThostFtdcQrySPBMInvestorPortfDefField struct {
	ExchangeID string
	BrokerID   string
	InvestorID string
}

type CThostFtdcQrySPBMOptionParameterField added in v0.0.3

type CThostFtdcQrySPBMOptionParameterField struct {
	ExchangeID     string
	InstrumentID   string
	ProdFamilyCode string
}

func NewCThostFtdcQrySPBMOptionParameterField added in v0.0.3

func NewCThostFtdcQrySPBMOptionParameterField(p *C.CThostFtdcQrySPBMOptionParameterField) *CThostFtdcQrySPBMOptionParameterField

type CThostFtdcQrySPBMPortfDefinitionField added in v0.0.3

type CThostFtdcQrySPBMPortfDefinitionField struct {
	ExchangeID     string
	PortfolioDefID int
	ProdFamilyCode string
}

func NewCThostFtdcQrySPBMPortfDefinitionField added in v0.0.3

func NewCThostFtdcQrySPBMPortfDefinitionField(p *C.CThostFtdcQrySPBMPortfDefinitionField) *CThostFtdcQrySPBMPortfDefinitionField

type CThostFtdcQrySPMMInstParamField added in v0.0.3

type CThostFtdcQrySPMMInstParamField struct {
	InstrumentID string
}

func NewCThostFtdcQrySPMMInstParamField added in v0.0.3

func NewCThostFtdcQrySPMMInstParamField(p *C.CThostFtdcQrySPMMInstParamField) *CThostFtdcQrySPMMInstParamField

type CThostFtdcQrySPMMProductParamField added in v0.0.3

type CThostFtdcQrySPMMProductParamField struct {
	ProductID string
}

func NewCThostFtdcQrySPMMProductParamField added in v0.0.3

func NewCThostFtdcQrySPMMProductParamField(p *C.CThostFtdcQrySPMMProductParamField) *CThostFtdcQrySPMMProductParamField

type CThostFtdcQrySecAgentACIDMapField

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

type CThostFtdcQrySecAgentCheckModeField

type CThostFtdcQrySecAgentCheckModeField struct {
	BrokerID   string
	InvestorID string
}

type CThostFtdcQrySecAgentTradeInfoField

type CThostFtdcQrySecAgentTradeInfoField struct {
	BrokerID         string
	BrokerSecAgentID string
}

type CThostFtdcQrySettlementInfoConfirmField

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

type CThostFtdcQrySettlementInfoField

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

type CThostFtdcQryStrikeOffsetField

type CThostFtdcQryStrikeOffsetField struct {
	BrokerID     string
	InvestorID   string
	Reserve1     string
	InstrumentID string
}

type CThostFtdcQrySuperUserField

type CThostFtdcQrySuperUserField struct {
	UserID string
}

type CThostFtdcQrySuperUserFunctionField

type CThostFtdcQrySuperUserFunctionField struct {
	UserID string
}

type CThostFtdcQrySyncDelaySwapField

type CThostFtdcQrySyncDelaySwapField struct {
	BrokerID       string
	DelaySwapSeqNo string
}

type CThostFtdcQrySyncDepositField

type CThostFtdcQrySyncDepositField struct {
	BrokerID     string
	DepositSeqNo string
}

type CThostFtdcQrySyncFundMortgageField

type CThostFtdcQrySyncFundMortgageField struct {
	BrokerID      string
	MortgageSeqNo string
}

type CThostFtdcQrySyncStatusField

type CThostFtdcQrySyncStatusField struct {
	TradingDay string
}

type CThostFtdcQryTGIpAddrParamField added in v0.0.3

type CThostFtdcQryTGIpAddrParamField struct {
	BrokerID string
	UserID   string
	AppID    string
}

func NewCThostFtdcQryTGIpAddrParamField added in v0.0.3

func NewCThostFtdcQryTGIpAddrParamField(p *C.CThostFtdcQryTGIpAddrParamField) *CThostFtdcQryTGIpAddrParamField

type CThostFtdcQryThostUserFunctionField added in v0.0.3

type CThostFtdcQryThostUserFunctionField struct {
	BrokerID string
	UserID   string
}

func NewCThostFtdcQryThostUserFunctionField added in v0.0.3

func NewCThostFtdcQryThostUserFunctionField(p *C.CThostFtdcQryThostUserFunctionField) *CThostFtdcQryThostUserFunctionField

type CThostFtdcQryTradeField

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

type CThostFtdcQryTraderAssignField added in v0.0.3

type CThostFtdcQryTraderAssignField struct {
	TraderID string
}

func NewCThostFtdcQryTraderAssignField added in v0.0.3

func NewCThostFtdcQryTraderAssignField(p *C.CThostFtdcQryTraderAssignField) *CThostFtdcQryTraderAssignField

type CThostFtdcQryTraderField

type CThostFtdcQryTraderField struct {
	ExchangeID    string
	ParticipantID string
	TraderID      string
}

type CThostFtdcQryTraderOfferField

type CThostFtdcQryTraderOfferField struct {
	ExchangeID    string
	ParticipantID string
	TraderID      string
}

type CThostFtdcQryTradingAccountField

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

type CThostFtdcQryTradingCodeField

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

type CThostFtdcQryTradingNoticeField

type CThostFtdcQryTradingNoticeField struct {
	BrokerID     string
	InvestorID   string
	InvestUnitID string
}

type CThostFtdcQryTransferBankField

type CThostFtdcQryTransferBankField struct {
	BankID     string
	BankBrchID string
}

type CThostFtdcQryTransferSerialField

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

type CThostFtdcQryUserRightsAssignField

type CThostFtdcQryUserRightsAssignField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcQryUserSessionField

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

type CThostFtdcQueryBrokerDepositField

type CThostFtdcQueryBrokerDepositField struct {
	BrokerID   string
	ExchangeID string
}

type CThostFtdcQueryCFMMCTradingAccountTokenField

type CThostFtdcQueryCFMMCTradingAccountTokenField struct {
	BrokerID     string
	InvestorID   string
	InvestUnitID string
}

type CThostFtdcQueryFreqField

type CThostFtdcQueryFreqField struct {
	QueryFreq  int
	FTDPkgFreq int
}

type CThostFtdcQuoteActionField

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

type CThostFtdcQuoteField

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

func NewCThostFtdcQuoteField

func NewCThostFtdcQuoteField(p *C.CThostFtdcQuoteField) *CThostFtdcQuoteField

type CThostFtdcRCAMSCombProductInfoField added in v0.0.3

type CThostFtdcRCAMSCombProductInfoField struct {
	TradingDay     string
	ExchangeID     string
	ProductID      string
	CombProductID  string
	ProductGroupID string
}

func NewCThostFtdcRCAMSCombProductInfoField added in v0.0.3

func NewCThostFtdcRCAMSCombProductInfoField(p *C.CThostFtdcRCAMSCombProductInfoField) *CThostFtdcRCAMSCombProductInfoField

type CThostFtdcRCAMSInstrParameterField added in v0.0.3

type CThostFtdcRCAMSInstrParameterField struct {
	TradingDay string
	ExchangeID string
	ProductID  string
	HedgeRate  float64
}

func NewCThostFtdcRCAMSInstrParameterField added in v0.0.3

func NewCThostFtdcRCAMSInstrParameterField(p *C.CThostFtdcRCAMSInstrParameterField) *CThostFtdcRCAMSInstrParameterField

type CThostFtdcRCAMSInterParameterField added in v0.0.3

type CThostFtdcRCAMSInterParameterField struct {
	TradingDay     string
	ExchangeID     string
	ProductGroupID string
	Priority       int
	CreditRate     float64
	CombProduct1   string
	CombProduct2   string
}

func NewCThostFtdcRCAMSInterParameterField added in v0.0.3

func NewCThostFtdcRCAMSInterParameterField(p *C.CThostFtdcRCAMSInterParameterField) *CThostFtdcRCAMSInterParameterField

type CThostFtdcRCAMSIntraParameterField added in v0.0.3

type CThostFtdcRCAMSIntraParameterField struct {
	TradingDay    string
	ExchangeID    string
	CombProductID string
	HedgeRate     float64
}

func NewCThostFtdcRCAMSIntraParameterField added in v0.0.3

func NewCThostFtdcRCAMSIntraParameterField(p *C.CThostFtdcRCAMSIntraParameterField) *CThostFtdcRCAMSIntraParameterField

type CThostFtdcRCAMSInvestorCombPositionField added in v0.0.3

type CThostFtdcRCAMSInvestorCombPositionField struct {
	ExchangeID       string
	BrokerID         string
	InvestorID       string
	InstrumentID     string
	HedgeFlag        byte
	PosiDirection    byte
	CombInstrumentID string
	LegID            int
	ExchangeInstID   string
	TotalAmt         int
	ExchMargin       float64
	Margin           float64
}

type CThostFtdcRCAMSShortOptAdjustParamField added in v0.0.3

type CThostFtdcRCAMSShortOptAdjustParamField struct {
	TradingDay    string
	ExchangeID    string
	CombProductID string
	HedgeFlag     byte
	AdjustValue   float64
}

type CThostFtdcRULEInstrParameterField added in v0.0.3

type CThostFtdcRULEInstrParameterField struct {
	TradingDay       string
	ExchangeID       string
	InstrumentID     string
	InstrumentClass  byte
	StdInstrumentID  string
	BSpecRatio       float64
	SSpecRatio       float64
	BHedgeRatio      float64
	SHedgeRatio      float64
	BAddOnMargin     float64
	SAddOnMargin     float64
	CommodityGroupID int
}

func NewCThostFtdcRULEInstrParameterField added in v0.0.3

func NewCThostFtdcRULEInstrParameterField(p *C.CThostFtdcRULEInstrParameterField) *CThostFtdcRULEInstrParameterField

type CThostFtdcRULEInterParameterField added in v0.0.3

type CThostFtdcRULEInterParameterField struct {
	TradingDay         string
	ExchangeID         string
	SpreadId           int
	InterRate          float64
	Leg1ProdFamilyCode string
	Leg2ProdFamilyCode string
	Leg1PropFactor     int
	Leg2PropFactor     int
	CommodityGroupID   int
	CommodityGroupName string
}

func NewCThostFtdcRULEInterParameterField added in v0.0.3

func NewCThostFtdcRULEInterParameterField(p *C.CThostFtdcRULEInterParameterField) *CThostFtdcRULEInterParameterField

type CThostFtdcRULEIntraParameterField added in v0.0.3

type CThostFtdcRULEIntraParameterField struct {
	TradingDay        string
	ExchangeID        string
	ProdFamilyCode    string
	StdInstrumentID   string
	StdInstrMargin    float64
	UsualIntraRate    float64
	DeliveryIntraRate float64
}

func NewCThostFtdcRULEIntraParameterField added in v0.0.3

func NewCThostFtdcRULEIntraParameterField(p *C.CThostFtdcRULEIntraParameterField) *CThostFtdcRULEIntraParameterField

type CThostFtdcRemoveParkedOrderActionField

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

type CThostFtdcRemoveParkedOrderField

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

type CThostFtdcReqApiHandshakeField

type CThostFtdcReqApiHandshakeField struct {
	CryptoKeyVersion string
}

type CThostFtdcReqAuthenticateField

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

type CThostFtdcReqCancelAccountField

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

type CThostFtdcReqChangeAccountField

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

type CThostFtdcReqDayEndFileReadyField

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

type CThostFtdcReqFutureSignOutField

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

type CThostFtdcReqGenUserCaptchaField

type CThostFtdcReqGenUserCaptchaField struct {
	TradingDay string
	BrokerID   string
	UserID     string
}

type CThostFtdcReqGenUserTextField

type CThostFtdcReqGenUserTextField struct {
	TradingDay string
	BrokerID   string
	UserID     string
}

type CThostFtdcReqOpenAccountField

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

type CThostFtdcReqQueryAccountField

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

type CThostFtdcReqQueryBankAccountBySecField added in v0.0.3

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

type CThostFtdcReqQueryTradeResultBySerialField

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

type CThostFtdcReqRepealField

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

type CThostFtdcReqSyncKeyField

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

type CThostFtdcReqTransferBySecField added in v0.0.3

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

func NewCThostFtdcReqTransferBySecField added in v0.0.3

func NewCThostFtdcReqTransferBySecField(p *C.CThostFtdcReqTransferBySecField) *CThostFtdcReqTransferBySecField

type CThostFtdcReqTransferField

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

type CThostFtdcReqUserAuthMethodField

type CThostFtdcReqUserAuthMethodField struct {
	TradingDay string
	BrokerID   string
	UserID     string
}

type CThostFtdcReqUserLoginField

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

type CThostFtdcReqUserLoginSMField added in v0.0.3

type CThostFtdcReqUserLoginSMField struct {
	TradingDay           string
	BrokerID             string
	UserID               string
	Password             string
	UserProductInfo      string
	InterfaceProductInfo string
	ProtocolInfo         string
	MacAddress           string
	OneTimePassword      string
	Reserve1             string
	LoginRemark          string
	ClientIPPort         int
	ClientIPAddress      string
	BrokerName           string
	AuthCode             string
	AppID                string
	PIN                  string
}

func NewCThostFtdcReqUserLoginSMField added in v0.0.3

func NewCThostFtdcReqUserLoginSMField(p *C.CThostFtdcReqUserLoginSMField) *CThostFtdcReqUserLoginSMField

type CThostFtdcReqUserLoginWithCaptchaField

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

type CThostFtdcReqUserLoginWithOTPField

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

type CThostFtdcReqUserLoginWithTextField

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

type CThostFtdcReqVerifyApiKeyField

type CThostFtdcReqVerifyApiKeyField struct {
	ApiHandshakeDataLen int
	ApiHandshakeData    string
}

type CThostFtdcReserveOpenAccountConfirmField

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

type CThostFtdcReserveOpenAccountField

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

type CThostFtdcReturnResultField

type CThostFtdcReturnResultField struct {
	ReturnCode             string
	DescrInfoForReturnCode string
}

type CThostFtdcRiskForbiddenRightField added in v0.0.3

type CThostFtdcRiskForbiddenRightField struct {
	BrokerID     string
	InvestorID   string
	InstrumentID string
	UserID       string
}

func NewCThostFtdcRiskForbiddenRightField added in v0.0.3

func NewCThostFtdcRiskForbiddenRightField(p *C.CThostFtdcRiskForbiddenRightField) *CThostFtdcRiskForbiddenRightField

type CThostFtdcRiskSettleInvstPositionField added in v0.0.3

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

type CThostFtdcRiskSettleProductStatusField added in v0.0.3

type CThostFtdcRiskSettleProductStatusField struct {
	ExchangeID    string
	ProductID     string
	ProductStatus byte
}

type CThostFtdcRspApiHandshakeField

type CThostFtdcRspApiHandshakeField struct {
	FrontHandshakeDataLen int
	FrontHandshakeData    string
	IsApiAuthEnabled      int
}

type CThostFtdcRspAuthenticateField

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

type CThostFtdcRspFutureSignInField

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

type CThostFtdcRspFutureSignOutField

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

type CThostFtdcRspGenUserCaptchaField

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

type CThostFtdcRspGenUserTextField

type CThostFtdcRspGenUserTextField struct {
	UserTextSeq int
}

type CThostFtdcRspInfoField

type CThostFtdcRspInfoField struct {
	ErrorID  int
	ErrorMsg string
}

type CThostFtdcRspQueryAccountField

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

type CThostFtdcRspQueryBankAccountBySecField added in v0.0.3

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

type CThostFtdcRspQueryTradeResultBySerialField

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

type CThostFtdcRspRepealField

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

type CThostFtdcRspSyncKeyField

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

type CThostFtdcRspTransferBySecField added in v0.0.3

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

func NewCThostFtdcRspTransferBySecField added in v0.0.3

func NewCThostFtdcRspTransferBySecField(p *C.CThostFtdcRspTransferBySecField) *CThostFtdcRspTransferBySecField

type CThostFtdcRspTransferField

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

type CThostFtdcRspUserAuthMethodField

type CThostFtdcRspUserAuthMethodField struct {
	UsableAuthMethod int
}

type CThostFtdcRspUserLogin2Field

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

type CThostFtdcRspUserLoginField

type CThostFtdcRspUserLoginField struct {
	TradingDay        string
	LoginTime         string
	BrokerID          string
	UserID            string
	SystemName        string
	FrontID           int
	SessionID         int
	MaxOrderRef       string
	SHFETime          string
	DCETime           string
	CZCETime          string
	FFEXTime          string
	INETime           string
	SysVersion        string
	GFEXTime          string
	LoginDRIdentityID int
	UserDRIdentityID  int
	LastLoginTime     string
	ReserveInfo       string
}

type CThostFtdcSPBMAddOnInterParameterField added in v0.0.3

type CThostFtdcSPBMAddOnInterParameterField struct {
	TradingDay         string
	ExchangeID         string
	SpreadId           int
	AddOnInterRateZ2   float64
	Leg1ProdFamilyCode string
	Leg2ProdFamilyCode string
}

type CThostFtdcSPBMFutureParameterField added in v0.0.3

type CThostFtdcSPBMFutureParameterField struct {
	TradingDay         string
	ExchangeID         string
	InstrumentID       string
	ProdFamilyCode     string
	Cvf                int
	TimeRange          byte
	MarginRate         float64
	LockRateX          float64
	AddOnRate          float64
	PreSettlementPrice float64
	AddOnLockRateX2    float64
}

func NewCThostFtdcSPBMFutureParameterField added in v0.0.3

func NewCThostFtdcSPBMFutureParameterField(p *C.CThostFtdcSPBMFutureParameterField) *CThostFtdcSPBMFutureParameterField

type CThostFtdcSPBMInterParameterField added in v0.0.3

type CThostFtdcSPBMInterParameterField struct {
	TradingDay         string
	ExchangeID         string
	SpreadId           int
	InterRateZ         float64
	Leg1ProdFamilyCode string
	Leg2ProdFamilyCode string
}

func NewCThostFtdcSPBMInterParameterField added in v0.0.3

func NewCThostFtdcSPBMInterParameterField(p *C.CThostFtdcSPBMInterParameterField) *CThostFtdcSPBMInterParameterField

type CThostFtdcSPBMIntraParameterField added in v0.0.3

type CThostFtdcSPBMIntraParameterField struct {
	TradingDay       string
	ExchangeID       string
	ProdFamilyCode   string
	IntraRateY       float64
	AddOnIntraRateY2 float64
}

func NewCThostFtdcSPBMIntraParameterField added in v0.0.3

func NewCThostFtdcSPBMIntraParameterField(p *C.CThostFtdcSPBMIntraParameterField) *CThostFtdcSPBMIntraParameterField

type CThostFtdcSPBMInvestorPortfDefField added in v0.0.3

type CThostFtdcSPBMInvestorPortfDefField struct {
	ExchangeID     string
	BrokerID       string
	InvestorID     string
	PortfolioDefID int
}

func NewCThostFtdcSPBMInvestorPortfDefField added in v0.0.3

func NewCThostFtdcSPBMInvestorPortfDefField(p *C.CThostFtdcSPBMInvestorPortfDefField) *CThostFtdcSPBMInvestorPortfDefField

type CThostFtdcSPBMOptionParameterField added in v0.0.3

type CThostFtdcSPBMOptionParameterField struct {
	TradingDay         string
	ExchangeID         string
	InstrumentID       string
	ProdFamilyCode     string
	Cvf                int
	DownPrice          float64
	Delta              float64
	SlimiDelta         float64
	PreSettlementPrice float64
}

func NewCThostFtdcSPBMOptionParameterField added in v0.0.3

func NewCThostFtdcSPBMOptionParameterField(p *C.CThostFtdcSPBMOptionParameterField) *CThostFtdcSPBMOptionParameterField

type CThostFtdcSPBMPortfDefinitionField added in v0.0.3

type CThostFtdcSPBMPortfDefinitionField struct {
	ExchangeID     string
	PortfolioDefID int
	ProdFamilyCode string
	IsSPBM         int
}

func NewCThostFtdcSPBMPortfDefinitionField added in v0.0.3

func NewCThostFtdcSPBMPortfDefinitionField(p *C.CThostFtdcSPBMPortfDefinitionField) *CThostFtdcSPBMPortfDefinitionField

type CThostFtdcSPMMInstParamField added in v0.0.3

type CThostFtdcSPMMInstParamField struct {
	ExchangeID       string
	InstrumentID     string
	InstMarginCalID  byte
	CommodityID      string
	CommodityGroupID string
}

func NewCThostFtdcSPMMInstParamField added in v0.0.3

func NewCThostFtdcSPMMInstParamField(p *C.CThostFtdcSPMMInstParamField) *CThostFtdcSPMMInstParamField

type CThostFtdcSPMMProductParamField added in v0.0.3

type CThostFtdcSPMMProductParamField struct {
	ExchangeID       string
	ProductID        string
	CommodityID      string
	CommodityGroupID string
}

func NewCThostFtdcSPMMProductParamField added in v0.0.3

func NewCThostFtdcSPMMProductParamField(p *C.CThostFtdcSPMMProductParamField) *CThostFtdcSPMMProductParamField

type CThostFtdcSecAgentACIDMapField

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

type CThostFtdcSecAgentCheckModeField

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

type CThostFtdcSecAgentTradeInfoField

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

type CThostFtdcSettlementInfoConfirmField

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

type CThostFtdcSettlementInfoConfirmFromSecField added in v0.0.3

type CThostFtdcSettlementInfoConfirmFromSecField struct {
	BrokerID    string
	InvestorID  string
	ConfirmDate string
	ConfirmTime string
	FromSec     int
}

type CThostFtdcSettlementInfoField

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

type CThostFtdcSettlementRefField

type CThostFtdcSettlementRefField struct {
	TradingDay   string
	SettlementID int
}

type CThostFtdcSpecificInstrumentField

type CThostFtdcSpecificInstrumentField struct {
	Reserve1     string
	InstrumentID string
}

type CThostFtdcStrikeOffsetField

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

type CThostFtdcSuperUserField

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

type CThostFtdcSuperUserFunctionField

type CThostFtdcSuperUserFunctionField struct {
	UserID       string
	FunctionCode byte
}

type CThostFtdcSyncDelaySwapField

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

type CThostFtdcSyncDelaySwapFrozenField

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

type CThostFtdcSyncDeltaDceCombInstrumentField added in v0.0.3

type CThostFtdcSyncDeltaDceCombInstrumentField struct {
	CombInstrumentID    string
	ExchangeID          string
	ExchangeInstID      string
	TradeGroupID        int
	CombHedgeFlag       byte
	CombinationType     byte
	Direction           byte
	ProductID           string
	Xparameter          float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaDepthMarketDataField added in v0.0.3

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

type CThostFtdcSyncDeltaEWarrantOffsetField added in v0.0.3

type CThostFtdcSyncDeltaEWarrantOffsetField struct {
	TradingDay          string
	BrokerID            string
	InvestorID          string
	ExchangeID          string
	InstrumentID        string
	Direction           byte
	HedgeFlag           byte
	Volume              int
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaExchMarginRateField added in v0.0.3

type CThostFtdcSyncDeltaExchMarginRateField struct {
	BrokerID                 string
	InstrumentID             string
	HedgeFlag                byte
	LongMarginRatioByMoney   float64
	LongMarginRatioByVolume  float64
	ShortMarginRatioByMoney  float64
	ShortMarginRatioByVolume float64
	ActionDirection          byte
	SyncDeltaSequenceNo      int
}

type CThostFtdcSyncDeltaIndexPriceField added in v0.0.3

type CThostFtdcSyncDeltaIndexPriceField struct {
	BrokerID            string
	InstrumentID        string
	ClosePrice          float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

func NewCThostFtdcSyncDeltaIndexPriceField added in v0.0.3

func NewCThostFtdcSyncDeltaIndexPriceField(p *C.CThostFtdcSyncDeltaIndexPriceField) *CThostFtdcSyncDeltaIndexPriceField

type CThostFtdcSyncDeltaInfoField added in v0.0.3

type CThostFtdcSyncDeltaInfoField struct {
	SyncDeltaSequenceNo int
	SyncDeltaStatus     byte
	SyncDescription     string
	IsOnlyTrdDelta      int
}

func NewCThostFtdcSyncDeltaInfoField added in v0.0.3

func NewCThostFtdcSyncDeltaInfoField(p *C.CThostFtdcSyncDeltaInfoField) *CThostFtdcSyncDeltaInfoField

type CThostFtdcSyncDeltaInitInvstMarginField added in v0.0.3

type CThostFtdcSyncDeltaInitInvstMarginField struct {
	BrokerID                     string
	InvestorID                   string
	LastRiskTotalInvstMargin     float64
	LastRiskTotalExchMargin      float64
	ThisSyncInvstMargin          float64
	ThisSyncExchMargin           float64
	RemainRiskInvstMargin        float64
	RemainRiskExchMargin         float64
	LastRiskSpecTotalInvstMargin float64
	LastRiskSpecTotalExchMargin  float64
	ThisSyncSpecInvstMargin      float64
	ThisSyncSpecExchMargin       float64
	RemainRiskSpecInvstMargin    float64
	RemainRiskSpecExchMargin     float64
	SyncDeltaSequenceNo          int
}

type CThostFtdcSyncDeltaInvestorSPMMModelField added in v0.0.3

type CThostFtdcSyncDeltaInvestorSPMMModelField struct {
	ExchangeID          string
	BrokerID            string
	InvestorID          string
	SPMMModelID         string
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaInvstCommRateField added in v0.0.3

type CThostFtdcSyncDeltaInvstCommRateField struct {
	InstrumentID            string
	InvestorRange           byte
	BrokerID                string
	InvestorID              string
	OpenRatioByMoney        float64
	OpenRatioByVolume       float64
	CloseRatioByMoney       float64
	CloseRatioByVolume      float64
	CloseTodayRatioByMoney  float64
	CloseTodayRatioByVolume float64
	ActionDirection         byte
	SyncDeltaSequenceNo     int
}

func NewCThostFtdcSyncDeltaInvstCommRateField added in v0.0.3

func NewCThostFtdcSyncDeltaInvstCommRateField(p *C.CThostFtdcSyncDeltaInvstCommRateField) *CThostFtdcSyncDeltaInvstCommRateField

type CThostFtdcSyncDeltaInvstMarginRateField added in v0.0.3

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

type CThostFtdcSyncDeltaInvstMarginRateULField added in v0.0.3

type CThostFtdcSyncDeltaInvstMarginRateULField struct {
	InstrumentID             string
	InvestorRange            byte
	BrokerID                 string
	InvestorID               string
	HedgeFlag                byte
	LongMarginRatioByMoney   float64
	LongMarginRatioByVolume  float64
	ShortMarginRatioByMoney  float64
	ShortMarginRatioByVolume float64
	ActionDirection          byte
	SyncDeltaSequenceNo      int
}

type CThostFtdcSyncDeltaInvstPosCombDtlField added in v0.0.3

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

type CThostFtdcSyncDeltaInvstPosDtlField added in v0.0.3

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

func NewCThostFtdcSyncDeltaInvstPosDtlField added in v0.0.3

func NewCThostFtdcSyncDeltaInvstPosDtlField(p *C.CThostFtdcSyncDeltaInvstPosDtlField) *CThostFtdcSyncDeltaInvstPosDtlField

type CThostFtdcSyncDeltaOptExchMarginField added in v0.0.3

type CThostFtdcSyncDeltaOptExchMarginField struct {
	BrokerID                  string
	InstrumentID              string
	SShortMarginRatioByMoney  float64
	SShortMarginRatioByVolume float64
	HShortMarginRatioByMoney  float64
	HShortMarginRatioByVolume float64
	AShortMarginRatioByMoney  float64
	AShortMarginRatioByVolume float64
	MShortMarginRatioByMoney  float64
	MShortMarginRatioByVolume float64
	ActionDirection           byte
	SyncDeltaSequenceNo       int
}

func NewCThostFtdcSyncDeltaOptExchMarginField added in v0.0.3

func NewCThostFtdcSyncDeltaOptExchMarginField(p *C.CThostFtdcSyncDeltaOptExchMarginField) *CThostFtdcSyncDeltaOptExchMarginField

type CThostFtdcSyncDeltaOptInvstCommRateField added in v0.0.3

type CThostFtdcSyncDeltaOptInvstCommRateField struct {
	InstrumentID            string
	InvestorRange           byte
	BrokerID                string
	InvestorID              string
	OpenRatioByMoney        float64
	OpenRatioByVolume       float64
	CloseRatioByMoney       float64
	CloseRatioByVolume      float64
	CloseTodayRatioByMoney  float64
	CloseTodayRatioByVolume float64
	StrikeRatioByMoney      float64
	StrikeRatioByVolume     float64
	ActionDirection         byte
	SyncDeltaSequenceNo     int
}

type CThostFtdcSyncDeltaOptInvstMarginField added in v0.0.3

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

type CThostFtdcSyncDeltaProductExchRateField added in v0.0.3

type CThostFtdcSyncDeltaProductExchRateField struct {
	ProductID           string
	QuoteCurrencyID     string
	ExchangeRate        float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaProductStatusField added in v0.0.3

type CThostFtdcSyncDeltaProductStatusField struct {
	SyncDeltaSequenceNo int
	ExchangeID          string
	ProductID           string
	ProductStatus       byte
}

func NewCThostFtdcSyncDeltaProductStatusField added in v0.0.3

func NewCThostFtdcSyncDeltaProductStatusField(p *C.CThostFtdcSyncDeltaProductStatusField) *CThostFtdcSyncDeltaProductStatusField

type CThostFtdcSyncDeltaRCAMSCombProdInfoField added in v0.0.3

type CThostFtdcSyncDeltaRCAMSCombProdInfoField struct {
	TradingDay          string
	ExchangeID          string
	ProductID           string
	CombProductID       string
	ProductGroupID      string
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaRCAMSCombRuleDtlField added in v0.0.3

type CThostFtdcSyncDeltaRCAMSCombRuleDtlField struct {
	TradingDay          string
	ExchangeID          string
	ProdGroup           string
	RuleId              string
	Priority            int
	HedgeFlag           byte
	CombMargin          float64
	ExchangeInstID      string
	LegID               int
	LegInstrumentID     string
	Direction           byte
	LegMultiple         int
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaRCAMSInstrParameterField added in v0.0.3

type CThostFtdcSyncDeltaRCAMSInstrParameterField struct {
	TradingDay          string
	ExchangeID          string
	ProductID           string
	HedgeRate           float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaRCAMSInterParameterField added in v0.0.3

type CThostFtdcSyncDeltaRCAMSInterParameterField struct {
	TradingDay          string
	ExchangeID          string
	ProductGroupID      string
	Priority            int
	CreditRate          float64
	CombProduct1        string
	CombProduct2        string
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaRCAMSIntraParameterField added in v0.0.3

type CThostFtdcSyncDeltaRCAMSIntraParameterField struct {
	TradingDay          string
	ExchangeID          string
	CombProductID       string
	HedgeRate           float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaRCAMSInvstCombPosField added in v0.0.3

type CThostFtdcSyncDeltaRCAMSInvstCombPosField struct {
	ExchangeID          string
	BrokerID            string
	InvestorID          string
	InstrumentID        string
	HedgeFlag           byte
	PosiDirection       byte
	CombInstrumentID    string
	LegID               int
	ExchangeInstID      string
	TotalAmt            int
	ExchMargin          float64
	Margin              float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaRCAMSSOptAdjParamField added in v0.0.3

type CThostFtdcSyncDeltaRCAMSSOptAdjParamField struct {
	TradingDay          string
	ExchangeID          string
	CombProductID       string
	HedgeFlag           byte
	AdjustValue         float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaRULEInstrParameterField added in v0.0.3

type CThostFtdcSyncDeltaRULEInstrParameterField struct {
	TradingDay          string
	ExchangeID          string
	InstrumentID        string
	InstrumentClass     byte
	StdInstrumentID     string
	BSpecRatio          float64
	SSpecRatio          float64
	BHedgeRatio         float64
	SHedgeRatio         float64
	BAddOnMargin        float64
	SAddOnMargin        float64
	CommodityGroupID    int
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaRULEInterParameterField added in v0.0.3

type CThostFtdcSyncDeltaRULEInterParameterField struct {
	TradingDay          string
	ExchangeID          string
	SpreadId            int
	InterRate           float64
	Leg1ProdFamilyCode  string
	Leg2ProdFamilyCode  string
	Leg1PropFactor      int
	Leg2PropFactor      int
	CommodityGroupID    int
	CommodityGroupName  string
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaRULEIntraParameterField added in v0.0.3

type CThostFtdcSyncDeltaRULEIntraParameterField struct {
	TradingDay          string
	ExchangeID          string
	ProdFamilyCode      string
	StdInstrumentID     string
	StdInstrMargin      float64
	UsualIntraRate      float64
	DeliveryIntraRate   float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaSPBMAddOnInterParamField added in v0.0.3

type CThostFtdcSyncDeltaSPBMAddOnInterParamField struct {
	TradingDay          string
	ExchangeID          string
	SpreadId            int
	AddOnInterRateZ2    float64
	Leg1ProdFamilyCode  string
	Leg2ProdFamilyCode  string
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaSPBMFutureParameterField added in v0.0.3

type CThostFtdcSyncDeltaSPBMFutureParameterField struct {
	TradingDay          string
	ExchangeID          string
	InstrumentID        string
	ProdFamilyCode      string
	Cvf                 int
	TimeRange           byte
	MarginRate          float64
	LockRateX           float64
	AddOnRate           float64
	PreSettlementPrice  float64
	AddOnLockRateX2     float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaSPBMInterParameterField added in v0.0.3

type CThostFtdcSyncDeltaSPBMInterParameterField struct {
	TradingDay          string
	ExchangeID          string
	SpreadId            int
	InterRateZ          float64
	Leg1ProdFamilyCode  string
	Leg2ProdFamilyCode  string
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaSPBMIntraParameterField added in v0.0.3

type CThostFtdcSyncDeltaSPBMIntraParameterField struct {
	TradingDay          string
	ExchangeID          string
	ProdFamilyCode      string
	IntraRateY          float64
	AddOnIntraRateY2    float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaSPBMInvstPortfDefField added in v0.0.3

type CThostFtdcSyncDeltaSPBMInvstPortfDefField struct {
	ExchangeID          string
	BrokerID            string
	InvestorID          string
	PortfolioDefID      int
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaSPBMOptionParameterField added in v0.0.3

type CThostFtdcSyncDeltaSPBMOptionParameterField struct {
	TradingDay          string
	ExchangeID          string
	InstrumentID        string
	ProdFamilyCode      string
	Cvf                 int
	DownPrice           float64
	Delta               float64
	SlimiDelta          float64
	PreSettlementPrice  float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaSPBMPortfDefinitionField added in v0.0.3

type CThostFtdcSyncDeltaSPBMPortfDefinitionField struct {
	ExchangeID          string
	PortfolioDefID      int
	ProdFamilyCode      string
	IsSPBM              int
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaSPMMInstParamField added in v0.0.3

type CThostFtdcSyncDeltaSPMMInstParamField struct {
	ExchangeID          string
	InstrumentID        string
	InstMarginCalID     byte
	CommodityID         string
	CommodityGroupID    string
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

func NewCThostFtdcSyncDeltaSPMMInstParamField added in v0.0.3

func NewCThostFtdcSyncDeltaSPMMInstParamField(p *C.CThostFtdcSyncDeltaSPMMInstParamField) *CThostFtdcSyncDeltaSPMMInstParamField

type CThostFtdcSyncDeltaSPMMModelParamField added in v0.0.3

type CThostFtdcSyncDeltaSPMMModelParamField struct {
	ExchangeID          string
	SPMMModelID         string
	CommodityGroupID    string
	IntraCommodityRate  float64
	InterCommodityRate  float64
	OptionDiscountRate  float64
	MiniMarginRatio     float64
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaSPMMProductParamField added in v0.0.3

type CThostFtdcSyncDeltaSPMMProductParamField struct {
	ExchangeID          string
	ProductID           string
	CommodityID         string
	CommodityGroupID    string
	ActionDirection     byte
	SyncDeltaSequenceNo int
}

type CThostFtdcSyncDeltaTradingAccountField added in v0.0.3

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

type CThostFtdcSyncDepositField

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

type CThostFtdcSyncFundMortgageField

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

type CThostFtdcSyncSPBMParameterEndField added in v0.0.3

type CThostFtdcSyncSPBMParameterEndField struct {
	TradingDay string
}

func NewCThostFtdcSyncSPBMParameterEndField added in v0.0.3

func NewCThostFtdcSyncSPBMParameterEndField(p *C.CThostFtdcSyncSPBMParameterEndField) *CThostFtdcSyncSPBMParameterEndField

type CThostFtdcSyncStatusField

type CThostFtdcSyncStatusField struct {
	TradingDay     string
	DataSyncStatus byte
}

type CThostFtdcSyncingInstrumentCommissionRateField

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

type CThostFtdcSyncingInstrumentMarginRateField

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

type CThostFtdcSyncingInstrumentTradingRightField

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

type CThostFtdcSyncingInvestorField

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

type CThostFtdcSyncingInvestorGroupField

type CThostFtdcSyncingInvestorGroupField struct {
	BrokerID          string
	InvestorGroupID   string
	InvestorGroupName string
}

type CThostFtdcSyncingInvestorPositionField

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

type CThostFtdcSyncingTradingAccountField

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

type CThostFtdcSyncingTradingCodeField

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

type CThostFtdcTGIpAddrParamField added in v0.0.3

type CThostFtdcTGIpAddrParamField struct {
	BrokerID       string
	UserID         string
	Address        string
	DRIdentityID   int
	DRIdentityName string
	AddrSrvMode    byte
	AddrVer        byte
	AddrNo         int
	AddrName       string
	IsSM           int
	IsLocalAddr    int
	Remark         string
	Site           string
	NetOperator    string
}

func NewCThostFtdcTGIpAddrParamField added in v0.0.3

func NewCThostFtdcTGIpAddrParamField(p *C.CThostFtdcTGIpAddrParamField) *CThostFtdcTGIpAddrParamField

type CThostFtdcTGSessionQryStatusField added in v0.0.3

type CThostFtdcTGSessionQryStatusField struct {
	LastQryFreq int
	QryStatus   byte
}

func NewCThostFtdcTGSessionQryStatusField added in v0.0.3

func NewCThostFtdcTGSessionQryStatusField(p *C.CThostFtdcTGSessionQryStatusField) *CThostFtdcTGSessionQryStatusField

type CThostFtdcThostUserFunctionField added in v0.0.3

type CThostFtdcThostUserFunctionField struct {
	BrokerID          string
	UserID            string
	ThostFunctionCode int
}

func NewCThostFtdcThostUserFunctionField added in v0.0.3

func NewCThostFtdcThostUserFunctionField(p *C.CThostFtdcThostUserFunctionField) *CThostFtdcThostUserFunctionField

type CThostFtdcTradeField

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

func NewCThostFtdcTradeField

func NewCThostFtdcTradeField(p *C.CThostFtdcTradeField) *CThostFtdcTradeField

type CThostFtdcTradeParamField

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

type CThostFtdcTraderApi

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

func TdCreateFtdcTraderApi

func TdCreateFtdcTraderApi(pszFlowPath string, bIsProductionMode bool) *CThostFtdcTraderApi

func (*CThostFtdcTraderApi) GetFrontInfo added in v0.0.3

func (a *CThostFtdcTraderApi) GetFrontInfo(pFrontInfo *CThostFtdcFrontInfoField)

func (*CThostFtdcTraderApi) GetTradingDay

func (a *CThostFtdcTraderApi) GetTradingDay() string

func (*CThostFtdcTraderApi) Init

func (a *CThostFtdcTraderApi) Init()

func (*CThostFtdcTraderApi) Join

func (a *CThostFtdcTraderApi) Join() int

func (*CThostFtdcTraderApi) RegisterFensUserInfo

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

func (*CThostFtdcTraderApi) RegisterFront

func (a *CThostFtdcTraderApi) RegisterFront(pszFrontAddress string)

func (*CThostFtdcTraderApi) RegisterNameServer

func (a *CThostFtdcTraderApi) RegisterNameServer(pszNsAddress string)

func (*CThostFtdcTraderApi) RegisterSpi

func (a *CThostFtdcTraderApi) RegisterSpi(pSpi CThostFtdcTraderSpi)

func (*CThostFtdcTraderApi) RegisterUserSystemInfo

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

func (*CThostFtdcTraderApi) RegisterWechatUserSystemInfo added in v0.0.4

func (a *CThostFtdcTraderApi) RegisterWechatUserSystemInfo(pUserSystemInfo *CThostFtdcWechatUserSystemInfoField) int

func (*CThostFtdcTraderApi) Release

func (a *CThostFtdcTraderApi) Release()

func (*CThostFtdcTraderApi) ReqAuthenticate

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

func (*CThostFtdcTraderApi) ReqBatchOrderAction

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

func (*CThostFtdcTraderApi) ReqCancelOffsetSetting added in v0.0.4

func (a *CThostFtdcTraderApi) ReqCancelOffsetSetting(pInputOffsetSetting *CThostFtdcInputOffsetSettingField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqCombActionInsert

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

func (*CThostFtdcTraderApi) ReqExecOrderAction

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

func (*CThostFtdcTraderApi) ReqExecOrderInsert

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

func (*CThostFtdcTraderApi) ReqForQuoteInsert

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

func (*CThostFtdcTraderApi) ReqFromBankToFutureByFuture

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

func (*CThostFtdcTraderApi) ReqFromFutureToBankByFuture

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

func (*CThostFtdcTraderApi) ReqGenUserCaptcha

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

func (*CThostFtdcTraderApi) ReqGenUserText

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

func (*CThostFtdcTraderApi) ReqOffsetSetting added in v0.0.4

func (a *CThostFtdcTraderApi) ReqOffsetSetting(pInputOffsetSetting *CThostFtdcInputOffsetSettingField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqOptionSelfCloseAction

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

func (*CThostFtdcTraderApi) ReqOptionSelfCloseInsert

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

func (*CThostFtdcTraderApi) ReqOrderAction

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

func (*CThostFtdcTraderApi) ReqOrderInsert

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

func (*CThostFtdcTraderApi) ReqParkedOrderAction

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

func (*CThostFtdcTraderApi) ReqParkedOrderInsert

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

func (*CThostFtdcTraderApi) ReqQryAccountregister

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

func (*CThostFtdcTraderApi) ReqQryBrokerTradingAlgos

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

func (*CThostFtdcTraderApi) ReqQryBrokerTradingParams

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

func (*CThostFtdcTraderApi) ReqQryCFMMCTradingAccountKey

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

func (*CThostFtdcTraderApi) ReqQryClassifiedInstrument added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryClassifiedInstrument(pQryClassifiedInstrument *CThostFtdcQryClassifiedInstrumentField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryCombAction

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

func (*CThostFtdcTraderApi) ReqQryCombInstrumentGuard

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

func (*CThostFtdcTraderApi) ReqQryCombLeg added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryCombLeg(pQryCombLeg *CThostFtdcQryCombLegField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryCombPromotionParam added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryCombPromotionParam(pQryCombPromotionParam *CThostFtdcQryCombPromotionParamField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryContractBank

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

func (*CThostFtdcTraderApi) ReqQryDepthMarketData

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

func (*CThostFtdcTraderApi) ReqQryEWarrantOffset

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

func (*CThostFtdcTraderApi) ReqQryExchange

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

func (*CThostFtdcTraderApi) ReqQryExchangeMarginRate

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

func (*CThostFtdcTraderApi) ReqQryExchangeMarginRateAdjust

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

func (*CThostFtdcTraderApi) ReqQryExchangeRate

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

func (*CThostFtdcTraderApi) ReqQryExecOrder

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

func (*CThostFtdcTraderApi) ReqQryForQuote

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

func (*CThostFtdcTraderApi) ReqQryInstrument

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

func (*CThostFtdcTraderApi) ReqQryInstrumentCommissionRate

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

func (*CThostFtdcTraderApi) ReqQryInstrumentMarginRate

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

func (*CThostFtdcTraderApi) ReqQryInstrumentOrderCommRate

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

func (*CThostFtdcTraderApi) ReqQryInvestUnit

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

func (*CThostFtdcTraderApi) ReqQryInvestor

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

func (*CThostFtdcTraderApi) ReqQryInvestorCommodityGroupSPMMMargin added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryInvestorCommodityGroupSPMMMargin(pQryInvestorCommodityGroupSPMMMargin *CThostFtdcQryInvestorCommodityGroupSPMMMarginField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorCommoditySPMMMargin added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryInvestorCommoditySPMMMargin(pQryInvestorCommoditySPMMMargin *CThostFtdcQryInvestorCommoditySPMMMarginField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorInfoCommRec added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryInvestorInfoCommRec(pQryInvestorInfoCommRec *CThostFtdcQryInvestorInfoCommRecField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorPortfMarginRatio added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryInvestorPortfMarginRatio(pQryInvestorPortfMarginRatio *CThostFtdcQryInvestorPortfMarginRatioField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorPortfSetting added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryInvestorPortfSetting(pQryInvestorPortfSetting *CThostFtdcQryInvestorPortfSettingField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorPosition

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

func (*CThostFtdcTraderApi) ReqQryInvestorPositionCombineDetail

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

func (*CThostFtdcTraderApi) ReqQryInvestorPositionDetail

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

func (*CThostFtdcTraderApi) ReqQryInvestorProdRCAMSMargin added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryInvestorProdRCAMSMargin(pQryInvestorProdRCAMSMargin *CThostFtdcQryInvestorProdRCAMSMarginField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorProdRULEMargin added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryInvestorProdRULEMargin(pQryInvestorProdRULEMargin *CThostFtdcQryInvestorProdRULEMarginField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorProdSPBMDetail added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryInvestorProdSPBMDetail(pQryInvestorProdSPBMDetail *CThostFtdcQryInvestorProdSPBMDetailField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryInvestorProductGroupMargin

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

func (*CThostFtdcTraderApi) ReqQryMMInstrumentCommissionRate

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

func (*CThostFtdcTraderApi) ReqQryMMOptionInstrCommRate

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

func (*CThostFtdcTraderApi) ReqQryMaxOrderVolume added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryMaxOrderVolume(pQryMaxOrderVolume *CThostFtdcQryMaxOrderVolumeField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryNotice

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

func (*CThostFtdcTraderApi) ReqQryOffsetSetting added in v0.0.4

func (a *CThostFtdcTraderApi) ReqQryOffsetSetting(pQryOffsetSetting *CThostFtdcQryOffsetSettingField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryOptionInstrCommRate

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

func (*CThostFtdcTraderApi) ReqQryOptionInstrTradeCost

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

func (*CThostFtdcTraderApi) ReqQryOptionSelfClose

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

func (*CThostFtdcTraderApi) ReqQryOrder

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

func (*CThostFtdcTraderApi) ReqQryParkedOrder

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

func (*CThostFtdcTraderApi) ReqQryParkedOrderAction

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

func (*CThostFtdcTraderApi) ReqQryProduct

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

func (*CThostFtdcTraderApi) ReqQryProductExchRate

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

func (*CThostFtdcTraderApi) ReqQryProductGroup

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

func (*CThostFtdcTraderApi) ReqQryQuote

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

func (*CThostFtdcTraderApi) ReqQryRCAMSCombProductInfo added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryRCAMSCombProductInfo(pQryRCAMSCombProductInfo *CThostFtdcQryRCAMSCombProductInfoField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryRCAMSInstrParameter added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryRCAMSInstrParameter(pQryRCAMSInstrParameter *CThostFtdcQryRCAMSInstrParameterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryRCAMSInterParameter added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryRCAMSInterParameter(pQryRCAMSInterParameter *CThostFtdcQryRCAMSInterParameterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryRCAMSIntraParameter added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryRCAMSIntraParameter(pQryRCAMSIntraParameter *CThostFtdcQryRCAMSIntraParameterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryRCAMSInvestorCombPosition added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryRCAMSInvestorCombPosition(pQryRCAMSInvestorCombPosition *CThostFtdcQryRCAMSInvestorCombPositionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryRCAMSShortOptAdjustParam added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryRCAMSShortOptAdjustParam(pQryRCAMSShortOptAdjustParam *CThostFtdcQryRCAMSShortOptAdjustParamField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryRULEInstrParameter added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryRULEInstrParameter(pQryRULEInstrParameter *CThostFtdcQryRULEInstrParameterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryRULEInterParameter added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryRULEInterParameter(pQryRULEInterParameter *CThostFtdcQryRULEInterParameterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryRULEIntraParameter added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryRULEIntraParameter(pQryRULEIntraParameter *CThostFtdcQryRULEIntraParameterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryRiskSettleInvstPosition added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryRiskSettleInvstPosition(pQryRiskSettleInvstPosition *CThostFtdcQryRiskSettleInvstPositionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryRiskSettleProductStatus added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryRiskSettleProductStatus(pQryRiskSettleProductStatus *CThostFtdcQryRiskSettleProductStatusField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySPBMAddOnInterParameter added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQrySPBMAddOnInterParameter(pQrySPBMAddOnInterParameter *CThostFtdcQrySPBMAddOnInterParameterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySPBMFutureParameter added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQrySPBMFutureParameter(pQrySPBMFutureParameter *CThostFtdcQrySPBMFutureParameterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySPBMInterParameter added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQrySPBMInterParameter(pQrySPBMInterParameter *CThostFtdcQrySPBMInterParameterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySPBMIntraParameter added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQrySPBMIntraParameter(pQrySPBMIntraParameter *CThostFtdcQrySPBMIntraParameterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySPBMInvestorPortfDef added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQrySPBMInvestorPortfDef(pQrySPBMInvestorPortfDef *CThostFtdcQrySPBMInvestorPortfDefField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySPBMOptionParameter added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQrySPBMOptionParameter(pQrySPBMOptionParameter *CThostFtdcQrySPBMOptionParameterField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySPBMPortfDefinition added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQrySPBMPortfDefinition(pQrySPBMPortfDefinition *CThostFtdcQrySPBMPortfDefinitionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySPMMInstParam added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQrySPMMInstParam(pQrySPMMInstParam *CThostFtdcQrySPMMInstParamField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySPMMProductParam added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQrySPMMProductParam(pQrySPMMProductParam *CThostFtdcQrySPMMProductParamField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQrySecAgentACIDMap

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

func (*CThostFtdcTraderApi) ReqQrySecAgentCheckMode

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

func (*CThostFtdcTraderApi) ReqQrySecAgentTradeInfo

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

func (*CThostFtdcTraderApi) ReqQrySecAgentTradingAccount

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

func (*CThostFtdcTraderApi) ReqQrySettlementInfo

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

func (*CThostFtdcTraderApi) ReqQrySettlementInfoConfirm

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

func (*CThostFtdcTraderApi) ReqQryTrade

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

func (*CThostFtdcTraderApi) ReqQryTraderOffer added in v0.0.3

func (a *CThostFtdcTraderApi) ReqQryTraderOffer(pQryTraderOffer *CThostFtdcQryTraderOfferField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQryTradingAccount

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

func (*CThostFtdcTraderApi) ReqQryTradingCode

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

func (*CThostFtdcTraderApi) ReqQryTradingNotice

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

func (*CThostFtdcTraderApi) ReqQryTransferBank

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

func (*CThostFtdcTraderApi) ReqQryTransferSerial

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

func (*CThostFtdcTraderApi) ReqQryUserSession added in v0.0.4

func (a *CThostFtdcTraderApi) ReqQryUserSession(pQryUserSession *CThostFtdcQryUserSessionField, nRequestID int) int

func (*CThostFtdcTraderApi) ReqQueryBankAccountMoneyByFuture

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

func (*CThostFtdcTraderApi) ReqQueryCFMMCTradingAccountToken

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

func (*CThostFtdcTraderApi) ReqQuoteAction

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

func (*CThostFtdcTraderApi) ReqQuoteInsert

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

func (*CThostFtdcTraderApi) ReqRemoveParkedOrder

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

func (*CThostFtdcTraderApi) ReqRemoveParkedOrderAction

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

func (*CThostFtdcTraderApi) ReqSettlementInfoConfirm

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

func (*CThostFtdcTraderApi) ReqTradingAccountPasswordUpdate

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

func (*CThostFtdcTraderApi) ReqUserAuthMethod

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

func (*CThostFtdcTraderApi) ReqUserLogin

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

func (*CThostFtdcTraderApi) ReqUserLoginWithCaptcha

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

func (*CThostFtdcTraderApi) ReqUserLoginWithOTP

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

func (*CThostFtdcTraderApi) ReqUserLoginWithText

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

func (*CThostFtdcTraderApi) ReqUserLogout

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

func (*CThostFtdcTraderApi) ReqUserPasswordUpdate

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

func (*CThostFtdcTraderApi) SubmitUserSystemInfo

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

func (*CThostFtdcTraderApi) SubmitWechatUserSystemInfo added in v0.0.4

func (a *CThostFtdcTraderApi) SubmitWechatUserSystemInfo(pUserSystemInfo *CThostFtdcWechatUserSystemInfoField) int

func (*CThostFtdcTraderApi) SubscribePrivateTopic

func (a *CThostFtdcTraderApi) SubscribePrivateTopic(nResumeType THOST_TE_RESUME_TYPE)

func (*CThostFtdcTraderApi) SubscribePublicTopic

func (a *CThostFtdcTraderApi) SubscribePublicTopic(nResumeType THOST_TE_RESUME_TYPE)

type CThostFtdcTraderAssignField added in v0.0.3

type CThostFtdcTraderAssignField struct {
	BrokerID      string
	ExchangeID    string
	TraderID      string
	ParticipantID string
	DRIdentityID  int
}

func NewCThostFtdcTraderAssignField added in v0.0.3

func NewCThostFtdcTraderAssignField(p *C.CThostFtdcTraderAssignField) *CThostFtdcTraderAssignField

type CThostFtdcTraderField

type CThostFtdcTraderField struct {
	ExchangeID        string
	TraderID          string
	ParticipantID     string
	Password          string
	InstallCount      int
	BrokerID          string
	OrderCancelAlg    byte
	TradeInstallCount int
	MDInstallCount    int
}

func NewCThostFtdcTraderField

func NewCThostFtdcTraderField(p *C.CThostFtdcTraderField) *CThostFtdcTraderField

type CThostFtdcTraderOfferField

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

type CThostFtdcTraderSpi

type CThostFtdcTraderSpi interface {
	OnFrontConnected()
	OnFrontDisconnected(nReason int)
	OnHeartBeatWarning(nTimeLapse int)
	OnRspAuthenticate(pRspAuthenticateField *CThostFtdcRspAuthenticateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspUserLogin(pRspUserLogin *CThostFtdcRspUserLoginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspUserLogout(pUserLogout *CThostFtdcUserLogoutField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspUserPasswordUpdate(pUserPasswordUpdate *CThostFtdcUserPasswordUpdateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspTradingAccountPasswordUpdate(pTradingAccountPasswordUpdate *CThostFtdcTradingAccountPasswordUpdateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspUserAuthMethod(pRspUserAuthMethod *CThostFtdcRspUserAuthMethodField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspGenUserCaptcha(pRspGenUserCaptcha *CThostFtdcRspGenUserCaptchaField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspGenUserText(pRspGenUserText *CThostFtdcRspGenUserTextField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspOrderInsert(pInputOrder *CThostFtdcInputOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspParkedOrderInsert(pParkedOrder *CThostFtdcParkedOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspParkedOrderAction(pParkedOrderAction *CThostFtdcParkedOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspOrderAction(pInputOrderAction *CThostFtdcInputOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryMaxOrderVolume(pQryMaxOrderVolume *CThostFtdcQryMaxOrderVolumeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspSettlementInfoConfirm(pSettlementInfoConfirm *CThostFtdcSettlementInfoConfirmField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspRemoveParkedOrder(pRemoveParkedOrder *CThostFtdcRemoveParkedOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspRemoveParkedOrderAction(pRemoveParkedOrderAction *CThostFtdcRemoveParkedOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspExecOrderInsert(pInputExecOrder *CThostFtdcInputExecOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspExecOrderAction(pInputExecOrderAction *CThostFtdcInputExecOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspForQuoteInsert(pInputForQuote *CThostFtdcInputForQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQuoteInsert(pInputQuote *CThostFtdcInputQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQuoteAction(pInputQuoteAction *CThostFtdcInputQuoteActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspBatchOrderAction(pInputBatchOrderAction *CThostFtdcInputBatchOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspOptionSelfCloseInsert(pInputOptionSelfClose *CThostFtdcInputOptionSelfCloseField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspOptionSelfCloseAction(pInputOptionSelfCloseAction *CThostFtdcInputOptionSelfCloseActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspCombActionInsert(pInputCombAction *CThostFtdcInputCombActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryOrder(pOrder *CThostFtdcOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTrade(pTrade *CThostFtdcTradeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorPosition(pInvestorPosition *CThostFtdcInvestorPositionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTradingAccount(pTradingAccount *CThostFtdcTradingAccountField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestor(pInvestor *CThostFtdcInvestorField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTradingCode(pTradingCode *CThostFtdcTradingCodeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInstrumentMarginRate(pInstrumentMarginRate *CThostFtdcInstrumentMarginRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInstrumentCommissionRate(pInstrumentCommissionRate *CThostFtdcInstrumentCommissionRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryUserSession(pUserSession *CThostFtdcUserSessionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryExchange(pExchange *CThostFtdcExchangeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryProduct(pProduct *CThostFtdcProductField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInstrument(pInstrument *CThostFtdcInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryDepthMarketData(pDepthMarketData *CThostFtdcDepthMarketDataField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTraderOffer(pTraderOffer *CThostFtdcTraderOfferField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySettlementInfo(pSettlementInfo *CThostFtdcSettlementInfoField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTransferBank(pTransferBank *CThostFtdcTransferBankField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorPositionDetail(pInvestorPositionDetail *CThostFtdcInvestorPositionDetailField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryNotice(pNotice *CThostFtdcNoticeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySettlementInfoConfirm(pSettlementInfoConfirm *CThostFtdcSettlementInfoConfirmField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorPositionCombineDetail(pInvestorPositionCombineDetail *CThostFtdcInvestorPositionCombineDetailField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryCFMMCTradingAccountKey(pCFMMCTradingAccountKey *CThostFtdcCFMMCTradingAccountKeyField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryEWarrantOffset(pEWarrantOffset *CThostFtdcEWarrantOffsetField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorProductGroupMargin(pInvestorProductGroupMargin *CThostFtdcInvestorProductGroupMarginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryExchangeMarginRate(pExchangeMarginRate *CThostFtdcExchangeMarginRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryExchangeMarginRateAdjust(pExchangeMarginRateAdjust *CThostFtdcExchangeMarginRateAdjustField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryExchangeRate(pExchangeRate *CThostFtdcExchangeRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySecAgentACIDMap(pSecAgentACIDMap *CThostFtdcSecAgentACIDMapField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryProductExchRate(pProductExchRate *CThostFtdcProductExchRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryProductGroup(pProductGroup *CThostFtdcProductGroupField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryMMInstrumentCommissionRate(pMMInstrumentCommissionRate *CThostFtdcMMInstrumentCommissionRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryMMOptionInstrCommRate(pMMOptionInstrCommRate *CThostFtdcMMOptionInstrCommRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInstrumentOrderCommRate(pInstrumentOrderCommRate *CThostFtdcInstrumentOrderCommRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySecAgentTradingAccount(pTradingAccount *CThostFtdcTradingAccountField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySecAgentCheckMode(pSecAgentCheckMode *CThostFtdcSecAgentCheckModeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySecAgentTradeInfo(pSecAgentTradeInfo *CThostFtdcSecAgentTradeInfoField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryOptionInstrTradeCost(pOptionInstrTradeCost *CThostFtdcOptionInstrTradeCostField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryOptionInstrCommRate(pOptionInstrCommRate *CThostFtdcOptionInstrCommRateField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryExecOrder(pExecOrder *CThostFtdcExecOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryForQuote(pForQuote *CThostFtdcForQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryQuote(pQuote *CThostFtdcQuoteField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryOptionSelfClose(pOptionSelfClose *CThostFtdcOptionSelfCloseField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestUnit(pInvestUnit *CThostFtdcInvestUnitField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryCombInstrumentGuard(pCombInstrumentGuard *CThostFtdcCombInstrumentGuardField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryCombAction(pCombAction *CThostFtdcCombActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTransferSerial(pTransferSerial *CThostFtdcTransferSerialField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryAccountregister(pAccountregister *CThostFtdcAccountregisterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspError(pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRtnOrder(pOrder *CThostFtdcOrderField)
	OnRtnTrade(pTrade *CThostFtdcTradeField)
	OnErrRtnOrderInsert(pInputOrder *CThostFtdcInputOrderField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnOrderAction(pOrderAction *CThostFtdcOrderActionField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnInstrumentStatus(pInstrumentStatus *CThostFtdcInstrumentStatusField)
	OnRtnBulletin(pBulletin *CThostFtdcBulletinField)
	OnRtnTradingNotice(pTradingNoticeInfo *CThostFtdcTradingNoticeInfoField)
	OnRtnErrorConditionalOrder(pErrorConditionalOrder *CThostFtdcErrorConditionalOrderField)
	OnRtnExecOrder(pExecOrder *CThostFtdcExecOrderField)
	OnErrRtnExecOrderInsert(pInputExecOrder *CThostFtdcInputExecOrderField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnExecOrderAction(pExecOrderAction *CThostFtdcExecOrderActionField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnForQuoteInsert(pInputForQuote *CThostFtdcInputForQuoteField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnQuote(pQuote *CThostFtdcQuoteField)
	OnErrRtnQuoteInsert(pInputQuote *CThostFtdcInputQuoteField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnQuoteAction(pQuoteAction *CThostFtdcQuoteActionField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnForQuoteRsp(pForQuoteRsp *CThostFtdcForQuoteRspField)
	OnRtnCFMMCTradingAccountToken(pCFMMCTradingAccountToken *CThostFtdcCFMMCTradingAccountTokenField)
	OnErrRtnBatchOrderAction(pBatchOrderAction *CThostFtdcBatchOrderActionField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnOptionSelfClose(pOptionSelfClose *CThostFtdcOptionSelfCloseField)
	OnErrRtnOptionSelfCloseInsert(pInputOptionSelfClose *CThostFtdcInputOptionSelfCloseField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnOptionSelfCloseAction(pOptionSelfCloseAction *CThostFtdcOptionSelfCloseActionField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnCombAction(pCombAction *CThostFtdcCombActionField)
	OnErrRtnCombActionInsert(pInputCombAction *CThostFtdcInputCombActionField, pRspInfo *CThostFtdcRspInfoField)
	OnRspQryContractBank(pContractBank *CThostFtdcContractBankField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryParkedOrder(pParkedOrder *CThostFtdcParkedOrderField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryParkedOrderAction(pParkedOrderAction *CThostFtdcParkedOrderActionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryTradingNotice(pTradingNotice *CThostFtdcTradingNoticeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryBrokerTradingParams(pBrokerTradingParams *CThostFtdcBrokerTradingParamsField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryBrokerTradingAlgos(pBrokerTradingAlgos *CThostFtdcBrokerTradingAlgosField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQueryCFMMCTradingAccountToken(pQueryCFMMCTradingAccountToken *CThostFtdcQueryCFMMCTradingAccountTokenField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRtnFromBankToFutureByBank(pRspTransfer *CThostFtdcRspTransferField)
	OnRtnFromFutureToBankByBank(pRspTransfer *CThostFtdcRspTransferField)
	OnRtnRepealFromBankToFutureByBank(pRspRepeal *CThostFtdcRspRepealField)
	OnRtnRepealFromFutureToBankByBank(pRspRepeal *CThostFtdcRspRepealField)
	OnRtnFromBankToFutureByFuture(pRspTransfer *CThostFtdcRspTransferField)
	OnRtnFromFutureToBankByFuture(pRspTransfer *CThostFtdcRspTransferField)
	OnRtnRepealFromBankToFutureByFutureManual(pRspRepeal *CThostFtdcRspRepealField)
	OnRtnRepealFromFutureToBankByFutureManual(pRspRepeal *CThostFtdcRspRepealField)
	OnRtnQueryBankBalanceByFuture(pNotifyQueryAccount *CThostFtdcNotifyQueryAccountField)
	OnErrRtnBankToFutureByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnFutureToBankByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnRepealBankToFutureByFutureManual(pReqRepeal *CThostFtdcReqRepealField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnRepealFutureToBankByFutureManual(pReqRepeal *CThostFtdcReqRepealField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnQueryBankBalanceByFuture(pReqQueryAccount *CThostFtdcReqQueryAccountField, pRspInfo *CThostFtdcRspInfoField)
	OnRtnRepealFromBankToFutureByFuture(pRspRepeal *CThostFtdcRspRepealField)
	OnRtnRepealFromFutureToBankByFuture(pRspRepeal *CThostFtdcRspRepealField)
	OnRspFromBankToFutureByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspFromFutureToBankByFuture(pReqTransfer *CThostFtdcReqTransferField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQueryBankAccountMoneyByFuture(pReqQueryAccount *CThostFtdcReqQueryAccountField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRtnOpenAccountByBank(pOpenAccount *CThostFtdcOpenAccountField)
	OnRtnCancelAccountByBank(pCancelAccount *CThostFtdcCancelAccountField)
	OnRtnChangeAccountByBank(pChangeAccount *CThostFtdcChangeAccountField)
	OnRspQryClassifiedInstrument(pInstrument *CThostFtdcInstrumentField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryCombPromotionParam(pCombPromotionParam *CThostFtdcCombPromotionParamField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryRiskSettleInvstPosition(pRiskSettleInvstPosition *CThostFtdcRiskSettleInvstPositionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryRiskSettleProductStatus(pRiskSettleProductStatus *CThostFtdcRiskSettleProductStatusField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySPBMFutureParameter(pSPBMFutureParameter *CThostFtdcSPBMFutureParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySPBMOptionParameter(pSPBMOptionParameter *CThostFtdcSPBMOptionParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySPBMIntraParameter(pSPBMIntraParameter *CThostFtdcSPBMIntraParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySPBMInterParameter(pSPBMInterParameter *CThostFtdcSPBMInterParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySPBMPortfDefinition(pSPBMPortfDefinition *CThostFtdcSPBMPortfDefinitionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySPBMInvestorPortfDef(pSPBMInvestorPortfDef *CThostFtdcSPBMInvestorPortfDefField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorPortfMarginRatio(pInvestorPortfMarginRatio *CThostFtdcInvestorPortfMarginRatioField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorProdSPBMDetail(pInvestorProdSPBMDetail *CThostFtdcInvestorProdSPBMDetailField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorCommoditySPMMMargin(pInvestorCommoditySPMMMargin *CThostFtdcInvestorCommoditySPMMMarginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorCommodityGroupSPMMMargin(pInvestorCommodityGroupSPMMMargin *CThostFtdcInvestorCommodityGroupSPMMMarginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySPMMInstParam(pSPMMInstParam *CThostFtdcSPMMInstParamField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySPMMProductParam(pSPMMProductParam *CThostFtdcSPMMProductParamField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQrySPBMAddOnInterParameter(pSPBMAddOnInterParameter *CThostFtdcSPBMAddOnInterParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryRCAMSCombProductInfo(pRCAMSCombProductInfo *CThostFtdcRCAMSCombProductInfoField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryRCAMSInstrParameter(pRCAMSInstrParameter *CThostFtdcRCAMSInstrParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryRCAMSIntraParameter(pRCAMSIntraParameter *CThostFtdcRCAMSIntraParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryRCAMSInterParameter(pRCAMSInterParameter *CThostFtdcRCAMSInterParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryRCAMSShortOptAdjustParam(pRCAMSShortOptAdjustParam *CThostFtdcRCAMSShortOptAdjustParamField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryRCAMSInvestorCombPosition(pRCAMSInvestorCombPosition *CThostFtdcRCAMSInvestorCombPositionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorProdRCAMSMargin(pInvestorProdRCAMSMargin *CThostFtdcInvestorProdRCAMSMarginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryRULEInstrParameter(pRULEInstrParameter *CThostFtdcRULEInstrParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryRULEIntraParameter(pRULEIntraParameter *CThostFtdcRULEIntraParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryRULEInterParameter(pRULEInterParameter *CThostFtdcRULEInterParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorProdRULEMargin(pInvestorProdRULEMargin *CThostFtdcInvestorProdRULEMarginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorPortfSetting(pInvestorPortfSetting *CThostFtdcInvestorPortfSettingField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryInvestorInfoCommRec(pInvestorInfoCommRec *CThostFtdcInvestorInfoCommRecField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspQryCombLeg(pCombLeg *CThostFtdcCombLegField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspOffsetSetting(pInputOffsetSetting *CThostFtdcInputOffsetSettingField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRspCancelOffsetSetting(pInputOffsetSetting *CThostFtdcInputOffsetSettingField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
	OnRtnOffsetSetting(pOffsetSetting *CThostFtdcOffsetSettingField)
	OnErrRtnOffsetSetting(pInputOffsetSetting *CThostFtdcInputOffsetSettingField, pRspInfo *CThostFtdcRspInfoField)
	OnErrRtnCancelOffsetSetting(pCancelOffsetSetting *CThostFtdcCancelOffsetSettingField, pRspInfo *CThostFtdcRspInfoField)
	OnRspQryOffsetSetting(pOffsetSetting *CThostFtdcOffsetSettingField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)
}

type CThostFtdcTraderSpiBase

type CThostFtdcTraderSpiBase struct {
}

func (*CThostFtdcTraderSpiBase) OnErrRtnBankToFutureByFuture

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

func (*CThostFtdcTraderSpiBase) OnErrRtnBatchOrderAction

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

func (*CThostFtdcTraderSpiBase) OnErrRtnCancelOffsetSetting added in v0.0.4

func (b *CThostFtdcTraderSpiBase) OnErrRtnCancelOffsetSetting(pCancelOffsetSetting *CThostFtdcCancelOffsetSettingField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnCombActionInsert

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

func (*CThostFtdcTraderSpiBase) OnErrRtnExecOrderAction

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

func (*CThostFtdcTraderSpiBase) OnErrRtnExecOrderInsert

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

func (*CThostFtdcTraderSpiBase) OnErrRtnForQuoteInsert

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

func (*CThostFtdcTraderSpiBase) OnErrRtnFutureToBankByFuture

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

func (*CThostFtdcTraderSpiBase) OnErrRtnOffsetSetting added in v0.0.4

func (b *CThostFtdcTraderSpiBase) OnErrRtnOffsetSetting(pInputOffsetSetting *CThostFtdcInputOffsetSettingField, pRspInfo *CThostFtdcRspInfoField)

func (*CThostFtdcTraderSpiBase) OnErrRtnOptionSelfCloseAction

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

func (*CThostFtdcTraderSpiBase) OnErrRtnOptionSelfCloseInsert

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

func (*CThostFtdcTraderSpiBase) OnErrRtnOrderAction

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

func (*CThostFtdcTraderSpiBase) OnErrRtnOrderInsert

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

func (*CThostFtdcTraderSpiBase) OnErrRtnQueryBankBalanceByFuture

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

func (*CThostFtdcTraderSpiBase) OnErrRtnQuoteAction

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

func (*CThostFtdcTraderSpiBase) OnErrRtnQuoteInsert

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

func (*CThostFtdcTraderSpiBase) OnErrRtnRepealBankToFutureByFutureManual

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

func (*CThostFtdcTraderSpiBase) OnErrRtnRepealFutureToBankByFutureManual

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

func (*CThostFtdcTraderSpiBase) OnFrontConnected

func (b *CThostFtdcTraderSpiBase) OnFrontConnected()

func (*CThostFtdcTraderSpiBase) OnFrontDisconnected

func (b *CThostFtdcTraderSpiBase) OnFrontDisconnected(nReason int)

func (*CThostFtdcTraderSpiBase) OnHeartBeatWarning

func (b *CThostFtdcTraderSpiBase) OnHeartBeatWarning(nTimeLapse int)

func (*CThostFtdcTraderSpiBase) OnRspAuthenticate

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

func (*CThostFtdcTraderSpiBase) OnRspBatchOrderAction

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

func (*CThostFtdcTraderSpiBase) OnRspCancelOffsetSetting added in v0.0.4

func (b *CThostFtdcTraderSpiBase) OnRspCancelOffsetSetting(pInputOffsetSetting *CThostFtdcInputOffsetSettingField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspCombActionInsert

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

func (*CThostFtdcTraderSpiBase) OnRspError

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

func (*CThostFtdcTraderSpiBase) OnRspExecOrderAction

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

func (*CThostFtdcTraderSpiBase) OnRspExecOrderInsert

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

func (*CThostFtdcTraderSpiBase) OnRspForQuoteInsert

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

func (*CThostFtdcTraderSpiBase) OnRspFromBankToFutureByFuture

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

func (*CThostFtdcTraderSpiBase) OnRspFromFutureToBankByFuture

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

func (*CThostFtdcTraderSpiBase) OnRspGenUserCaptcha

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

func (*CThostFtdcTraderSpiBase) OnRspGenUserText

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

func (*CThostFtdcTraderSpiBase) OnRspOffsetSetting added in v0.0.4

func (b *CThostFtdcTraderSpiBase) OnRspOffsetSetting(pInputOffsetSetting *CThostFtdcInputOffsetSettingField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspOptionSelfCloseAction

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

func (*CThostFtdcTraderSpiBase) OnRspOptionSelfCloseInsert

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

func (*CThostFtdcTraderSpiBase) OnRspOrderAction

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

func (*CThostFtdcTraderSpiBase) OnRspOrderInsert

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

func (*CThostFtdcTraderSpiBase) OnRspParkedOrderAction

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

func (*CThostFtdcTraderSpiBase) OnRspParkedOrderInsert

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

func (*CThostFtdcTraderSpiBase) OnRspQryAccountregister

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

func (*CThostFtdcTraderSpiBase) OnRspQryBrokerTradingAlgos

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

func (*CThostFtdcTraderSpiBase) OnRspQryBrokerTradingParams

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

func (*CThostFtdcTraderSpiBase) OnRspQryCFMMCTradingAccountKey

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

func (*CThostFtdcTraderSpiBase) OnRspQryClassifiedInstrument added in v0.0.3

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

func (*CThostFtdcTraderSpiBase) OnRspQryCombAction

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

func (*CThostFtdcTraderSpiBase) OnRspQryCombInstrumentGuard

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

func (*CThostFtdcTraderSpiBase) OnRspQryCombLeg added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryCombLeg(pCombLeg *CThostFtdcCombLegField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryCombPromotionParam added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryCombPromotionParam(pCombPromotionParam *CThostFtdcCombPromotionParamField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryContractBank

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

func (*CThostFtdcTraderSpiBase) OnRspQryDepthMarketData

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

func (*CThostFtdcTraderSpiBase) OnRspQryEWarrantOffset

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

func (*CThostFtdcTraderSpiBase) OnRspQryExchange

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

func (*CThostFtdcTraderSpiBase) OnRspQryExchangeMarginRate

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

func (*CThostFtdcTraderSpiBase) OnRspQryExchangeMarginRateAdjust

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

func (*CThostFtdcTraderSpiBase) OnRspQryExchangeRate

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

func (*CThostFtdcTraderSpiBase) OnRspQryExecOrder

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

func (*CThostFtdcTraderSpiBase) OnRspQryForQuote

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

func (*CThostFtdcTraderSpiBase) OnRspQryInstrument

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

func (*CThostFtdcTraderSpiBase) OnRspQryInstrumentCommissionRate

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

func (*CThostFtdcTraderSpiBase) OnRspQryInstrumentMarginRate

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

func (*CThostFtdcTraderSpiBase) OnRspQryInstrumentOrderCommRate

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

func (*CThostFtdcTraderSpiBase) OnRspQryInvestUnit

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

func (*CThostFtdcTraderSpiBase) OnRspQryInvestor

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

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorCommodityGroupSPMMMargin added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorCommodityGroupSPMMMargin(pInvestorCommodityGroupSPMMMargin *CThostFtdcInvestorCommodityGroupSPMMMarginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorCommoditySPMMMargin added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorCommoditySPMMMargin(pInvestorCommoditySPMMMargin *CThostFtdcInvestorCommoditySPMMMarginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorInfoCommRec added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorInfoCommRec(pInvestorInfoCommRec *CThostFtdcInvestorInfoCommRecField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorPortfMarginRatio added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorPortfMarginRatio(pInvestorPortfMarginRatio *CThostFtdcInvestorPortfMarginRatioField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorPortfSetting added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorPortfSetting(pInvestorPortfSetting *CThostFtdcInvestorPortfSettingField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorPosition

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

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorPositionCombineDetail

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

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorPositionDetail

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

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorProdRCAMSMargin added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorProdRCAMSMargin(pInvestorProdRCAMSMargin *CThostFtdcInvestorProdRCAMSMarginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorProdRULEMargin added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorProdRULEMargin(pInvestorProdRULEMargin *CThostFtdcInvestorProdRULEMarginField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorProdSPBMDetail added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryInvestorProdSPBMDetail(pInvestorProdSPBMDetail *CThostFtdcInvestorProdSPBMDetailField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryInvestorProductGroupMargin

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

func (*CThostFtdcTraderSpiBase) OnRspQryMMInstrumentCommissionRate

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

func (*CThostFtdcTraderSpiBase) OnRspQryMMOptionInstrCommRate

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

func (*CThostFtdcTraderSpiBase) OnRspQryMaxOrderVolume added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryMaxOrderVolume(pQryMaxOrderVolume *CThostFtdcQryMaxOrderVolumeField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryNotice

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

func (*CThostFtdcTraderSpiBase) OnRspQryOffsetSetting added in v0.0.4

func (b *CThostFtdcTraderSpiBase) OnRspQryOffsetSetting(pOffsetSetting *CThostFtdcOffsetSettingField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryOptionInstrCommRate

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

func (*CThostFtdcTraderSpiBase) OnRspQryOptionInstrTradeCost

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

func (*CThostFtdcTraderSpiBase) OnRspQryOptionSelfClose

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

func (*CThostFtdcTraderSpiBase) OnRspQryOrder

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

func (*CThostFtdcTraderSpiBase) OnRspQryParkedOrder

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

func (*CThostFtdcTraderSpiBase) OnRspQryParkedOrderAction

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

func (*CThostFtdcTraderSpiBase) OnRspQryProduct

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

func (*CThostFtdcTraderSpiBase) OnRspQryProductExchRate

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

func (*CThostFtdcTraderSpiBase) OnRspQryProductGroup

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

func (*CThostFtdcTraderSpiBase) OnRspQryQuote

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

func (*CThostFtdcTraderSpiBase) OnRspQryRCAMSCombProductInfo added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryRCAMSCombProductInfo(pRCAMSCombProductInfo *CThostFtdcRCAMSCombProductInfoField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryRCAMSInstrParameter added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryRCAMSInstrParameter(pRCAMSInstrParameter *CThostFtdcRCAMSInstrParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryRCAMSInterParameter added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryRCAMSInterParameter(pRCAMSInterParameter *CThostFtdcRCAMSInterParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryRCAMSIntraParameter added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryRCAMSIntraParameter(pRCAMSIntraParameter *CThostFtdcRCAMSIntraParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryRCAMSInvestorCombPosition added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryRCAMSInvestorCombPosition(pRCAMSInvestorCombPosition *CThostFtdcRCAMSInvestorCombPositionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryRCAMSShortOptAdjustParam added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryRCAMSShortOptAdjustParam(pRCAMSShortOptAdjustParam *CThostFtdcRCAMSShortOptAdjustParamField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryRULEInstrParameter added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryRULEInstrParameter(pRULEInstrParameter *CThostFtdcRULEInstrParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryRULEInterParameter added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryRULEInterParameter(pRULEInterParameter *CThostFtdcRULEInterParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryRULEIntraParameter added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryRULEIntraParameter(pRULEIntraParameter *CThostFtdcRULEIntraParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryRiskSettleInvstPosition added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryRiskSettleInvstPosition(pRiskSettleInvstPosition *CThostFtdcRiskSettleInvstPositionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryRiskSettleProductStatus added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryRiskSettleProductStatus(pRiskSettleProductStatus *CThostFtdcRiskSettleProductStatusField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySPBMAddOnInterParameter added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQrySPBMAddOnInterParameter(pSPBMAddOnInterParameter *CThostFtdcSPBMAddOnInterParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySPBMFutureParameter added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQrySPBMFutureParameter(pSPBMFutureParameter *CThostFtdcSPBMFutureParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySPBMInterParameter added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQrySPBMInterParameter(pSPBMInterParameter *CThostFtdcSPBMInterParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySPBMIntraParameter added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQrySPBMIntraParameter(pSPBMIntraParameter *CThostFtdcSPBMIntraParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySPBMInvestorPortfDef added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQrySPBMInvestorPortfDef(pSPBMInvestorPortfDef *CThostFtdcSPBMInvestorPortfDefField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySPBMOptionParameter added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQrySPBMOptionParameter(pSPBMOptionParameter *CThostFtdcSPBMOptionParameterField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySPBMPortfDefinition added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQrySPBMPortfDefinition(pSPBMPortfDefinition *CThostFtdcSPBMPortfDefinitionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySPMMInstParam added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQrySPMMInstParam(pSPMMInstParam *CThostFtdcSPMMInstParamField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySPMMProductParam added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQrySPMMProductParam(pSPMMProductParam *CThostFtdcSPMMProductParamField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQrySecAgentACIDMap

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

func (*CThostFtdcTraderSpiBase) OnRspQrySecAgentCheckMode

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

func (*CThostFtdcTraderSpiBase) OnRspQrySecAgentTradeInfo

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

func (*CThostFtdcTraderSpiBase) OnRspQrySecAgentTradingAccount

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

func (*CThostFtdcTraderSpiBase) OnRspQrySettlementInfo

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

func (*CThostFtdcTraderSpiBase) OnRspQrySettlementInfoConfirm

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

func (*CThostFtdcTraderSpiBase) OnRspQryTrade

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

func (*CThostFtdcTraderSpiBase) OnRspQryTraderOffer added in v0.0.3

func (b *CThostFtdcTraderSpiBase) OnRspQryTraderOffer(pTraderOffer *CThostFtdcTraderOfferField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQryTradingAccount

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

func (*CThostFtdcTraderSpiBase) OnRspQryTradingCode

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

func (*CThostFtdcTraderSpiBase) OnRspQryTradingNotice

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

func (*CThostFtdcTraderSpiBase) OnRspQryTransferBank

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

func (*CThostFtdcTraderSpiBase) OnRspQryTransferSerial

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

func (*CThostFtdcTraderSpiBase) OnRspQryUserSession added in v0.0.4

func (b *CThostFtdcTraderSpiBase) OnRspQryUserSession(pUserSession *CThostFtdcUserSessionField, pRspInfo *CThostFtdcRspInfoField, nRequestID int, bIsLast bool)

func (*CThostFtdcTraderSpiBase) OnRspQueryBankAccountMoneyByFuture

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

func (*CThostFtdcTraderSpiBase) OnRspQueryCFMMCTradingAccountToken

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

func (*CThostFtdcTraderSpiBase) OnRspQuoteAction

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

func (*CThostFtdcTraderSpiBase) OnRspQuoteInsert

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

func (*CThostFtdcTraderSpiBase) OnRspRemoveParkedOrder

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

func (*CThostFtdcTraderSpiBase) OnRspRemoveParkedOrderAction

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

func (*CThostFtdcTraderSpiBase) OnRspSettlementInfoConfirm

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

func (*CThostFtdcTraderSpiBase) OnRspTradingAccountPasswordUpdate

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

func (*CThostFtdcTraderSpiBase) OnRspUserAuthMethod

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

func (*CThostFtdcTraderSpiBase) OnRspUserLogin

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

func (*CThostFtdcTraderSpiBase) OnRspUserLogout

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

func (*CThostFtdcTraderSpiBase) OnRspUserPasswordUpdate

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

func (*CThostFtdcTraderSpiBase) OnRtnBulletin

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

func (*CThostFtdcTraderSpiBase) OnRtnCFMMCTradingAccountToken

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

func (*CThostFtdcTraderSpiBase) OnRtnCancelAccountByBank

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

func (*CThostFtdcTraderSpiBase) OnRtnChangeAccountByBank

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

func (*CThostFtdcTraderSpiBase) OnRtnCombAction

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

func (*CThostFtdcTraderSpiBase) OnRtnErrorConditionalOrder

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

func (*CThostFtdcTraderSpiBase) OnRtnExecOrder

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

func (*CThostFtdcTraderSpiBase) OnRtnForQuoteRsp

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

func (*CThostFtdcTraderSpiBase) OnRtnFromBankToFutureByBank

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

func (*CThostFtdcTraderSpiBase) OnRtnFromBankToFutureByFuture

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

func (*CThostFtdcTraderSpiBase) OnRtnFromFutureToBankByBank

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

func (*CThostFtdcTraderSpiBase) OnRtnFromFutureToBankByFuture

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

func (*CThostFtdcTraderSpiBase) OnRtnInstrumentStatus

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

func (*CThostFtdcTraderSpiBase) OnRtnOffsetSetting added in v0.0.4

func (b *CThostFtdcTraderSpiBase) OnRtnOffsetSetting(pOffsetSetting *CThostFtdcOffsetSettingField)

func (*CThostFtdcTraderSpiBase) OnRtnOpenAccountByBank

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

func (*CThostFtdcTraderSpiBase) OnRtnOptionSelfClose

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

func (*CThostFtdcTraderSpiBase) OnRtnOrder

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

func (*CThostFtdcTraderSpiBase) OnRtnQueryBankBalanceByFuture

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

func (*CThostFtdcTraderSpiBase) OnRtnQuote

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

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromBankToFutureByBank

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

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromBankToFutureByFuture

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

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromBankToFutureByFutureManual

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

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromFutureToBankByBank

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

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromFutureToBankByFuture

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

func (*CThostFtdcTraderSpiBase) OnRtnRepealFromFutureToBankByFutureManual

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

func (*CThostFtdcTraderSpiBase) OnRtnTrade

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

func (*CThostFtdcTraderSpiBase) OnRtnTradingNotice

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

type CThostFtdcTradingAccountField

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

type CThostFtdcTradingAccountPasswordField

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

type CThostFtdcTradingAccountPasswordUpdateField

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

type CThostFtdcTradingAccountPasswordUpdateFromSecField added in v0.0.3

type CThostFtdcTradingAccountPasswordUpdateFromSecField struct {
	BrokerID    string
	AccountID   string
	OldPassword string
	NewPassword string
	CurrencyID  string
	FromSec     int
}

type CThostFtdcTradingAccountPasswordUpdateV1Field

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

type CThostFtdcTradingAccountReserveField

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

type CThostFtdcTradingCodeField

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

type CThostFtdcTradingNoticeField

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

type CThostFtdcTradingNoticeInfoField

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

type CThostFtdcTransferBankField

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

type CThostFtdcTransferBankToFutureReqField

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

type CThostFtdcTransferBankToFutureRspField

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

type CThostFtdcTransferFutureToBankReqField

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

type CThostFtdcTransferFutureToBankRspField

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

type CThostFtdcTransferHeaderField

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

type CThostFtdcTransferQryBankReqField

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

type CThostFtdcTransferQryBankRspField

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

type CThostFtdcTransferQryDetailReqField

type CThostFtdcTransferQryDetailReqField struct {
	FutureAccount string
}

type CThostFtdcTransferQryDetailRspField

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

type CThostFtdcTransferSerialField

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

type CThostFtdcUserIPField

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

func NewCThostFtdcUserIPField

func NewCThostFtdcUserIPField(p *C.CThostFtdcUserIPField) *CThostFtdcUserIPField

type CThostFtdcUserLogoutField

type CThostFtdcUserLogoutField struct {
	BrokerID string
	UserID   string
}

type CThostFtdcUserPasswordUpdateField

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

type CThostFtdcUserPasswordUpdateFromSecField added in v0.0.3

type CThostFtdcUserPasswordUpdateFromSecField struct {
	BrokerID    string
	UserID      string
	OldPassword string
	NewPassword string
	FromSec     int
}

type CThostFtdcUserRightField

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

type CThostFtdcUserRightsAssignField

type CThostFtdcUserRightsAssignField struct {
	BrokerID     string
	UserID       string
	DRIdentityID int
}

type CThostFtdcUserSessionField

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

type CThostFtdcUserSystemInfoField

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

type CThostFtdcVerifyCustInfoField

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

type CThostFtdcVerifyFuturePasswordAndCustInfoField

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

type CThostFtdcVerifyFuturePasswordField

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

type CThostFtdcVerifyInvestorPasswordField

type CThostFtdcVerifyInvestorPasswordField struct {
	BrokerID   string
	InvestorID string
	Password   string
}

type CThostFtdcWechatUserSystemInfoField added in v0.0.4

type CThostFtdcWechatUserSystemInfoField struct {
	BrokerID            string
	UserID              string
	WechatCltSysInfoLen int
	WechatCltSysInfo    string
	ClientIPPort        int
	ClientLoginTime     string
	ClientAppID         string
	ClientPublicIP      string
	ClientLoginRemark   string
}

func NewCThostFtdcWechatUserSystemInfoField added in v0.0.4

func NewCThostFtdcWechatUserSystemInfoField(p *C.CThostFtdcWechatUserSystemInfoField) *CThostFtdcWechatUserSystemInfoField

type CThostFtdcWithDrawParamField added in v0.0.3

type CThostFtdcWithDrawParamField struct {
	BrokerID           string
	AccountID          string
	WithDrawParamID    byte
	WithDrawParamValue string
}

func NewCThostFtdcWithDrawParamField added in v0.0.3

func NewCThostFtdcWithDrawParamField(p *C.CThostFtdcWithDrawParamField) *CThostFtdcWithDrawParamField

type THOST_TE_RESUME_TYPE

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

Jump to

Keyboard shortcuts

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