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 Haiasi, 04-25-2024, 06:53 PM
        2 responses
        17 views
        0 likes
        Last Post Massinisa  
        Started by Creamers, Today, 05:32 AM
        0 responses
        5 views
        0 likes
        Last Post Creamers  
        Started by Segwin, 05-07-2018, 02:15 PM
        12 responses
        1,786 views
        0 likes
        Last Post Leafcutter  
        Started by poplagelu, Today, 05:00 AM
        0 responses
        3 views
        0 likes
        Last Post poplagelu  
        Started by fx.practic, 10-15-2013, 12:53 AM
        5 responses
        5,408 views
        0 likes
        Last Post Bidder
        by Bidder
         
        Working...
        X