Weird tradingsymbol in Instruments csv

KamalChhirang
I downloaded the Instruments csv using this code:

for i in range(3):
try:
from io import StringIO
header_data = {
'X-Kite-Version': '3',
'Authorization': 'token '+str(kite_rc)+":"+str(access_token_rc),
'Content-Type': 'application/json'
}
r = requests.get('https://api.kite.trade/instruments',
headers=header_data)
data = StringIO(r.text)
instruments_df = pd.read_csv(data)
break
except Exception as e:
print("Error",e)


and found a row with trading symbol name "AMBUJACEM30DEC2127JAN22FUT". Is this a bug?
Tagged:
  • sujith
    This is a spread contract. Kite doesn't support trading in spread contracts. We have asked the team to remove this. In the meanwhile you can skip these spread contracts.
Sign In or Register to comment.