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

Querying Time and Sales Data

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

    Querying Time and Sales Data

    Got one of those questions that I know is going to get me flamed, but here goes.

    Is there any way to query historical data? For example, let's say:
    (1) I'd like to see how many times the Daily RSI on a symbol was below X during Q42012,
    (2) I'd like to know the maximum trade size from the Time & Sales data for a certain day,
    (3) I'd like to query the maximum intraday range for symbol X for 2012.

    I've got a full set of Day, Minute, and Tick data for the symbols I'm interested in. I'm familiar with coding; I'm comfortable writing C# code, and I've already written a few simple indicators and strategies. I was wondering if there was a general-purpose tool to use on our historical data - almost like writing SQL queries from a command line?

    #2
    No flame here

    To the best of my knowledge, no such tool exists. It's certainly not anything built in to Ninjatrader by default. You'll have to just code up each condition you want to check. You could probably do it all in one indicator, and for each condition you want to grab a stat on, simply carry a variable value along each bar and print the value to the output window.

    Comment


      #3
      pbailey19, welcome to our forums. I'm not aware of such a statistical analysis toolbox made available already either, however with NinjaScript's C# capabilities there would be oppurtunity to extend here.
      BertrandNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sofortune, Today, 10:05 AM
      3 responses
      15 views
      0 likes
      Last Post NinjaTrader_ChristopherJ  
      Started by ETFVoyageur, 05-07-2024, 07:05 PM
      23 responses
      185 views
      0 likes
      Last Post ETFVoyageur  
      Started by reynoldsn, 05-10-2024, 07:04 PM
      7 responses
      39 views
      0 likes
      Last Post NinjaTrader_BrandonH  
      Started by ETFVoyageur, Today, 02:15 AM
      5 responses
      31 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by drnoggin, Today, 12:19 PM
      1 response
      14 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X