• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 RolloHarper, Today, 12:59 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_Jermaine  
        Started by tvaughan4, Today, 01:02 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by RtelTrade, Today, 01:27 PM
        0 responses
        5 views
        0 likes
        Last Post RtelTrade  
        Started by NinjaTrader_Brandon, Today, 01:19 PM
        0 responses
        10 views
        0 likes
        Last Post NinjaTrader_Brandon  
        Started by nedstrader, Today, 01:01 PM
        1 response
        7 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Working...
        X