After Order is filled tyo buy i set 

Trail Stop Loss  and Stop Limit for profit , this works for QuantConnectBrokerage and InteractiveBrokersBrokerage but for Alpaca i get error below.

OnOrderEvent(OrderEvent orderEvent)

StopMarketOrder(orderEvent.Symbol,
-Portfolio[orderEvent.Symbol].Quantity,
higehstPrice * _stopLossPercent);

LimitOrder( orderEvent.Symbol,
-Portfolio[orderEvent.Symbol].Quantity,
orderEvent.FillPrice * _maxProfit);

 

 
Backtest Handled Error: OrderID: 3 Warning - Code: NotSupported - The AlpacaBrokerageModel does not support submitting orders which could potentially reverse the position (from long to short) [position:2388, order quantity:-2388, open sell orders quantity:-2388, available sell quantity:0].