изменение стопов
test / deploy_trader_prod (push) Successful in 2m58s
Details
test / deploy_trader_prod (push) Successful in 2m58s
Details
parent
ab4375489a
commit
bfa3ef6605
|
@ -899,7 +899,7 @@ INewPrice message, int windowMaxSize, decimal? uptrendStartingDetectionMeanfullS
|
|||
//result = MergeResultsMult(result, getFFTModsTask.Result);
|
||||
//result = MergeResultsMult(result, getSellsDiffsModsTask.Result);
|
||||
result = MergeResultsMult(result, getTradingModeModsTask.Result);
|
||||
result = MergeResultsMult(result, getSpeedResultantModsTask.Result);
|
||||
//result = MergeResultsMult(result, getSpeedResultantModsTask.Result);
|
||||
|
||||
if (result[TradingEvent.UptrendStart] >= Constants.UppingCoefficient
|
||||
&& !LongOpeningStops.ContainsKey(message.Figi)
|
||||
|
@ -1197,7 +1197,7 @@ INewPrice message, int windowMaxSize, decimal? uptrendStartingDetectionMeanfullS
|
|||
private (decimal stopLoss, decimal takeProfit) GetStops(INewPrice message, PositionType type)
|
||||
{
|
||||
var mode = TradingModes[message.Figi];
|
||||
decimal stopLossShift = 1.5m;
|
||||
decimal stopLossShift = 2m;
|
||||
decimal takeProfitShift = 6;
|
||||
if (mode == TradingMode.Growing && type == PositionType.Long)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue