public OnRspQrySettlementInfoArgs(ref CThostFtdcSettlementInfoField pSettlementInfo, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast) { this.pSettlementInfo = pSettlementInfo; this.pRspInfo = pRspInfo; this.nRequestID = nRequestID; this.bIsLast = bIsLast; }
private void OnRspQrySettlementInfo_callback(object sender, ref CThostFtdcSettlementInfoField pSettlementInfo, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast) { if (null != OnRspQrySettlementInfo) { OnRspQrySettlementInfo(this, new OnRspQrySettlementInfoArgs(ref pSettlementInfo, ref pRspInfo, nRequestID, bIsLast)); } }
/// <summary> /// 查询结算信息回报 /// </summary> private void CTradeApi_OnRspQrySettlementInfo(ref CThostFtdcSettlementInfoField pSettlementInfo, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast) { if (pRspInfo.ErrorID == 0) { _sbSettlementInfo.Append(pSettlementInfo.Content); } this._isQrySettlementInfoCompleted = bIsLast; }
private void CTPOnRspQrySettleInfo(ref CThostFtdcSettlementInfoField pSettlementInfo, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast) { this.SettleInfo += pSettlementInfo.Content; if (bIsLast) { Thread.Sleep(1100); //查询流控 _t.ReqSettlementInfoConfirm(_broker, _investor); } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CThostFtdcSettlementInfoField obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }
private void OnRspQrySettlementInfo_3(ref CThostFtdcSettlementInfoField pSettlementInfo, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast) { OnRspQrySettlementInfo_1(this, ref pSettlementInfo, ref pRspInfo, nRequestID, bIsLast); }
private void OnRspQrySettlementInfo_3(IntPtr pTraderApi, ref CThostFtdcSettlementInfoField pSettlementInfo, ref CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast) { OnRspQrySettlementInfo_1(this, pTraderApi, ref pSettlementInfo, ref pRspInfo, nRequestID, bIsLast); }
public override void OnRspQrySettlementInfo(CThostFtdcSettlementInfoField pSettlementInfo, CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast) { _callbackApi.OnRspQrySettlementInfo(pSettlementInfo, pRspInfo, nRequestID, bIsLast); }
///请求查询投资者结算结果响应 public void OnRspQrySettlementInfo(CThostFtdcSettlementInfoField pSettlementInfo, CThostFtdcRspInfoField pRspInfo, int nRequestID, bool bIsLast) { Console.WriteLine("OnRspQrySettlementInfo"); }