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

Export all trades of backtest for a basket of instruments?

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

    Export all trades of backtest for a basket of instruments?

    Hi,

    I'm running backtests against a basket of stocks (an instrument list, not an instrument). Is there a method of exporting all trades at once (rather than clicking into each and every instrument and exporting them one by one)?

    If no, are there any internal files where they are stored (e.g. can I go into any of the system folders to find the trades)?

    If no, is there any method of saving the results of a strategy analyzer run against a basket of stocks, and loading the results again in the future?

    To explain, say I run a test that takes 12hrs to run, if I need to look more closely at the trades again, I don't want to have to repeat the 12hr run - I'd prefer to load up an export, or Db file, or saved results, so I can look closer.

    I've seen some similar posts that are 10-14yrs old on the forum saying it wasn't possible but the feature request was being upvoted, but checking to see if possible now.

    Many thanks

    ChainsawDR

    #2
    Hello ChainsawDR,

    I am not aware of a way to export these at once as they are different reports.

    You could write to file from with in the code instead using StreamWriter.
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by alifarahani, Today, 09:40 AM
    3 responses
    15 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by RookieTrader, Today, 09:37 AM
    4 responses
    17 views
    0 likes
    Last Post RookieTrader  
    Started by PaulMohn, Today, 12:36 PM
    0 responses
    4 views
    0 likes
    Last Post PaulMohn  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    39 views
    0 likes
    Last Post love2code2trade  
    Started by junkone, Today, 11:37 AM
    3 responses
    23 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X