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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by wzgy0920, 04-20-2024, 06:09 PM
    2 responses
    26 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, 02-22-2024, 01:11 AM
    5 responses
    32 views
    0 likes
    Last Post wzgy0920  
    Started by wzgy0920, Yesterday, 09:53 PM
    2 responses
    49 views
    0 likes
    Last Post wzgy0920  
    Started by Kensonprib, 04-28-2021, 10:11 AM
    5 responses
    191 views
    0 likes
    Last Post Hasadafa  
    Started by GussJ, 03-04-2020, 03:11 PM
    11 responses
    3,230 views
    0 likes
    Last Post xiinteractive  
    Working...
    X