コード例 #1
0
        public override void OnRspUserLogin(CHSRspUserLoginField pRspUserLogin, CHSRspInfoField pRspInfo, int nRequestID, bool bIsLast)
        {
            Console.WriteLine("OnRspUserLogin");

            var marketReq = new CHSReqQryDepthMarketDataField()
            {
                ExchangeID   = "F1",
                InstrumentID = "AP811"
            };

            _api.ReqQryDepthMarketData(marketReq, _requestId++);
        }
コード例 #2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(CHSRspUserLoginField obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }