Skip to main content
Ravi Krishna Reddy Chinta
Algorithmic trading learner
Asked a question last year

Using Fyers MYAPI 2, can we get NIFTY and BANKNIFTY history data until previous minute during market open hours? For example, assume market is open today and now the time is 10:01 AM, can I pull NIFTY data until 10:00 AM on a 1//3/5/10 minutes timeframe? Will the FyersModel.history() in python get this requirement done?

Join FYERS Community to pick others' brains on Trading/Investing

Hey Ravi,
Yes you can pull the latest data, The requirement will be satisfied, just give the correct range_from and range_to value from where to where you need the data from.