code is working fine with Daily resolution ,but for weekly , fyers is not returning candle data using fyers.history.
Hey @112068087651588896715 ,
The resolution should be given in either minutes or Day , please refer to the documentation for the same :
https://myapi.fyers.in/docsv3#tag/Data-Api/paths/~1DataApi/post