Изменил дефолтное значение take profit
test / deploy_trader_prod (push) Successful in 1m49s Details

dev
vlad zverzhkhovskiy 2025-09-23 13:52:47 +03:00
parent ee55d3a4b4
commit 4b50058d77
1 changed files with 2 additions and 2 deletions

View File

@ -704,8 +704,8 @@ INewPrice message, int windowMaxSize, decimal uptrendStartingDetectionMeanfullSt
private (decimal stopLoss, decimal takeProfit) GetStops(INewPrice message, PositionType type)
{
var mode = TradingModes[message.Figi];
decimal stopLossShift = 5;
decimal takeProfitShift = 4;
decimal stopLossShift = 4;
decimal takeProfitShift = 2;
if (mode == TradingMode.Growing && type == PositionType.Long)
{
stopLossShift = 5;