示例#1
0
 private void TradeExt_OnRtnErrOrder(object sender, ErrOrderArgs e)
 {
     if (!e.Value.IsLocal)
     {
         return;
     }
 }
示例#2
0
        private void TradeExt_OnRtnErrOrder1(object sender, ErrOrderArgs e)
        {
            if (!e.Value.IsLocal)
            {
                return;
            }

            ShowInfo($"报单错误,{e.Value.Custom:000000000000},{e.Value.InstrumentID,-8},{e.Value.Direction,4},{e.Value.Offset,6},{e.Value.LimitPrice,8},{e.Value.Volume,4},剩{e.Value.VolumeLeft,4},{e.Value.StatusMsg}");
        }
示例#3
0
 private void OnErrOrder(object sender, ErrOrderArgs e)
 {
     this.Invoke(new Action(() =>
     {
         if (_bsOrder.IndexOf(e.Value) < 0)
         {
             _bsOrder.Add(e.Value);
         }
     }));
 }
示例#4
0
 private void OnErrCancel(object sender, ErrOrderArgs e)
 {
 }