Hi , Is there any api for fetching historical candle data for a list of stocks for a specific period.
The api needs to take the stock list, current date and time (this is ending date and time), period, no of candles and needs to look back for the data considering weekends, holidays and only trading sessions.
The from date needs to be calculated dynamically based upon the provided end date, time , period(1minute, 3minute, 5minute etc) and also the no of candles.