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

Getting Incorrect Data

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

    Getting Incorrect Data

    Hey guys when I run a script for 2009 for a backtest, I sometimes get triggers for split adjusted stocks for example when they are trading at $2 it triggers a sell for $10 and so on, so it makes my backtest incorrect. How do I avoid this? My data provider is iqfeed.

    #2
    Hello elitetradernyc,
    Please make sure your data is adjusted for splits.

    To automatically update an instrument with historical split and dividend data please follow the below steps:
    1. Create a connection to Yahoo.
    2. Connect to Yahoo by left mouse clicking on the menu File and selecting the menu item Connect. Then select your Yahoo connection.
    3. Open the Instrument Manager by left mouse clicking on the menu Tools and select the menu item Instrument Manager
    4. Select the stock that you wish to update with historical split and dividend data
    5. Press the Edit button to bring up the Instrument Editor window
    6. Select the Misc tab and scroll down to the bottom section Splits & Dividends
    7. Press the Update splits & dividends button



    NinjaTrader will now request historical splits and dividend information from Yahoo! Finance and populate the information in your local database.


    NOTE: The Update splits & dividends button only appears when connected to a provider (Yahoo) that supports historical splits and dividend data.

    Also please make sure "Adjust for split" option is checked in Tools>Options>Data tab.
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    59 views
    0 likes
    Last Post DynamicTest  
    Started by ScottWalsh, Today, 06:52 PM
    4 responses
    36 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Today, 07:39 PM
    0 responses
    7 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Today, 03:01 PM
    2 responses
    21 views
    0 likes
    Last Post helpwanted  
    Started by cre8able, Today, 07:24 PM
    0 responses
    10 views
    0 likes
    Last Post cre8able  
    Working...
    X