It looks like you're new here. If you want to get involved, click one of these buttons!
import requests
r = requests.get(
"https://api.kite.trade/quote/ltp?api_key=abc&access_token=abc&i=NSE:TCS&i=NSE:L&TFH&i=NSE:INFY")
data = (r.json())
dic = data['data']
print((dic))
using this code i am unable to get ltp for stocks which contain ampersand like L&TFH
L&TFH should be replaced with L%26TFH