ReqQryInvestorProductGroupMargin

CTP-API

ReqQryInvestorProductGroupMargin

ReqQryInvestorProductGroupMargin


请求查询投资者品种/跨品种保证金

响应: OnRspQryInvestorProductGroupMargin

1.函数原型

virtual int ReqQryInvestorProductGroupMargin(CThostFtdcQryInvestorProductGroupMarginField *pQryInvestorProductGroupMargin, int nRequestID) = 0;

2.参数

pQryInvestorProductGroupMargin:查询投资者品种/跨品种保证金

struct CThostFtdcQryInvestorProductGroupMarginField
{
    ///经纪公司代码
    TThostFtdcBrokerIDType BrokerID;
    ///投资者代码
    TThostFtdcInvestorIDType InvestorID;
    ///品种/跨品种标示
    TThostFtdcInstrumentIDType ProductGroupID;
    ///投机套保标志
    TThostFtdcHedgeFlagType HedgeFlag;
    ///交易所代码
    TThostFtdcExchangeIDType ExchangeID;
    ///投资单元代码
    TThostFtdcInvestUnitIDType InvestUnitID;
};

nRequestID:请求ID,对应响应里的nRequestID,无递增规则,由用户自行维护。

3.返回

0,代表成功。

-1,表示网络连接失败;

-2,表示未处理请求超过许可数;

-3,表示每秒发送请求数超过许可数。

4.调用示例

5.FAQ


< 前页 回目录 后页 >