Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Miscellaneous Issues

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

    Miscellaneous Issues

    1. Upon connect to replay, start date timeframe is some arbitrary date such as june 08 or before. It does not give me an option to know on which days,
    a) replay was available (i.e nt was on) I dont remember which days I had it on and for how long.
    b) no ability to choose from those that are available i.e if I can remember. Not all replay is useful, if recording starts after market starts (depends on whether your script needs it).
    c) back fill issue (12 am to start of recording) - not sure if this got fixed.

    2. Replay slider issue: Bars.GetLow() - Ninja needs to shut down etc.. pls see BigRedX.jpg
    a) connect replay and run your strategy.
    b) after pause hits, disable your strategy and drag the slider back to the beginning (not all the way back.. but just before start of session say just before 2am).. this worked.
    c) repeat steps a and b, then GetLow() function of Bars object doesnt like something.. I am positive I didnt let go off the cursor until I was on the right time..

    2009-12-31 12:21:44:953 in OnUnhandledThreadException
    2009-12-31 12:21:44:984 ********* exception trapped *********
    2009-12-31 12:21:44:984 Object reference not set to an instance of an object.
    2009-12-31 12:21:44:984 at NinjaTrader.Data.MemBars.GetLow(Int32 index)
    at NinjaTrader.Data.Bars.GetLow(Int32 index)
    at NinjaTrader.Gui.Chart.ChartExecution.GetBounds(Cha rtControl chartControl, ChartPanel chartPanel, ScaleJustification scaleJustification)
    at NinjaTrader.Gui.Chart.ChartPanel.CalculateMinMax(S caleJustification scaleJustification)
    at NinjaTrader.Gui.Chart.ChartControl.CalculateMinMax AndMargins(Graphics graphics)
    at NinjaTrader.Gui.Chart.ChartControl.OnPaint(Object sender, PaintEventArgs e)
    at System.Windows.Forms.Control.OnPaint(PaintEventArg s e)
    at System.Windows.Forms.Control.PaintWithErrorHandlin g(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
    at System.Windows.Forms.Control.WmPaint(Message& m)

    I remember vaguely that a few weeks ago, there was a problem with GetHigh which perhaps got fixed but now GetLow needs attention. Or maybe that was a different issue. Argument being of type Int32 doesnt mean anything other than the size of integer perhaps.

    3. Right after the above (2), restart NT and get a blank chart (with Y axis reading 1 tick size) - pls see blank.jpg. I am positive I encountered blank chart issue several other times unrelated to above.
    This is painful to reset and no template to load my setting (pls see setting.jpg without going thru a bunch of clicks and manually adding everything back.

    4. Smtp errors. Shouldnt be seeing these in backtesting or replay as SendMail() should be active only for live..

    5. BackTest is missing some livesim trades. Even Replay is coming up short (number of trades wise) compared to live sim. I am a bit miffed at this. I am a bit lazy to put proof together but shall try to do so next go around.. I dont know if this has to do with one of my BarsInProgress index is in Minutes interval but that still doesnt explain why replay fell short as well. I wish someone takes a QA initiative on this issue.

    6. Account Performance not showing strategy name. Please see noname.jpg. How would I know which script took those trades? I dont remember which one I was running on those days.

    7. No directions of how to migrate NT (7 not 6.5) from one computer (xp) to another (new Win7 pc - fresh install). Should I be just blindly copying the NinjaTrader 7 folder under my documents to new pc?. What about data/replay/db etc?

    8. Xml errors - x64. Its working now so I dont see a problem here but nonetheless something to note.

    2009-12-31 10:29:10:479 WARNING: Resetting account connections due to error: An XML error has occurred.

    2010-01-01 02:02:03:602 The requested operation cannot be performed on a file with a user-mapped section open.
    2010-01-01 02:02:03:602 System.IO.IOException: The requested operation cannot be performed on a file with a user-mapped section open.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
    at System.Xml.XmlDOMTextWriter..ctor(String filename, Encoding encoding)
    at System.Xml.XmlDocument.Save(String filename)

    9. 32 bit fiasco: Due to Zenfire adapter issues, cannot use 64 bit NT. Not sure if there's a work around with a simple c++ DLL that acts as a pass thru (garbage in / garbage out). This way, we can keep NT7 honest with 64 bit rather than having to be relegated back to legacy stuff on multi-core I7 platform.
    BTW, gentleman from AMPFutures was thoroughly confused on how to setup zenfire connection (perhaps first time for him on NT7) on my new pc.. They dont support NT7 and rightly so.. but I needed data connection on my new pc.
    Attached Files

    #2
    1. After you establish a connection, the "From" date in the Replay control shows you the start date
    2. We will look into this
    3. We will look into this
    4. Replay is considered real-time and thus SendMail() will trigger. I understand what you are asking and will add this to our feature enhancement list.
    5. It is possible that real-time vs replay vs historical data can all yield different results
    6. Will look into this.
    7. File > Utilities > Backup on sending computer, then File > Utilities > Restore on target computer
    8. Will look into
    9. Correct, Zen-Fire API not supported natively in 64-bit
    RayNinjaTrader Customer Service

    Comment


      #3
      On 8): Your virus scanner likely locks files in <my documents>/NinjaTrader7 which NT needs to write to. Please make sure to configure your virus scanner so that none of the files in directory above would be locked or remove that directory from the scanning list.

      Curious: what virus scanner do you have installed?

      Comment


        #4
        Virus scanner is Trend Micro. Could've been a Win 7 issue..

        Comment


          #5
          Originally posted by tradejockey View Post
          6. Account Performance not showing strategy name. Please see noname.jpg. How would I know which script took those trades? I dont remember which one I was running on those days.
          I noticed something similar in 6.5. See: http://www.ninjatrader-support2.com/...ad.php?t=19735

          Of course I'm hoping that a more satisfying answer than what I was given at that time might happen for NinjaTrader V7.

          Comment


            #6
            tradejockey, thanks for taking the time to report those issues in, could unfortunately not reproduce 2 / 3 / 6 here on my end - would you have your exact sample code used in 2 and 3? Bars.GetLow worked well for me in replay on ES Mar tick and min data here.

            Also: tested how strategy names are reported in the Account Performance section and it worked as expected for ATM's as well as my NinjaScript ones.

            If you can think of additional details / steps perhaps needed to see what you saw please let us know - have a great weekend.
            Last edited by NinjaTrader_Bertrand; 01-08-2010, 01:31 PM.

            Comment


              #7
              Bertrand: The answer to #6 is possibly as I mentioned in my earlier referenced posting ... i.e., based on my testing in 6.5, I'd guess it was generated by the use of the reverse button in the SuperDOM or chart trader.

              Tradejockey: Does this match your usage of NinjaTrader? I.e., do you sometimes use the reverse ("REV") button?

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              599 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              345 views
              1 like
              Last Post Geovanny Suaza  
              Started by Mindset, 02-09-2026, 11:44 AM
              0 responses
              103 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
              0 responses
              558 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              558 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X