TradeViaPython / Kite_Zerodha

156 stars 108 forks source link

Ability to fetch OHLC data for a given instrument #4

Open ddeoashish opened 1 year ago

ddeoashish commented 1 year ago

Please introduce ohlc method in the KiteApp with the below implementation def ohlc(self, instruments): data = self.session.get(f"{self.root_url}/quote/ohlc", params={"i": instruments}, headers=self.headers).json()["data"] return data

sudevanoas commented 1 year ago

is there any method to bring the volume along with the ohlc data