Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Analyzer Log tab - View Strategy errors out

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

  • NinjaTrader_ChelseaB
    replied
    Hello tgn55,

    The logs are saved in that folder. When you click on a log it runs the test again to get the results.

    There is no place orders or trades are saved.

    Leave a comment:


  • tgn55
    replied
    I know that Chelsea... and the trades are NOT saved in that directory. Only the summary data, ie Total Profit, etc... basically the stuff reported in the Summary page. Nothing more.. I would like to know where the actual trades, as displayed in the SA are saved.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello tgn55,

    Strategy Analyzer Logs are saved in Documents\NinjaTrader 8\strategyanalyzerlogs

    Leave a comment:


  • tgn55
    replied
    Hi Chelsea... so I looked inside the sdf file, trying to get a handle on where trades from back-test/optimisations are saved. Seems they are not there either... so, not in .sdf nor .xml files.. can you please advise where they are located?

    Regards,

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello tgn55,

    Thank you for confirming what I have posted in post #12.

    With the ID provided please check the release notes for this ID as each new release of NinjaTrader 8. Once the ID is listed please test and confirm the behavior is resolved.

    Leave a comment:


  • tgn55
    replied
    No, that's not quite what I have been doing. In the open SA window, I'm typically browsing various optimisations I've run. I usually just click the leftmost arrow to open up a walk-forward series, then double-click one of the test periods. Same as I would double-click if I wanted to view say a different Optimisation (not a walk-forward). Walk-forwards clearly need the extra step to get to specific test-run periods to display detail.

    So I just tested your method...interesting results!!

    If I Open in Strategy Analyzer Tab ... it works... I get the trade details, charts etc... BUT...
    If I Open in New Strategy Analyzer... it still fails. Summary only, no trade details. If then, in the new SA window, I do the new Tab thing... that works.

    Enjoy ;

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello tgn55,

    I have received tracking ID# NTEIGHT-13990 for this behavior where opening a walk forward result from the log fails to load the display views correctly.

    May I confirm that you have right-clicked the log row and selected Open In New Strategy Analyzer?

    Leave a comment:


  • tgn55
    replied
    Hi... returning to this issue, as it just bit me again.

    Re the comment you made on 8/29, I tried closing and opening a new SA window... I can see trades/graphs for the most recent W/F... but two runs that I performed just a few minutes earlier.. nope... and then further down my history list, it starts working again. Very inconsistent. There is nothing in log or trace files reporting anything amiss.

    So... given that sometimes it correctly pulls prior walk-forward results... why not always? All the W/F runs I am clicking on were performed in the last hour or so... nothing older than that!

    Grrr.. just shutdown Ninja and restarted completely. Now, runs that were showing (eg any of the periods in my most recent W/F run) - no longer show anything except the Summary data.
    Again, further down the list (W/Fs performed about 2 hours back) show just fine.

    Unfortunately, seems it is not predictable/reproducible... but definitely something is broken. And evidently, the trade detail data is NOT kept in the XML file under strategyanalyzerlogs ... so I guess it's in the sdf database. I just spent 30 minutes messing about... I got various patterns of working/not working (mostly, not working), but nothing consistent. It does seem that the database access is getting screwed up. I ran a Repair Database... made no difference (again).

    T.
    Last edited by tgn55; 09-02-2019, 10:51 AM.

    Leave a comment:


  • tgn55
    replied
    I tried an AI Generate ... I see the View buttons in the Results pane... not greyed out... initially I got an error (same error as one of the errors I got when I click the View button in the History pane. The other error was the Object reference error, which is just bad coding...)...

    Click image for larger version

Name:	AI Generate View Strategy error.png
Views:	0
Size:	0
ID:	1068961

    After restarting NT, I ran another AI test... and the View button now worked, showing the AutoStrategy in the editor.
    I also found that now, the View buttons in the log history pane also now shows the AutoStrategy !

    So it seems the developers have coded the View button to be ONLY used for AI Generate stuff.... but here's an extract from the documentation...which clearly implies saved code for an optimisation (any) can be used...

    Click image for larger version

Name:	Hint at View Code in userguide.png
Views:	476
Size:	16.6 KB
ID:	1068960

    So... here's my suggestions/request
    a) change code so that users who have never run an AI Generate don't get errors if they hit the View button in the history...
    b) even better ... implement the View functionality in the log history... should be possible, the source code is already saved in the strategyanalyzerlogs folder.


    Now, the other issue...
    For me the display of log results mostly (only ??) fails when accessing walk-forward runs. Please try those...I might make a video showing this...

    Do you guys have ability to screen-share? Would be easier than making videos...
    Last edited by tgn55; 08-29-2019, 12:50 AM.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello tgn55,

    The help guide doesn't explicitly show that the View button will be gray for other types of tests, but it does only mention the View button on the AI Generate section of the help guide. By having it grayed out that's the developments way of saying its not available.
    https://ninjatrader.com/support/help...rdOptimization

    I'm looking into the behavior with double left clicking to open a log result and it not loading correctly. I was able to reproduce a few times, but I'm finding its inconsistent and sometimes works exactly right. Once I can lock down whats going on I'll provide a tracking ID.

    I did notice that opening in a new tab or new window seems to work without any issue.

    Leave a comment:


  • tgn55
    replied
    Thanks Chelsea. I was not aware the View button was restricted to AI generated stuff... I don't think that is clear in the documentation, if it is the case.

    I may have one more issue in the SA Log tab... but am unsure if what I am seeing is a bug ... or expected.

    If I click on a saved walk-forward row in the log area, and then select one of the several test periods that ran in that W/F... I can select Summary from the Display dropdown control in the middle pane, and see the stats. Great... However, if I chose, for example, Trades from the Display drop-down menu... I get zip. Blank screen. And ditto for the other options, eg Analysis, Chart etc.

    If this is NOT how it should work, would you like me start a new post about it, or add to this thread?

    Cheers,

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello tgn55,

    I have received tracking ID# NTEIGHT-13961 for the errors that appear when right-clicking the Log area or column heads.

    And tracking ID# NTEIGHT-13842 for the error that appears when clicking the View button (which should be grayed out when the test is not an AI Generate)

    As new releases of NinjaTrader 8 become available, please check the release notes for these IDs. If the ID is listed, please update and double check the behavior is resolved.

    Leave a comment:


  • NinjaTrader_ChelseaB
    replied
    Hello tgn55,

    I have removed the trace file from your post. Log and trace files should not be uploaded to the forum as these may contain sensitive information. These should always be emailed to platformsupport [at] ninjatrader [dot] com.

    Thank you for clarifying a backtest must be run first.
    After running a backtest and right-clicking the column headers I was able to reproduce the error.

    Leave a comment:


  • tgn55
    replied
    Chelsea... did you look at the video I recorded above? I don't see anything in this thread... and I lost track if you acknowledged this elsewhere... since I've logged several issues recently...

    BTW... sort of a separate issue, but still related to the View Strategy option setting. This setting (ie to show that column) is NOT preserved ... So if I restart Ninja, or open a new SA window... it needs to be set on again. Is that as it should be?

    Thanks,
    Last edited by tgn55; 08-27-2019, 09:46 AM. Reason: Adding another related issue

    Leave a comment:


  • tgn55
    replied
    Trace file attached... with many instances of the exception.
    Last edited by NinjaTrader_ChelseaB; 08-27-2019, 10:27 AM.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by chbruno, Today, 04:10 PM
0 responses
3 views
0 likes
Last Post chbruno
by chbruno
 
Started by josh18955, 03-25-2023, 11:16 AM
6 responses
436 views
0 likes
Last Post Delerium  
Started by FAQtrader, Today, 03:35 PM
0 responses
6 views
0 likes
Last Post FAQtrader  
Started by rocketman7, Today, 09:41 AM
5 responses
19 views
0 likes
Last Post NinjaTrader_Jesse  
Started by frslvr, 04-11-2024, 07:26 AM
9 responses
127 views
1 like
Last Post caryc123  
Working...
X