Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Simulating real-time data

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

    Simulating real-time data

    Is there a way to simulate real-time data to performance test my indicators? It appears to me that the replay connection updates maybe once or twice a second so that would not be a good test. I'm specifically interested to test high volume spikes from news releases etc. And make it repeatable so I can re-test any improvements I have made. Thanks.

    #2
    Hello martyn73,

    The Simulated Data Feeds provides self-generated real-time data.


    If you want to stream your own real-time data, you would need to do this through the API and the External Data Feed.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea. The simulated data feed is not going to work. I use it all the time in my development. But I don't think you can simulate real market volatility spikes very well. Especially the volatile behavior we are currently seeing in the market. And it's not repeatable. So I will look into the API reference you provided. Thank you.
      Last edited by martyn73; 03-05-2020, 09:37 AM.

      Comment


        #4
        Chelsea, thank you so much for directing me to the API. Used your sample app, modified it to load historical data, and then push that at a specific interval. Perfect! Would love to be able to add level II data to that. Is that even possible? I don't see functions listed in the documentation that would allow me to do that. And is it possible to export replay data from NT?

        Comment


          #5
          Hello martyn73,

          Unfortunately no, the API does not have methods for pushing or receiving level 2 data and does not have any methods for exporting market replay data.
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by thumper57, Yesterday, 04:30 PM
          1 response
          9 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by dcriador, Yesterday, 12:06 PM
          1 response
          15 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by dcriador, Yesterday, 12:04 PM
          1 response
          17 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by cutzpr, Yesterday, 08:54 AM
          1 response
          14 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Started by gcztraders, Yesterday, 03:58 AM
          1 response
          16 views
          0 likes
          Last Post NinjaTrader_BrandonH  
          Working...
          X