фикс переопределения стопов
test / deploy_trader_prod (push) Successful in 1m35s
Details
test / deploy_trader_prod (push) Successful in 1m35s
Details
parent
0e41ab8e0a
commit
a2a1f5a053
|
@ -270,7 +270,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.StopLoss,
|
||||
StopPrice = asset.Count > 0 ? executedPrice - stopLossShift : executedPrice + stopLossShift,
|
||||
ExchangeOrderType = ExchangeOrderType.Market,
|
||||
|
|
Loading…
Reference in New Issue