Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtesting question regarding Adjusted Close Price

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

    backtesting question regarding Adjusted Close Price

    Hi,

    I am trying to do some backtesting on a stock based on its close price. I understand Adjusted Close Price is better for this purpose because it considers dividend and split. Here is my question:

    For example, say, the Jan 4th's close price is $10.5, and Jan 3rd's close price is $10, so the daily return was 5% on 1/4. On 2/1, there was a dividend of $0.5 and it is the only dividend between 1/4 and now. As the result, the Adjusted Close Price of 1/4 is $10, and the Adjusted Close Price of 1/3 is $9.5. So if I calculate the daily return based on Adjusted Close Price, it would become 5.26% (i.e. 10/9.5-1). That means the return calculated based on Adjusted Close Price in backtesting deviates from the real world. If my strategy is to sell the stock when it increases more than 5%, the backtesting will sell, but in the reality i will not sell.

    I am very confused.. Can anyone enlighten me and share his approaches/opinions?

    Thank you!

    #2
    Hello,

    Thanks for the forum post and welcome to the NinjaTrader support forums.

    The best thing to do is to update the chart and apply and offset to it when a split/dividend occurs so that it does not alter your trading system.

    To do this when connected to your datafeed provider goto Control Center->Tools->Instrument manager->Edit the instrument you want to adjust for then goto the MIsc tab and on the bottom select the update splits and dividends.button.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    89 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    48 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    31 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    34 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    69 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X