How to download weekly data
i am converted daily to weekly but dates and data nat match
...
Hi Shubham
see this old doc for codebase.
and use this for resample
#resample data (monthly/hourly/weekly/minute wise)
data = TH.get_short_length_hist_data(name="ACC",exchange="NSE",interval="minute",oi=True)
df = TH.minute_resample_data(df=data,timeframe=7) # 7 minute
df = TH.hourly_resample_data(df=data,time_frame=4) # 4 hours
df = TH.weekly_resample_data(data)
df = TH.monthly_resample_data(data)
sir how can match zeroda weekly data with Tradingview (minute data matched and daily data matched(not perfect but ok) but weekly not match...how can do)```
That zerodha data will not match with trading view…
As they both have difference in timestamps when data is received… And they may use different calculation for weekly candle
Sir, I’ve built a multi-timeframe system in TradingView, and I’m running the same logic in Python for backtesting. But the weekly signals don’t match between TradingView and my Python code. Since I can only manually verify my Python trades inside TradingView, is there any way to accurately replicate or check weekly-level signals in TradingView — especially since I’ve created custom indicators there........1min 5min daily data matched but weekly not matched ...any option how to match the data
and one more thing...if i am run a system live multitimeframe which is weekly daily and 70 min how is these possible in live with algo??
Hi @7350982949 ,
Do provide the comparision screenshot, with the data received from python code and trading view data.