请求查询交易所调整保证金率响应,当执行ReqQryExchangeMarginRateAdjust后,该方法被调用。
◇ 1. 函数原型
virtual void OnRspQryExchangeMarginRateAdjust(CThostFtdcExchangeMarginRateAdjustField *pExchangeMarginRateAdjust, CThostFtdcRspInfoField *pRspInfo, int nRequestID, bool bIsLast) {};
◇ 2. 参数
pExchangeMarginRateAdjust:交易所保证金率调整
struct CThostFtdcExchangeMarginRateAdjustField
{
///经纪公司代码
TThostFtdcBrokerIDType BrokerID;
///保留的无效字段
TThostFtdcOldInstrumentIDType reserve1;
///投机套保标志
TThostFtdcHedgeFlagType HedgeFlag;
///跟随交易所投资者多头保证金率
TThostFtdcRatioType LongMarginRatioByMoney;
///跟随交易所投资者多头保证金费
TThostFtdcMoneyType LongMarginRatioByVolume;
///跟随交易所投资者空头保证金率
TThostFtdcRatioType ShortMarginRatioByMoney;
///跟随交易所投资者空头保证金费
TThostFtdcMoneyType ShortMarginRatioByVolume;
///交易所多头保证金率
TThostFtdcRatioType ExchLongMarginRatioByMoney;
///交易所多头保证金费
TThostFtdcMoneyType ExchLongMarginRatioByVolume;
///交易所空头保证金率
TThostFtdcRatioType ExchShortMarginRatioByMoney;
///交易所空头保证金费
TThostFtdcMoneyType ExchShortMarginRatioByVolume;
///不跟随交易所投资者多头保证金率
TThostFtdcRatioType NoLongMarginRatioByMoney;
///不跟随交易所投资者多头保证金费
TThostFtdcMoneyType NoLongMarginRatioByVolume;
///不跟随交易所投资者空头保证金率
TThostFtdcRatioType NoShortMarginRatioByMoney;
///不跟随交易所投资者空头保证金费
TThostFtdcMoneyType NoShortMarginRatioByVolume;
///合约代码
TThostFtdcInstrumentIDType InstrumentID;
};
pRspInfo:响应信息
struct CThostFtdcRspInfoField
{
///错误代码
TThostFtdcErrorIDType ErrorID;
///错误信息
TThostFtdcErrorMsgType ErrorMsg;
};
nRequestID:返回用户操作请求的ID,该ID 由用户在操作请求时指定。
bIsLast:指示该次返回是否为针对nRequestID的最后一次返回。
◇ 3. 返回
当查询无记录时,指针返回为null
◇ 4. FAQ
跟随交易所多头保证金率,交易所多头保证金率,不跟随交易所多头保证金率,这三个有什么区别?
|
投资者交易所保证金率分两种属性(跟随交易所,不跟随交易所) 跟随交易所:投资者交易所保证金率=max(期货公司交易所保证金率,跟随交易所投资者多头保证金率+交易所多头保证金率) 不跟随交易所:投资者交易所保证金率=不跟随交易所投资者多头保证金率 |

< 前页 回目录 后页 >