Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Defaults for Primary Instrument Series

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

    Defaults for Primary Instrument Series

    Hello.
    In my ninjascript, where do I set default values for my primary series? In particular, when I pull up a strategy to run on the Strategies tab, the Parameters are all correct, but the Data Series defaults to Instrument: ES 03-19, Type: Minute, Value: 5, whereas I want a different Instrument and the Minute Value to be 30. It's easy enough to change manually via the UI when I run the strategies, but I prefer to have it just automatically populate with the correct value to minimize possible mistakes. I'm aware I can also specify this via AddDataSeries, but was wondering if there's way to do it just working with the Primary Instrument.
    Thanks!

    #2
    Hello stewarco,

    Thank you for the post.

    At this time it is not possible to have a default instrument or dataseries settings defined in code.

    If you are working in the control center you can save templates and a default template for the strategy, when you go to apply it there is a small button in the lower right of the strategies window that says Template. That will allow for instrument and other settings to be saved so you can apply them when applying a strategy.

    I look forward to being of further assistance.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    132 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    118 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X