Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

market Replay

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

    market Replay

    When I do the Market Replay I get an error message that says

    Failed to execute DB job 'StrategyUpdateJob': A foreign key value cannot be inserted because a corresponding primary key value does not exist. [ Foreign key constraint name = FK_nt_strategy2execution_000000000000028B ]

    How do I go about using the market replay. Is there any way to delete the replay data and get the data again.

    #2
    Hello cbart_1,


    Thank you for your forum post.


    This error message indicates some database corruption.


    To troubleshoot the situation, I would recommend to reset your database:


    Please follow the instructions below to reset the NinjaTrader database.
    • Disconnect NinjaTrader from any open connections via File > Disconnect
    • From the NinjaTrader Control Center window select the menu Tools > Options
    • Select the "Data" tab
    • Press the "Reset DB" button
    • Press the "OK" button
    • Restart NinjaTrader and re-test the connection on Market Replay
    Ryan L.NinjaTrader Customer Service

    Comment


      #3
      Market Replay

      Ok I went to the cache folder and deleted all the folders there, I think those are the market replay. I resetted the DB and downloaded the replay data and it is working now.

      Comment


        #4
        Hello cbart_1,


        Thank you for the follow up and I am glad to hear that you were able to resolve the situation.


        For reference while moving forward, all market replay data is saved in the following folder on your file system:
        • C:\Users\<USERNAME>\Documents\NinjaTrader 7\db\data
        Ryan L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,403 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by Shai Samuel, 07-02-2022, 02:46 PM
        4 responses
        94 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Started by DJ888, Yesterday, 10:57 PM
        0 responses
        6 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by MacDad, 02-25-2024, 11:48 PM
        7 responses
        158 views
        0 likes
        Last Post loganjarosz123  
        Started by Belfortbucks, Yesterday, 09:29 PM
        0 responses
        8 views
        0 likes
        Last Post Belfortbucks  
        Working...
        X