Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

strategy automatic disabled during PlayBack Connection

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

    strategy automatic disabled during PlayBack Connection

    Hi, I was using Playback Connection to test my strategy (YM 03-21)
    Date from 1/1/2021 until 11/1/2021

    However, when I do know know why the strategy will disabled on 7/1/2021.

    There is no any issues from the Log file there
    I check the log there almost more than 20 times with re-running 20 times also.


    #2

    Hello soon123,

    Thank you for your post.

    It sounds like you may not have the Market Replay data downloaded for the dates past the 7th.

    I have provided a publicly available link below to our YouTube video that provides a brief overview of downloading Market Replay data, connecting to the Playback Connection, and replaying data:
    To use the Playback Connection you will first need to have data for Market Replay.

    There are 2 ways of getting market data for Market Replay:
    1. Record live market data To do this you will need to enable the Market Replay Recorder by going to Tools> Options> Market Data > check 'Enable market recording for playback' > OK. Now data will be recorded for any instrument in any NinjaTrader window that is receiving live market data. Level II (market depth) data is only recorded if a Level II, SuperDOM, or FX Pro window is open and receiving data for the instrument. The Market Analyzer window is the recommended recording window as multiple instruments can be added to one Market Analyzer window and all recorded at the same time. Please see the following publicly available help guide page for more information: https://ninjatrader.com/support/help...ReplayRecorder
    2. Download replay data from the NinjaTrader server.

      NinjaTrader offers a limited amount of replay data free to download. Only the most common instruments are currently available.

    To download replay data:
    • Select the Tools menu in the Control Center, select the menu item Historical Data and select "Load" tab. Here the section "Get Market Replay data" can be expanded.
    • Select the instrument and date of the desired replay data and press the OK button to begin the download.

    Please see the following publicly available help guide page for more information:

    https://ninjatrader.com/support/help...jaTraderServer

    Notes:
    • Record for market replay must be disabled from the Data tab of the Options menu before downloading replay data.
    • NOT available when connected to the Playback connection.

    To start playback, first disconnect from any other connections. Connect to the Playback Connection by going to Connections > Playback Connection.

    Select the time frame for the Market Replay Data you would like to view. NinjaTrader windows will only display data for instruments and times you have data available.

    You can check what data you have available by right clicking on the Playback Connect controls and selecting 'Available data'. Data will only be displayed within the selected time frame.

    I have provided a publicly available link below to our Help Guide that goes over Market Replay.
    Please let us know if we may be of further assistance.
    Marco G.NinjaTrader Customer Service

    Comment


      #3
      I just saw this error in my strategy.

      I think I didn't realize it before.

      Can I know what is this and how to solve it ?
      13/1/2021 11:03:27 AM Default Error in realtime market data handling: System.NullReferenceException: Object reference not set to an instance of an object. at NinjaTrader.NinjaScript.StrategyBase.Process(Objec t sender, ExecutionEventArgs executionUpdate) at System.EventHandler`1.Invoke(Object sender, TEventArgs e) at NinjaTrader.Cbi.Account.RaiseExecutionUpdate(Execu tionEventArgs e) at NinjaTrader.Cbi.Account.ExecutionUpdateCallback(In strument instrument, String executionId, Exchange exchange, DateTime time, MarketPosition marketPosition, String orderId, Int32 quantity, Double price, Double commission, Double fee, Boolean isSod, DateTime statementDate, Operation operation) at NinjaTrader.Cbi.Simulator.Fill(Int32 maxFillQuantity, Double price) at NinjaTrader.Cbi.Simulator.OnMarketData(Object sender, MarketDataEventArgs e) at NinjaTrader.Cbi.Instrument.<>c__DisplayClass155_0. <OnRealtimeDataTimerElapsed>b__1(SubscribedThrea d[] threads, Int32 i, RealtimeEvents evts)

      Comment


        #4
        Hello soon123,

        Thank you for your reply.

        This looks like it is hitting a problem when filling an order in Playback.

        What version of NinjaTrader are you using? You can find this under Help > About. The current version is 8.0.23.2.

        I note you also are running into a second issue noted in this thread: https://ninjatrader.com/support/foru...or-in-strategy

        Are both errors stemming from running the same strategy?

        Thanks in advance; I look forward to assisting you further.
        Kate W.NinjaTrader Customer Service

        Comment


          #5
          The version I used was 8.0.23.2

          Ya, both issues are from the same strategy.

          Comment


            #6
            Hello soon123,

            Thank you for your reply

            Did the error persist after renaming the database as I suggested in my other post?

            Thanks in advance; I look forward to assisting you further.
            Kate W.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by PeterInBrisbane, Today, 01:07 AM
            0 responses
            1 view
            0 likes
            Last Post PeterInBrisbane  
            Started by fdalgoi, Today, 12:44 AM
            0 responses
            5 views
            0 likes
            Last Post fdalgoi
            by fdalgoi
             
            Started by thomaswilleford, Today, 12:07 AM
            0 responses
            3 views
            0 likes
            Last Post thomaswilleford  
            Started by dlygorivw, Yesterday, 10:55 PM
            0 responses
            3 views
            0 likes
            Last Post dlygorivw  
            Started by dlygorivw, Yesterday, 10:53 PM
            0 responses
            4 views
            0 likes
            Last Post dlygorivw  
            Working...
            X