/// <summary> /// Send to exchange command to cancel limit order. /// </summary> /// <param name="order">Order that needs to cancel. <see cref="OrderBase"/></param> /// <returns>True if success else false.</returns> public bool CancelOrder(OrderBase order) => Account.CancelOrder(order);
public bool Cancel() => Account?.CancelOrder(this) ?? false;