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 Segwin, 05-07-2018, 02:15 PM
      14 responses
      1,789 views
      0 likes
      Last Post aligator  
      Started by Jimmyk, 01-26-2018, 05:19 AM
      6 responses
      837 views
      0 likes
      Last Post emuns
      by emuns
       
      Started by jxs_xrj, 01-12-2020, 09:49 AM
      6 responses
      3,294 views
      1 like
      Last Post jgualdronc  
      Started by Touch-Ups, Today, 10:36 AM
      0 responses
      13 views
      0 likes
      Last Post Touch-Ups  
      Started by geddyisodin, 04-25-2024, 05:20 AM
      11 responses
      63 views
      0 likes
      Last Post halgo_boulder  
      Working...
      X