From 8b58a722479989770f54f4ebdad3c26c8afca7f5 Mon Sep 17 00:00:00 2001 From: moshferatu Date: Tue, 1 Oct 2024 05:36:22 -0700 Subject: [PATCH] Override DisplayName in TPS strategy --- strategies/tps/TPSBot.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/strategies/tps/TPSBot.cs b/strategies/tps/TPSBot.cs index 7c57b3b..105958e 100644 --- a/strategies/tps/TPSBot.cs +++ b/strategies/tps/TPSBot.cs @@ -108,6 +108,11 @@ namespace NinjaTrader.NinjaScript.Strategies return quantity > 0 ? quantity : 1; } + public override string DisplayName + { + get { return Name; } + } + #region Properties [NinjaScriptProperty]