fix: apply GAP-035 GAP-036 GAP-038 GAP-039 runtime remediations
This commit is contained in:
@@ -134,8 +134,8 @@ namespace NinjaTrader.NinjaScript.Strategies
|
||||
BarsRequiredToTrade = 50;
|
||||
MinTradeGrade = 5;
|
||||
EnableLongTrades = true;
|
||||
// Long-only: short trades permanently disabled pending backtest confirmation
|
||||
EnableShortTrades = false;
|
||||
// Shorts are in scope for the gate run; keep source defaults aligned with live workspace usage.
|
||||
EnableShortTrades = true;
|
||||
EnableAutoBreakeven = true;
|
||||
BreakevenTriggerTicks = 20;
|
||||
BreakevenOffsetTicks = 1;
|
||||
@@ -152,6 +152,7 @@ namespace NinjaTrader.NinjaScript.Strategies
|
||||
ATRTrailingMultiplier = 2.0; // GAP-009
|
||||
ATRTrailingMinTicks = 8; // GAP-009
|
||||
ATRTrailingMaxTicks = 60; // GAP-009
|
||||
// AdoptAccountPosition avoids NT8 start-up synchronization submitting or flattening during historical replay bursts before the first live bar.
|
||||
StartBehavior = StartBehavior.AdoptAccountPosition;
|
||||
}
|
||||
else if (State == State.Configure)
|
||||
|
||||
Reference in New Issue
Block a user