фикс переопределения стопов
test / deploy_trader_prod (push) Successful in 1m40s
Details
test / deploy_trader_prod (push) Successful in 1m40s
Details
parent
a2a1f5a053
commit
816ad0f677
|
@ -285,7 +285,7 @@ namespace KLHZ.Trader.Core.Exchange.Services
|
|||
InstrumentId = figi,
|
||||
Direction = stopOrdersDirection,
|
||||
PriceType = PriceType.Point,
|
||||
Quantity = (long)asset.Count,
|
||||
Quantity = System.Math.Abs((long)asset.Count),
|
||||
StopOrderType = StopOrderType.TakeProfit,
|
||||
StopPrice = asset.Count > 0 ? executedPrice + takeProfitShift : executedPrice - takeProfitShift,
|
||||
ExchangeOrderType = ExchangeOrderType.Market,
|
||||
|
|
Loading…
Reference in New Issue