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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    116 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    61 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    40 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    43 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    82 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X