Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

补充交易接口的API和SPI #5

Open
DennisXie opened this issue Apr 5, 2023 · 1 comment
Open

补充交易接口的API和SPI #5

DennisXie opened this issue Apr 5, 2023 · 1 comment
Labels
feature high High priority issue.

Comments

@DennisXie
Copy link
Member

DennisXie commented Apr 5, 2023

请另外建一个issue说明在补充哪些API和SPI,新建的issue请引用本issue并在本issue下comment,然后把开发中的API和SPI填写在开发中一栏,merge以后再改到已有中。

已有

  • login
  • ReqQryInstrument
  • OnRspReqQryInstrument

开发中

  • ReqUserPasswordUpdate
  • OnRspUserPasswordUpdate
  • ReqOrderInsert
  • OnRspOrderInsert
  • OnErrRtnOrderInsert
  • ReqOrderAction
  • OnRspOrderAction
  • OnErrRtnOrderAction
  • ReqQryMaxOrderVolume
  • OnRspQryMaxOrderVolume
  • ReqQryOrder
  • OnRspQryOrder

未开发

  • GetApiVersion
  • GetTradingDay
  • RegisterFensUserInfo
  • RegisterNameServer
  • RegisterUserSystemInfo
  • ReqBatchOrderAction
  • ReqCombActionInsert
  • ReqExecOrderAction
  • ReqExecOrderInsert
  • ReqForQuoteInsert
  • ReqFromBankToFutureByFuture
  • ReqFromFutureToBankByFuture
  • ReqGenUserCaptcha
  • ReqGenUserText
  • ReqOptionSelfCloseAction
  • ReqOptionSelfCloseInsert
  • ReqParkedOrderAction
  • ReqParkedOrderInsert
  • ReqQryAccountregister
  • ReqQryBrokerTradingAlgos
  • ReqQryBrokerTradingParams
  • ReqQryCFMMCTradingAccountKey
  • ReqQryClassifiedInstrument
  • ReqQryCombAction
  • ReqQryCombInstrumentGuard
  • ReqQryCombPromotionParam
  • ReqQryContractBank
  • ReqQryDepthMarketData
  • ReqQryEWarrantOffset
  • ReqQryExchange
  • ReqQryExchangeMarginRate
  • ReqQryExchangeMarginRateAdjust
  • ReqQryExchangeRate
  • ReqQryExecOrder
  • ReqQryForQuote
  • ReqQryInstrumentCommissionRate
  • ReqQryInstrumentMarginRate
  • ReqQryInstrumentOrderCommRate
  • ReqQryInvestUnit
  • ReqQryInvestor
  • ReqQryInvestorPosition
  • ReqQryInvestorPositionCombineDetail
  • ReqQryInvestorPositionDetail
  • ReqQryInvestorProductGroupMargin
  • ReqQryMMInstrumentCommissionRate
  • ReqQryMMOptionInstrCommRate
  • ReqQryNotice
  • ReqQryOptionInstrCommRate
  • ReqQryOptionInstrTradeCost
  • ReqQryOptionSelfClose
  • ReqQryParkedOrder
  • ReqQryParkedOrderAction
  • ReqQryProduct
  • ReqQryProductExchRate
  • ReqQryProductGroup
  • ReqQryQuote
  • ReqQryRiskSettleInvstPosition
  • ReqQryRiskSettleProductStatus
  • ReqQrySecAgentACIDMap
  • ReqQrySecAgentCheckMode
  • ReqQrySecAgentTradeInfo
  • ReqQrySecAgentTradingAccount
  • ReqQrySettlementInfo
  • ReqQrySettlementInfoConfirm
  • ReqQryTrade
  • ReqQryTraderOffer
  • ReqQryTradingAccount
  • ReqQryTradingCode
  • ReqQryTradingNotice
  • ReqQryTransferBank
  • ReqQryTransferSerial
  • ReqQueryBankAccountMoneyByFuture
  • ReqQueryCFMMCTradingAccountToken
  • ReqQuoteAction
  • ReqQuoteInsert
  • ReqRemoveParkedOrder
  • ReqRemoveParkedOrderAction
  • ReqSettlementInfoConfirm
  • ReqTradingAccountPasswordUpdate
  • ReqUserAuthMethod
  • ReqUserLoginWithCaptcha
  • ReqUserLoginWithOTP
  • ReqUserLoginWithText
  • ReqUserLogout
  • SubmitUserSystemInfo
  • SubscribePrivateTopic
  • SubscribePublicTopic

  • OnErrRtnBankToFutureByFuture
  • OnErrRtnBatchOrderAction
  • OnErrRtnCombActionInsert
  • OnErrRtnExecOrderAction
  • OnErrRtnExecOrderInsert
  • OnErrRtnForQuoteInsert
  • OnErrRtnFutureToBankByFuture
  • OnErrRtnOptionSelfCloseAction
  • OnErrRtnOptionSelfCloseInsert
  • OnErrRtnQueryBankBalanceByFuture
  • OnErrRtnQuoteAction
  • OnErrRtnQuoteInsert
  • OnErrRtnRepealBankToFutureByFutureManual
  • OnErrRtnRepealFutureToBankByFutureManual
  • OnHeartBeatWarning
  • OnRspBatchOrderAction
  • OnRspCombActionInsert
  • OnRspError
  • OnRspExecOrderAction
  • OnRspExecOrderInsert
  • OnRspForQuoteInsert
  • OnRspFromBankToFutureByFuture
  • OnRspFromFutureToBankByFuture
  • OnRspGenUserCaptcha
  • OnRspGenUserText
  • OnRspOptionSelfCloseAction
  • OnRspOptionSelfCloseInsert
  • OnRspParkedOrderAction
  • OnRspParkedOrderInsert
  • OnRspQryAccountregister
  • OnRspQryBrokerTradingAlgos
  • OnRspQryBrokerTradingParams
  • OnRspQryCFMMCTradingAccountKey
  • OnRspQryClassifiedInstrument
  • OnRspQryCombAction
  • OnRspQryCombInstrumentGuard
  • OnRspQryCombPromotionParam
  • OnRspQryContractBank
  • OnRspQryDepthMarketData
  • OnRspQryEWarrantOffset
  • OnRspQryExchange
  • OnRspQryExchangeMarginRate
  • OnRspQryExchangeMarginRateAdjust
  • OnRspQryExchangeRate
  • OnRspQryExecOrder
  • OnRspQryForQuote
  • OnRspQryInstrumentCommissionRate
  • OnRspQryInstrumentMarginRate
  • OnRspQryInstrumentOrderCommRate
  • OnRspQryInvestUnit
  • OnRspQryInvestor
  • OnRspQryInvestorPosition
  • OnRspQryInvestorPositionCombineDetail
  • OnRspQryInvestorPositionDetail
  • OnRspQryInvestorProductGroupMargin
  • OnRspQryMMInstrumentCommissionRate
  • OnRspQryMMOptionInstrCommRate
  • OnRspQryNotice
  • OnRspQryOptionInstrCommRate
  • OnRspQryOptionInstrTradeCost
  • OnRspQryOptionSelfClose
  • OnRspQryParkedOrder
  • OnRspQryParkedOrderAction
  • OnRspQryProduct
  • OnRspQryProductExchRate
  • OnRspQryProductGroup
  • OnRspQryQuote
  • OnRspQryRiskSettleInvstPosition
  • OnRspQryRiskSettleProductStatus
  • OnRspQrySecAgentACIDMap
  • OnRspQrySecAgentCheckMode
  • OnRspQrySecAgentTradeInfo
  • OnRspQrySecAgentTradingAccount
  • OnRspQrySettlementInfo
  • OnRspQrySettlementInfoConfirm
  • OnRspQryTrade
  • OnRspQryTraderOffer
  • OnRspQryTradingAccount
  • OnRspQryTradingCode
  • OnRspQryTradingNotice
  • OnRspQryTransferBank
  • OnRspQryTransferSerial
  • OnRspQueryBankAccountMoneyByFuture
  • OnRspQueryCFMMCTradingAccountToken
  • OnRspQuoteAction
  • OnRspQuoteInsert
  • OnRspRemoveParkedOrder
  • OnRspRemoveParkedOrderAction
  • OnRspSettlementInfoConfirm
  • OnRspTradingAccountPasswordUpdate
  • OnRspUserAuthMethod
  • OnRspUserLogout
  • OnRtnBulletin
  • OnRtnCFMMCTradingAccountToken
  • OnRtnCancelAccountByBank
  • OnRtnChangeAccountByBank
  • OnRtnCombAction
  • OnRtnErrorConditionalOrder
  • OnRtnExecOrder
  • OnRtnForQuoteRsp
  • OnRtnFromBankToFutureByBank
  • OnRtnFromBankToFutureByFuture
  • OnRtnFromFutureToBankByBank
  • OnRtnFromFutureToBankByFuture
  • OnRtnInstrumentStatus
  • OnRtnOpenAccountByBank
  • OnRtnOptionSelfClose
  • OnRtnOrder
  • OnRtnQueryBankBalanceByFuture
  • OnRtnQuote
  • OnRtnRepealFromBankToFutureByBank
  • OnRtnRepealFromBankToFutureByFuture
  • OnRtnRepealFromBankToFutureByFutureManual
  • OnRtnRepealFromFutureToBankByBank
  • OnRtnRepealFromFutureToBankByFuture
  • OnRtnRepealFromFutureToBankByFutureManual
  • OnRtnTrade
  • OnRtnTradingNotice
@DennisXie DennisXie added feature high High priority issue. labels Apr 5, 2023
@DennisXie
Copy link
Member Author

以下接口相对重要,需要优先来做。

///用户口令更新请求
virtual int ReqUserPasswordUpdate(CThostFtdcUserPasswordUpdateField *pUserPasswordUpdate, int nRequestID) = 0;
///报单录入请求
virtual int ReqOrderInsert(CThostFtdcInputOrderField *pInputOrder, int nRequestID) = 0;
///报单操作请求
virtual int ReqOrderAction(CThostFtdcInputOrderActionField *pInputOrderAction, int nRequestID) = 0;
///查询最大报单数量请求
virtual int ReqQueryMaxOrderVolume(CThostFtdcQueryMaxOrderVolumeField *pQueryMaxOrderVolume, int nRequestID) = 0;
///请求查询报单
virtual int ReqQryOrder(CThostFtdcQryOrderField *pQryOrder, int nRequestID) = 0;

///请求查询成交
virtual int ReqQryTrade(CThostFtdcQryTradeField *pQryTrade, int nRequestID) = 0;

///请求查询投资者持仓
virtual int ReqQryInvestorPosition(CThostFtdcQryInvestorPositionField *pQryInvestorPosition, int nRequestID) = 0;

///请求查询资金账户
virtual int ReqQryTradingAccount(CThostFtdcQryTradingAccountField *pQryTradingAccount, int nRequestID) = 0;

///请求查询投资者
virtual int ReqQryInvestor(CThostFtdcQryInvestorField *pQryInvestor, int nRequestID) = 0;

///请求查询交易编码
virtual int ReqQryTradingCode(CThostFtdcQryTradingCodeField *pQryTradingCode, int nRequestID) = 0;

///请求查询合约保证金率
virtual int ReqQryInstrumentMarginRate(CThostFtdcQryInstrumentMarginRateField *pQryInstrumentMarginRate, int nRequestID) = 0;

///请求查询合约手续费率
virtual int ReqQryInstrumentCommissionRate(CThostFtdcQryInstrumentCommissionRateField *pQryInstrumentCommissionRate, int nRequestID) = 0;

///请求查询交易所
virtual int ReqQryExchange(CThostFtdcQryExchangeField *pQryExchange, int nRequestID) = 0;

///请求查询产品
virtual int ReqQryProduct(CThostFtdcQryProductField *pQryProduct, int nRequestID) = 0;

///请求查询合约
virtual int ReqQryInstrument(CThostFtdcQryInstrumentField *pQryInstrument, int nRequestID) = 0;

///请求查询行情
virtual int ReqQryDepthMarketData(CThostFtdcQryDepthMarketDataField *pQryDepthMarketData, int nRequestID) = 0;
///请求查询投资者持仓明细
virtual int ReqQryInvestorPositionDetail(CThostFtdcQryInvestorPositionDetailField *pQryInvestorPositionDetail, int nRequestID) = 0;
///请求查询交易所保证金率
virtual int ReqQryExchangeMarginRate(CThostFtdcQryExchangeMarginRateField *pQryExchangeMarginRate, int nRequestID) = 0;
///请求查询报单手续费
virtual int ReqQryInstrumentOrderCommRate(CThostFtdcQryInstrumentOrderCommRateField *pQryInstrumentOrderCommRate, int nRequestID) = 0;
///请求查询期权交易成本
virtual int ReqQryOptionInstrTradeCost(CThostFtdcQryOptionInstrTradeCostField *pQryOptionInstrTradeCost, int nRequestID) = 0;

///请求查询期权合约手续费
virtual int ReqQryOptionInstrCommRate(CThostFtdcQryOptionInstrCommRateField *pQryOptionInstrCommRate, int nRequestID) = 0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature high High priority issue.
Projects
None yet
Development

No branches or pull requests

1 participant