win

package
v0.6.6-20220920 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Quote

type Quote struct {
	goctp.HFQuote
	// contains filtered or unexported fields
}

func NewQuote

func NewQuote() *Quote

接口

func (*Quote) OnFrontConnected added in v1.0.1

func (q *Quote) OnFrontConnected() uintptr

当客户端与交易后台建立起通信连接时(还未登录前),该方法被调用。

func (*Quote) OnFrontDisconnected added in v1.0.1

func (q *Quote) OnFrontDisconnected(nReason int) uintptr

当客户端与交易后台通信连接断开时,该方法被调用。当发生这个情况后,API会自动重新连接,客户端可不做处理。

func (*Quote) OnHeartBeatWarning added in v1.0.1

func (q *Quote) OnHeartBeatWarning(nTimeLapse int) uintptr

心跳超时警告。当长时间未收到报文时,该方法被调用。

func (*Quote) OnRspError added in v1.0.1

func (q *Quote) OnRspError(pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

错误应答

func (*Quote) OnRspQryMulticastInstrument added in v1.0.1

func (q *Quote) OnRspQryMulticastInstrument(pMulticastInstrument *ctp.CThostFtdcMulticastInstrumentField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

请求查询组播合约响应

func (*Quote) OnRspSubForQuoteRsp added in v1.0.1

func (q *Quote) OnRspSubForQuoteRsp(pSpecificInstrument *ctp.CThostFtdcSpecificInstrumentField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

订阅询价应答

func (*Quote) OnRspSubMarketData added in v1.0.1

func (q *Quote) OnRspSubMarketData(pSpecificInstrument *ctp.CThostFtdcSpecificInstrumentField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

订阅行情应答

func (*Quote) OnRspUnSubForQuoteRsp added in v1.0.1

func (q *Quote) OnRspUnSubForQuoteRsp(pSpecificInstrument *ctp.CThostFtdcSpecificInstrumentField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

取消订阅询价应答

func (*Quote) OnRspUnSubMarketData added in v1.0.1

func (q *Quote) OnRspUnSubMarketData(pSpecificInstrument *ctp.CThostFtdcSpecificInstrumentField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

取消订阅行情应答

func (*Quote) OnRspUserLogin added in v1.0.1

func (q *Quote) OnRspUserLogin(pRspUserLogin *ctp.CThostFtdcRspUserLoginField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

登录请求响应

func (*Quote) OnRspUserLogout added in v1.0.1

func (q *Quote) OnRspUserLogout(pUserLogout *ctp.CThostFtdcUserLogoutField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

登出请求响应

func (*Quote) OnRtnDepthMarketData added in v1.0.1

func (q *Quote) OnRtnDepthMarketData(pDepthMarketData *ctp.CThostFtdcDepthMarketDataField) uintptr

深度行情通知

func (*Quote) OnRtnForQuoteRsp added in v1.0.1

func (q *Quote) OnRtnForQuoteRsp(pForQuoteRsp *ctp.CThostFtdcForQuoteRspField) uintptr

询价通知

type Trade

type Trade struct {
	goctp.HFTrade
	// contains filtered or unexported fields
}

func NewTrade

func NewTrade() *Trade

NewTrade 实例化

func (*Trade) OnErrRtnBankToFutureByFuture added in v1.0.1

func (t *Trade) OnErrRtnBankToFutureByFuture(pReqTransfer *ctp.CThostFtdcReqTransferField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnBatchOrderAction added in v1.0.1

func (t *Trade) OnErrRtnBatchOrderAction(pBatchOrderAction *ctp.CThostFtdcBatchOrderActionField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnCombActionInsert added in v1.0.1

func (t *Trade) OnErrRtnCombActionInsert(pInputCombAction *ctp.CThostFtdcInputCombActionField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnExecOrderAction added in v1.0.1

func (t *Trade) OnErrRtnExecOrderAction(pExecOrderAction *ctp.CThostFtdcExecOrderActionField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnExecOrderInsert added in v1.0.1

func (t *Trade) OnErrRtnExecOrderInsert(pInputExecOrder *ctp.CThostFtdcInputExecOrderField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnForQuoteInsert added in v1.0.1

func (t *Trade) OnErrRtnForQuoteInsert(pInputForQuote *ctp.CThostFtdcInputForQuoteField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnFutureToBankByFuture added in v1.0.1

func (t *Trade) OnErrRtnFutureToBankByFuture(pReqTransfer *ctp.CThostFtdcReqTransferField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnOptionSelfCloseAction added in v1.0.1

func (t *Trade) OnErrRtnOptionSelfCloseAction(pOptionSelfCloseAction *ctp.CThostFtdcOptionSelfCloseActionField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnOptionSelfCloseInsert added in v1.0.1

func (t *Trade) OnErrRtnOptionSelfCloseInsert(pInputOptionSelfClose *ctp.CThostFtdcInputOptionSelfCloseField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnOrderAction added in v1.0.1

func (t *Trade) OnErrRtnOrderAction(pOrderAction *ctp.CThostFtdcOrderActionField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnOrderInsert added in v1.0.1

func (t *Trade) OnErrRtnOrderInsert(pInputOrder *ctp.CThostFtdcInputOrderField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnQueryBankBalanceByFuture added in v1.0.1

func (t *Trade) OnErrRtnQueryBankBalanceByFuture(pReqQueryAccount *ctp.CThostFtdcReqQueryAccountField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnQuoteAction added in v1.0.1

func (t *Trade) OnErrRtnQuoteAction(pQuoteAction *ctp.CThostFtdcQuoteActionField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnQuoteInsert added in v1.0.1

func (t *Trade) OnErrRtnQuoteInsert(pInputQuote *ctp.CThostFtdcInputQuoteField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnRepealBankToFutureByFutureManual added in v1.0.1

func (t *Trade) OnErrRtnRepealBankToFutureByFutureManual(pReqRepeal *ctp.CThostFtdcReqRepealField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnErrRtnRepealFutureToBankByFutureManual added in v1.0.1

func (t *Trade) OnErrRtnRepealFutureToBankByFutureManual(pReqRepeal *ctp.CThostFtdcReqRepealField, pRspInfo *ctp.CThostFtdcRspInfoField) uintptr

func (*Trade) OnFrontConnected added in v1.0.1

func (t *Trade) OnFrontConnected() uintptr

func (*Trade) OnFrontDisconnected added in v1.0.1

func (t *Trade) OnFrontDisconnected(nReason int) uintptr

func (*Trade) OnHeartBeatWarning added in v1.0.1

func (t *Trade) OnHeartBeatWarning(nTimeLapse int) uintptr

func (*Trade) OnRspAuthenticate added in v1.0.1

func (t *Trade) OnRspAuthenticate(pRspAuthenticateField *ctp.CThostFtdcRspAuthenticateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspBatchOrderAction added in v1.0.1

func (t *Trade) OnRspBatchOrderAction(pInputBatchOrderAction *ctp.CThostFtdcInputBatchOrderActionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspCombActionInsert added in v1.0.1

func (t *Trade) OnRspCombActionInsert(pInputCombAction *ctp.CThostFtdcInputCombActionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspError added in v1.0.1

func (t *Trade) OnRspError(pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspExecOrderAction added in v1.0.1

func (t *Trade) OnRspExecOrderAction(pInputExecOrderAction *ctp.CThostFtdcInputExecOrderActionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspExecOrderInsert added in v1.0.1

func (t *Trade) OnRspExecOrderInsert(pInputExecOrder *ctp.CThostFtdcInputExecOrderField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspForQuoteInsert added in v1.0.1

func (t *Trade) OnRspForQuoteInsert(pInputForQuote *ctp.CThostFtdcInputForQuoteField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspFromBankToFutureByFuture added in v1.0.1

func (t *Trade) OnRspFromBankToFutureByFuture(pReqTransfer *ctp.CThostFtdcReqTransferField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspFromFutureToBankByFuture added in v1.0.1

func (t *Trade) OnRspFromFutureToBankByFuture(pReqTransfer *ctp.CThostFtdcReqTransferField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspGenUserCaptcha added in v1.0.1

func (t *Trade) OnRspGenUserCaptcha(pRspGenUserCaptcha *ctp.CThostFtdcRspGenUserCaptchaField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspGenUserText added in v1.0.1

func (t *Trade) OnRspGenUserText(pRspGenUserText *ctp.CThostFtdcRspGenUserTextField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspOptionSelfCloseAction added in v1.0.1

func (t *Trade) OnRspOptionSelfCloseAction(pInputOptionSelfCloseAction *ctp.CThostFtdcInputOptionSelfCloseActionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspOptionSelfCloseInsert added in v1.0.1

func (t *Trade) OnRspOptionSelfCloseInsert(pInputOptionSelfClose *ctp.CThostFtdcInputOptionSelfCloseField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspOrderAction added in v1.0.1

func (t *Trade) OnRspOrderAction(pInputOrderAction *ctp.CThostFtdcInputOrderActionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspOrderInsert added in v1.0.1

func (t *Trade) OnRspOrderInsert(pInputOrder *ctp.CThostFtdcInputOrderField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspParkedOrderAction added in v1.0.1

func (t *Trade) OnRspParkedOrderAction(pParkedOrderAction *ctp.CThostFtdcParkedOrderActionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspParkedOrderInsert added in v1.0.1

func (t *Trade) OnRspParkedOrderInsert(pParkedOrder *ctp.CThostFtdcParkedOrderField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryAccountregister added in v1.0.1

func (t *Trade) OnRspQryAccountregister(pAccountregister *ctp.CThostFtdcAccountregisterField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryBrokerTradingAlgos added in v1.0.1

func (t *Trade) OnRspQryBrokerTradingAlgos(pBrokerTradingAlgos *ctp.CThostFtdcBrokerTradingAlgosField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryBrokerTradingParams added in v1.0.1

func (t *Trade) OnRspQryBrokerTradingParams(pBrokerTradingParams *ctp.CThostFtdcBrokerTradingParamsField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryCFMMCTradingAccountKey added in v1.0.1

func (t *Trade) OnRspQryCFMMCTradingAccountKey(pCFMMCTradingAccountKey *ctp.CThostFtdcCFMMCTradingAccountKeyField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryClassifiedInstrument added in v1.0.1

func (t *Trade) OnRspQryClassifiedInstrument(pInstrument *ctp.CThostFtdcInstrumentField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryCombAction added in v1.0.1

func (t *Trade) OnRspQryCombAction(pCombAction *ctp.CThostFtdcCombActionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryCombInstrumentGuard added in v1.0.1

func (t *Trade) OnRspQryCombInstrumentGuard(pCombInstrumentGuard *ctp.CThostFtdcCombInstrumentGuardField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryCombPromotionParam added in v1.0.1

func (t *Trade) OnRspQryCombPromotionParam(pCombPromotionParam *ctp.CThostFtdcCombPromotionParamField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryContractBank added in v1.0.1

func (t *Trade) OnRspQryContractBank(pContractBank *ctp.CThostFtdcContractBankField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryDepthMarketData added in v1.0.1

func (t *Trade) OnRspQryDepthMarketData(pDepthMarketData *ctp.CThostFtdcDepthMarketDataField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryEWarrantOffset added in v1.0.1

func (t *Trade) OnRspQryEWarrantOffset(pEWarrantOffset *ctp.CThostFtdcEWarrantOffsetField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryExchange added in v1.0.1

func (t *Trade) OnRspQryExchange(pExchange *ctp.CThostFtdcExchangeField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryExchangeMarginRate added in v1.0.1

func (t *Trade) OnRspQryExchangeMarginRate(pExchangeMarginRate *ctp.CThostFtdcExchangeMarginRateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryExchangeMarginRateAdjust added in v1.0.1

func (t *Trade) OnRspQryExchangeMarginRateAdjust(pExchangeMarginRateAdjust *ctp.CThostFtdcExchangeMarginRateAdjustField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryExchangeRate added in v1.0.1

func (t *Trade) OnRspQryExchangeRate(pExchangeRate *ctp.CThostFtdcExchangeRateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryExecOrder added in v1.0.1

func (t *Trade) OnRspQryExecOrder(pExecOrder *ctp.CThostFtdcExecOrderField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryForQuote added in v1.0.1

func (t *Trade) OnRspQryForQuote(pForQuote *ctp.CThostFtdcForQuoteField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryInstrument added in v1.0.1

func (t *Trade) OnRspQryInstrument(pInstrument *ctp.CThostFtdcInstrumentField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryInstrumentCommissionRate added in v1.0.1

func (t *Trade) OnRspQryInstrumentCommissionRate(pInstrumentCommissionRate *ctp.CThostFtdcInstrumentCommissionRateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryInstrumentMarginRate added in v1.0.1

func (t *Trade) OnRspQryInstrumentMarginRate(pInstrumentMarginRate *ctp.CThostFtdcInstrumentMarginRateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryInstrumentOrderCommRate added in v1.0.1

func (t *Trade) OnRspQryInstrumentOrderCommRate(pInstrumentOrderCommRate *ctp.CThostFtdcInstrumentOrderCommRateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryInvestUnit added in v1.0.1

func (t *Trade) OnRspQryInvestUnit(pInvestUnit *ctp.CThostFtdcInvestUnitField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryInvestor added in v1.0.1

func (t *Trade) OnRspQryInvestor(pInvestor *ctp.CThostFtdcInvestorField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryInvestorPosition added in v1.0.1

func (t *Trade) OnRspQryInvestorPosition(pInvestorPosition *ctp.CThostFtdcInvestorPositionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryInvestorPositionCombineDetail added in v1.0.1

func (t *Trade) OnRspQryInvestorPositionCombineDetail(pInvestorPositionCombineDetail *ctp.CThostFtdcInvestorPositionCombineDetailField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryInvestorPositionDetail added in v1.0.1

func (t *Trade) OnRspQryInvestorPositionDetail(pInvestorPositionDetail *ctp.CThostFtdcInvestorPositionDetailField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryInvestorProductGroupMargin added in v1.0.1

func (t *Trade) OnRspQryInvestorProductGroupMargin(pInvestorProductGroupMargin *ctp.CThostFtdcInvestorProductGroupMarginField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryMMInstrumentCommissionRate added in v1.0.1

func (t *Trade) OnRspQryMMInstrumentCommissionRate(pMMInstrumentCommissionRate *ctp.CThostFtdcMMInstrumentCommissionRateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryMMOptionInstrCommRate added in v1.0.1

func (t *Trade) OnRspQryMMOptionInstrCommRate(pMMOptionInstrCommRate *ctp.CThostFtdcMMOptionInstrCommRateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryMaxOrderVolume added in v1.0.1

func (t *Trade) OnRspQryMaxOrderVolume(pQryMaxOrderVolume *ctp.CThostFtdcQryMaxOrderVolumeField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryNotice added in v1.0.1

func (t *Trade) OnRspQryNotice(pNotice *ctp.CThostFtdcNoticeField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryOptionInstrCommRate added in v1.0.1

func (t *Trade) OnRspQryOptionInstrCommRate(pOptionInstrCommRate *ctp.CThostFtdcOptionInstrCommRateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryOptionInstrTradeCost added in v1.0.1

func (t *Trade) OnRspQryOptionInstrTradeCost(pOptionInstrTradeCost *ctp.CThostFtdcOptionInstrTradeCostField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryOptionSelfClose added in v1.0.1

func (t *Trade) OnRspQryOptionSelfClose(pOptionSelfClose *ctp.CThostFtdcOptionSelfCloseField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryOrder added in v1.0.1

func (t *Trade) OnRspQryOrder(pOrder *ctp.CThostFtdcOrderField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryParkedOrder added in v1.0.1

func (t *Trade) OnRspQryParkedOrder(pParkedOrder *ctp.CThostFtdcParkedOrderField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryParkedOrderAction added in v1.0.1

func (t *Trade) OnRspQryParkedOrderAction(pParkedOrderAction *ctp.CThostFtdcParkedOrderActionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryProduct added in v1.0.1

func (t *Trade) OnRspQryProduct(pProduct *ctp.CThostFtdcProductField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryProductExchRate added in v1.0.1

func (t *Trade) OnRspQryProductExchRate(pProductExchRate *ctp.CThostFtdcProductExchRateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryProductGroup added in v1.0.1

func (t *Trade) OnRspQryProductGroup(pProductGroup *ctp.CThostFtdcProductGroupField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryQuote added in v1.0.1

func (t *Trade) OnRspQryQuote(pQuote *ctp.CThostFtdcQuoteField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryRiskSettleInvstPosition added in v1.0.1

func (t *Trade) OnRspQryRiskSettleInvstPosition(pRiskSettleInvstPosition *ctp.CThostFtdcRiskSettleInvstPositionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryRiskSettleProductStatus added in v1.0.1

func (t *Trade) OnRspQryRiskSettleProductStatus(pRiskSettleProductStatus *ctp.CThostFtdcRiskSettleProductStatusField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQrySecAgentACIDMap added in v1.0.1

func (t *Trade) OnRspQrySecAgentACIDMap(pSecAgentACIDMap *ctp.CThostFtdcSecAgentACIDMapField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQrySecAgentCheckMode added in v1.0.1

func (t *Trade) OnRspQrySecAgentCheckMode(pSecAgentCheckMode *ctp.CThostFtdcSecAgentCheckModeField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQrySecAgentTradeInfo added in v1.0.1

func (t *Trade) OnRspQrySecAgentTradeInfo(pSecAgentTradeInfo *ctp.CThostFtdcSecAgentTradeInfoField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQrySecAgentTradingAccount added in v1.0.1

func (t *Trade) OnRspQrySecAgentTradingAccount(pTradingAccount *ctp.CThostFtdcTradingAccountField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQrySettlementInfo added in v1.0.1

func (t *Trade) OnRspQrySettlementInfo(pSettlementInfo *ctp.CThostFtdcSettlementInfoField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQrySettlementInfoConfirm added in v1.0.1

func (t *Trade) OnRspQrySettlementInfoConfirm(pSettlementInfoConfirm *ctp.CThostFtdcSettlementInfoConfirmField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryTrade added in v1.0.1

func (t *Trade) OnRspQryTrade(pTrade *ctp.CThostFtdcTradeField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryTraderOffer added in v1.0.1

func (t *Trade) OnRspQryTraderOffer(pTraderOffer *ctp.CThostFtdcTraderOfferField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryTradingAccount added in v1.0.1

func (t *Trade) OnRspQryTradingAccount(pTradingAccount *ctp.CThostFtdcTradingAccountField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryTradingCode added in v1.0.1

func (t *Trade) OnRspQryTradingCode(pTradingCode *ctp.CThostFtdcTradingCodeField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryTradingNotice added in v1.0.1

func (t *Trade) OnRspQryTradingNotice(pTradingNotice *ctp.CThostFtdcTradingNoticeField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryTransferBank added in v1.0.1

func (t *Trade) OnRspQryTransferBank(pTransferBank *ctp.CThostFtdcTransferBankField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQryTransferSerial added in v1.0.1

func (t *Trade) OnRspQryTransferSerial(pTransferSerial *ctp.CThostFtdcTransferSerialField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQueryBankAccountMoneyByFuture added in v1.0.1

func (t *Trade) OnRspQueryBankAccountMoneyByFuture(pReqQueryAccount *ctp.CThostFtdcReqQueryAccountField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQueryCFMMCTradingAccountToken added in v1.0.1

func (t *Trade) OnRspQueryCFMMCTradingAccountToken(pQueryCFMMCTradingAccountToken *ctp.CThostFtdcQueryCFMMCTradingAccountTokenField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQuoteAction added in v1.0.1

func (t *Trade) OnRspQuoteAction(pInputQuoteAction *ctp.CThostFtdcInputQuoteActionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspQuoteInsert added in v1.0.1

func (t *Trade) OnRspQuoteInsert(pInputQuote *ctp.CThostFtdcInputQuoteField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspRemoveParkedOrder added in v1.0.1

func (t *Trade) OnRspRemoveParkedOrder(pRemoveParkedOrder *ctp.CThostFtdcRemoveParkedOrderField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspRemoveParkedOrderAction added in v1.0.1

func (t *Trade) OnRspRemoveParkedOrderAction(pRemoveParkedOrderAction *ctp.CThostFtdcRemoveParkedOrderActionField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspSettlementInfoConfirm added in v1.0.1

func (t *Trade) OnRspSettlementInfoConfirm(pSettlementInfoConfirm *ctp.CThostFtdcSettlementInfoConfirmField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspTradingAccountPasswordUpdate added in v1.0.1

func (t *Trade) OnRspTradingAccountPasswordUpdate(pTradingAccountPasswordUpdate *ctp.CThostFtdcTradingAccountPasswordUpdateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspUserAuthMethod added in v1.0.1

func (t *Trade) OnRspUserAuthMethod(pRspUserAuthMethod *ctp.CThostFtdcRspUserAuthMethodField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspUserLogin added in v1.0.1

func (t *Trade) OnRspUserLogin(pRspUserLogin *ctp.CThostFtdcRspUserLoginField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspUserLogout added in v1.0.1

func (t *Trade) OnRspUserLogout(pUserLogout *ctp.CThostFtdcUserLogoutField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRspUserPasswordUpdate added in v1.0.1

func (t *Trade) OnRspUserPasswordUpdate(pUserPasswordUpdate *ctp.CThostFtdcUserPasswordUpdateField, pRspInfo *ctp.CThostFtdcRspInfoField, nRequestID int, bIsLast bool) uintptr

func (*Trade) OnRtnBulletin added in v1.0.1

func (t *Trade) OnRtnBulletin(pBulletin *ctp.CThostFtdcBulletinField) uintptr

func (*Trade) OnRtnCFMMCTradingAccountToken added in v1.0.1

func (t *Trade) OnRtnCFMMCTradingAccountToken(pCFMMCTradingAccountToken *ctp.CThostFtdcCFMMCTradingAccountTokenField) uintptr

func (*Trade) OnRtnCancelAccountByBank added in v1.0.1

func (t *Trade) OnRtnCancelAccountByBank(pCancelAccount *ctp.CThostFtdcCancelAccountField) uintptr

func (*Trade) OnRtnChangeAccountByBank added in v1.0.1

func (t *Trade) OnRtnChangeAccountByBank(pChangeAccount *ctp.CThostFtdcChangeAccountField) uintptr

func (*Trade) OnRtnCombAction added in v1.0.1

func (t *Trade) OnRtnCombAction(pCombAction *ctp.CThostFtdcCombActionField) uintptr

func (*Trade) OnRtnErrorConditionalOrder added in v1.0.1

func (t *Trade) OnRtnErrorConditionalOrder(pErrorConditionalOrder *ctp.CThostFtdcErrorConditionalOrderField) uintptr

func (*Trade) OnRtnExecOrder added in v1.0.1

func (t *Trade) OnRtnExecOrder(pExecOrder *ctp.CThostFtdcExecOrderField) uintptr

func (*Trade) OnRtnForQuoteRsp added in v1.0.1

func (t *Trade) OnRtnForQuoteRsp(pForQuoteRsp *ctp.CThostFtdcForQuoteRspField) uintptr

func (*Trade) OnRtnFromBankToFutureByBank added in v1.0.1

func (t *Trade) OnRtnFromBankToFutureByBank(pRspTransfer *ctp.CThostFtdcRspTransferField) uintptr

func (*Trade) OnRtnFromBankToFutureByFuture added in v1.0.1

func (t *Trade) OnRtnFromBankToFutureByFuture(pRspTransfer *ctp.CThostFtdcRspTransferField) uintptr

func (*Trade) OnRtnFromFutureToBankByBank added in v1.0.1

func (t *Trade) OnRtnFromFutureToBankByBank(pRspTransfer *ctp.CThostFtdcRspTransferField) uintptr

func (*Trade) OnRtnFromFutureToBankByFuture added in v1.0.1

func (t *Trade) OnRtnFromFutureToBankByFuture(pRspTransfer *ctp.CThostFtdcRspTransferField) uintptr

func (*Trade) OnRtnInstrumentStatus added in v1.0.1

func (t *Trade) OnRtnInstrumentStatus(pInstrumentStatus *ctp.CThostFtdcInstrumentStatusField) uintptr

func (*Trade) OnRtnOpenAccountByBank added in v1.0.1

func (t *Trade) OnRtnOpenAccountByBank(pOpenAccount *ctp.CThostFtdcOpenAccountField) uintptr

func (*Trade) OnRtnOptionSelfClose added in v1.0.1

func (t *Trade) OnRtnOptionSelfClose(pOptionSelfClose *ctp.CThostFtdcOptionSelfCloseField) uintptr

func (*Trade) OnRtnOrder added in v1.0.1

func (t *Trade) OnRtnOrder(pOrder *ctp.CThostFtdcOrderField) uintptr

func (*Trade) OnRtnQueryBankBalanceByFuture added in v1.0.1

func (t *Trade) OnRtnQueryBankBalanceByFuture(pNotifyQueryAccount *ctp.CThostFtdcNotifyQueryAccountField) uintptr

func (*Trade) OnRtnQuote added in v1.0.1

func (t *Trade) OnRtnQuote(pQuote *ctp.CThostFtdcQuoteField) uintptr

func (*Trade) OnRtnRepealFromBankToFutureByBank added in v1.0.1

func (t *Trade) OnRtnRepealFromBankToFutureByBank(pRspRepeal *ctp.CThostFtdcRspRepealField) uintptr

func (*Trade) OnRtnRepealFromBankToFutureByFuture added in v1.0.1

func (t *Trade) OnRtnRepealFromBankToFutureByFuture(pRspRepeal *ctp.CThostFtdcRspRepealField) uintptr

func (*Trade) OnRtnRepealFromBankToFutureByFutureManual added in v1.0.1

func (t *Trade) OnRtnRepealFromBankToFutureByFutureManual(pRspRepeal *ctp.CThostFtdcRspRepealField) uintptr

func (*Trade) OnRtnRepealFromFutureToBankByBank added in v1.0.1

func (t *Trade) OnRtnRepealFromFutureToBankByBank(pRspRepeal *ctp.CThostFtdcRspRepealField) uintptr

func (*Trade) OnRtnRepealFromFutureToBankByFuture added in v1.0.1

func (t *Trade) OnRtnRepealFromFutureToBankByFuture(pRspRepeal *ctp.CThostFtdcRspRepealField) uintptr

func (*Trade) OnRtnRepealFromFutureToBankByFutureManual added in v1.0.1

func (t *Trade) OnRtnRepealFromFutureToBankByFutureManual(pRspRepeal *ctp.CThostFtdcRspRepealField) uintptr

func (*Trade) OnRtnTrade added in v1.0.1

func (t *Trade) OnRtnTrade(pTrade *ctp.CThostFtdcTradeField) uintptr

func (*Trade) OnRtnTradingNotice added in v1.0.1

func (t *Trade) OnRtnTradingNotice(pTradingNoticeInfo *ctp.CThostFtdcTradingNoticeInfoField) uintptr

Jump to

Keyboard shortcuts

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