OnRspQryExecFreeze
请求查询E+1日行权冻结响应,当执行ReqQryExecFreeze后,该方法被调用。
1.函数原型
virtual void OnRspQryExecFreeze(CThostFtdcExecFreezeField *pExecFreeze, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
2.参数
pExecFreeze:行权冻结
struct CThostFtdcExecFreezeField
{
///标的合约代码
TThostFtdcInstrumentIDType InstrumentID;
///交易所代码
TThostFtdcExchangeIDType ExchangeID;
///经纪公司代码
TThostFtdcBrokerIDType BrokerID;
///投资者代码
TThostFtdcInvestorIDType InvestorID;
///持仓多空方向
TThostFtdcPosiDirectionType PosiDirection;
///期权类型
TThostFtdcOptionsTypeType OptionsType;
///冻结的数量_单位股
TThostFtdcVolumeType Volume;
///冻结金额
TThostFtdcMoneyType FrozenAmount;
};
pRspInfo:响应信息
struct CThostFtdcRspInfoField
{
///错误代码
TThostFtdcErrorIDType ErrorID;
///错误信息
TThostFtdcErrorMsgType ErrorMsg;
};
nRequestID:返回用户操作请求的ID,该ID 由用户在操作请求时指定。
bIsLast:指示该次返回是否为针对nRequestID的最后一次返回。
3.返回
无
4.FAQ
无