TradeViaPython / Kite_Zerodha

172 stars 107 forks source link

Ability to fetch OHLC data for a given instrument #4

Open ddeoashish opened 2 years ago

ddeoashish commented 2 years 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