private void TradeExt_OnRtnErrOrder(object sender, ErrOrderArgs e) { if (!e.Value.IsLocal) { return; } }
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}"); }
private void OnErrOrder(object sender, ErrOrderArgs e) { this.Invoke(new Action(() => { if (_bsOrder.IndexOf(e.Value) < 0) { _bsOrder.Add(e.Value); } })); }
private void OnErrCancel(object sender, ErrOrderArgs e) { }