Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Finding Strategy name

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Finding Strategy name

    Hi My Friends,

    I am looking for a way to access the Strategy Name through code.
    I tried something like Strategies.FindById but I dont have the ID either. It opens open a lot of options but but most of them are not static. Ideal would be "Strategies.Strategy.Name"

    Pleas advise,

    thanks


    mcosta72
    NinjaTrader Ecosystem Vendor - Quant-Wise

    #2
    Hello mcosta72,

    Thank you for the post.

    You can use GetType() from the Reflection package to get the fully qualified class name for the strategy.

    Try printing this:

    Print(this.GetType().ToString());

    Please let me know if I can assist further.

    Comment


      #3
      That's it,

      Thank you!
      mcosta72
      NinjaTrader Ecosystem Vendor - Quant-Wise

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      639 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      366 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      107 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      569 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      572 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X