ChillarAnand / stocktrends

A python package to calculate trends in stocks, derivates(Futures & Options) using Renko, PnF, LineBreak etc
GNU General Public License v3.0
247 stars 74 forks source link

Renko data generated using stocktrends does not match to chart in tradingview , investing.com and zerodha #29

Open AvinashOnGit opened 1 year ago

AvinashOnGit commented 1 year ago

Please check Renko data from stocktrend does not match to chart in tradingview , inveting.com and zerodha ohlc source data I used was taken from Yahoo Finance which exactly matched data present in NSE website

There are days when it can be seen green and red bar on same day for given script but I don't think stocktrends generate data like that.

stocktrends Package is really good and It would be awesome if it can match exactly what is shown in Zerodha or other similar portal.

ChillarAnand commented 1 year ago

Thanks, @AvinashOnGit for reporting the issue.

Stock trends Renko chart matches with tradingview/zerodha or any other source as well. You should always take data from the start point for better accuracy.

Please share the stock, and the sample data so that I can reproduce the issue.

AvinashOnGit commented 1 year ago

Renko Charts don't match from stocktrends,tradingview and zerodha as chart dataprovider dataset don't match. Take for example Renko chart produced with Zerodha/Trading view and stocktrends for symbol INFY :

Last Brick on zerodha : RED BRICK ON 25-May-2023

TradingView doesn't have this brick in fact it shows two green bricks during last week of may. Latest Brick is red and it is generated for 23-June-2023. There is Green Brick on 30-May-2023 which is not shown on stocktrends dataset mentioned below

Renko data from stocktrends : Last Data is as on 06-June-2023 and It is RED Color Brick. 489 2023-05-02 1242.85 1261.4 1242.85 1261.4 True 490 2023-05-22 1261.4 1279.95 1261.4 1279.95 True 491 2023-05-23 1279.95 1298.5 1279.95 1298.5 True 492 2023-05-26 1298.5 1317.05 1298.5 1317.05 True 493 2023-06-06 1298.5 1298.5 1279.95 1279.95 False

Setting are kept same all along : Renko Brick size : 14-Day ATR

Data Range should not be an issue as for stocktrends dataset I have provided is from 01-Jan-2010 onwards and 12-Year data should be sufficient

You can verify what I have shared above .. The issue exists .