Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Excluding datas

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

    Excluding datas

    Hello,

    I am wondering if there is any way to automate the exclusion of lines from the database (for example the daily value) based on a given condition.

    I get the bad data with a specific format and could filter it easily if I could code it somehow.

    THanks.

    #2
    Hello user1986,

    NinjaTrader has a feature to filter ticks that are outside of a percentage of the current market price.

    Tools -> Options... -> Data -> Filter bad ticks
    http://ninjatrader.com/support/helpG...7/data_tab.htm

    It would not be possible to modify the historical data that is saved in historical data files through code. (Historical data is saved by date in individual files and is not stored in the NinjaTrader sdf database file.)

    You could write a script that writes the historical data to file, then erase the historical data and then import that file.

    Below is a link to an example of writing to a text file.
    http://www.ninjatrader.com/support/f...ead.php?t=3475

    And a link to the help guide on importing data from a text file.
    http://ninjatrader.com/support/helpG.../importing.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks a lot for the reply.
      Unfortunately, that would make the import to still be a manual operation. The objective was to automate the correction in some way,

      Hopefully in future versions the data editor will be more friendly.

      Thanks and best regards.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by andrewtrades, Today, 04:57 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by chbruno, Today, 04:10 PM
      0 responses
      5 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
      7 views
      0 likes
      Last Post FAQtrader  
      Started by rocketman7, Today, 09:41 AM
      5 responses
      19 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X