not able to get ltp data for some stocks

pratiks
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

is there any workaround?
Sign In or Register to comment.