Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

txt parsing + multiple strategies

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

    txt parsing + multiple strategies

    I'd like to do the following:

    1) Parse a txt file finding price and instrument names (txt computer generated so they always have the same position and format).
    2) Start a strategy for every futures contract in the file with proper parameters. I already wrote the strategy that i manually start with proper parameters every day for every contract...

    I already found indicator examples about reading a file from disk.... but how can i start a strategy from another strategy?
    I can't use a single strategy to manage all the instruments because i want to manually stop them in case i need without stopping all....

    thx
    Last edited by skynetman; 04-16-2008, 04:10 PM.

    #2
    Spawning strategies from other strategies is beyond what is currently supported.
    RayNinjaTrader Customer Service

    Comment


      #3
      What if...

      You created a Windows application that can parse your txt files to get a list of all futures that you want to trade.

      Then this Windows application uses SendKeys() API to add each strategy (for each futures) with the proper parameters to NinjaTrader.

      Here are some ideas to get you started:

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Skifree, Today, 03:41 AM
      1 response
      2 views
      0 likes
      Last Post Skifree
      by Skifree
       
      Started by usazencort, Today, 01:16 AM
      0 responses
      1 view
      0 likes
      Last Post usazencort  
      Started by kaywai, 09-01-2023, 08:44 PM
      5 responses
      603 views
      0 likes
      Last Post NinjaTrader_Jason  
      Started by xiinteractive, 04-09-2024, 08:08 AM
      6 responses
      23 views
      0 likes
      Last Post xiinteractive  
      Started by Pattontje, Yesterday, 02:10 PM
      2 responses
      22 views
      0 likes
      Last Post Pattontje  
      Working...
      X