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 chbruno, Today, 04:10 PM
        0 responses
        3 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Started by josh18955, 03-25-2023, 11:16 AM
        6 responses
        436 views
        0 likes
        Last Post Delerium  
        Started by FAQtrader, Today, 03:35 PM
        0 responses
        6 views
        0 likes
        Last Post FAQtrader  
        Started by rocketman7, Today, 09:41 AM
        5 responses
        19 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by frslvr, 04-11-2024, 07:26 AM
        9 responses
        127 views
        1 like
        Last Post caryc123  
        Working...
        X