NexusFi: Find Your Edge


Home Menu

 





Proper way to determine action price on historical dividend/split adjusted data?


Discussion in Traders Hideout

Updated
    1. trending_up 2,271 views
    2. thumb_up 0 thanks given
    3. group 1 followers
    1. forum 1 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 
GoldenRatio's Avatar
 GoldenRatio 
Philadelphia, PA
 
Experience: Advanced
Platform: Matlab, TradeStation
Trading: Stocks
Posts: 211 since Aug 2012
Thanks Given: 5,192
Thanks Received: 296

I am conducting a breakout backtest and have a question on determining a proper action price. The split adjusted data I am using has precision to 5 decimal places. So, theoretically the buy price has precision of 5 decimal places.

Now my question is regarding the calculation of profit or loss %'s. For example, if the buy price is 0.46429 and the sell price is 5% below the buy price, then the sell price is 0.46429 * 0.95 = 0.4410755.
My question is, do I round the stop loss price to the precision of the input data or keep full precision throughout the calculation? ***Yes, I recognize we cannot buy at this precision and hence why I have this question.***

Performing the the loss % calculation with full precision is: (0.4410755/.46429) - 1 = 0.05.

Performing the the loss % calculation by truncating the sell price to match the input data precision is: (0.44108-.46429)/.46429 = -0.049990307781774.

So, should the loss be calculated as 0.05 or -0.04999? I want to ensure I am applying the proper method (close enough is not good enough for me, I want to do this right.)

Thank you in advance!


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
Expiration Day: Wall Street Rallies on Peace Hopes While …
Prediction Markets & Event Contracts
The Week Ahead -- CPI Wednesday With Oil Past $90, PPI L …
Traders Hideout
TradingView Opens Volume Footprint Data to Pine Script - …
TradingView
Penalties in Budapest, Peace Deadline in Tehran: Arsenal …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Sober Journey With S&P
24 thanks
2026 Jlab journal
10 thanks
Lady Vols Primer: Trading Volatility Journal
7 thanks
Algo automated / semi-automated trading anyone?
6 thanks
Trying to learn Volume and price action correlation
5 thanks




Last Updated on February 7, 2016


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts