openctp / webctp

将CTP接口转换成websocket+json协议对外通讯,适合web类应用。
http://www.openctp.cn
BSD 3-Clause "New" or "Revised" License
42 stars 12 forks source link

查询成交、持仓、资金账户、投资者、交易编码、保证金率和手续费率的API和SPI函数 #23

Closed DennisXie closed 1 year ago

DennisXie commented 1 year ago

相关issue #5 ///请求查询成交 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;

hcisgood commented 1 year ago

我在搞这个

DennisXie commented 1 year ago

我在搞这个

我建议你先别着急,等我把我手里这个单合并了先。