/// <summary> /// Send to exchange command to place market order if a certain conditions. /// </summary> /// <param name="symbol">Symbol of order. <see cref="Symbol"/></param> /// <param name="side">Buy or Sell. <see cref="OrderSide"/></param> /// <param name="quantity">Quantity of order.</param> /// <param name="lagTicks">The number of ticks that the tracked price lags behind the spot.</param> /// <param name="orderStatusHandler">Method that will called when order status received.</param> /// <param name="errorHandler">Method that will called when order error received.</param> /// <returns>OrderTrailingStop if success else null. <see cref="OrderTrailingStop"/></returns> public OrderTrailingStop PlaceOrderTrailingStop(Symbol symbol, OrderSide side, decimal quantity, int lagTicks, Action <OrderBase> orderStatusHandler = null, Action <OrderBase, ErrorCodes> errorHandler = null) => Account.PlaceOrderTrailingStop(symbol, side, quantity, lagTicks, orderStatusHandler, errorHandler);