@lakshay-kh @admin Facing the same issue i registered my app using static ip i getting the error message while creating session Response: {'message': 'Invalid apiKey', 'errorcode': 'AB1053', 'status': False, 'data': None}
hemanthkumar097
@hemanthkumar097
Best posts made by hemanthkumar097
Latest posts made by hemanthkumar097
-
RE: Important Updates to SmartAPI in Compliance with SEBI Guidelinesposted in General Discussion
-
RE: Important Updates to SmartAPI in Compliance with SEBI Guidelinesposted in General Discussion
@admin Hi admin, I am a retail trader with rate limits less than 10 orders per second (Market, GTT, Limit, SL-Limit). I run my Python trading code in a local environment. Do I still need to have a static IP?
-
Historical data mismatchposted in Python SDK
def hist_data(ticker,st_date,end_date,interval,exchange="NFO"):
params = {
"exchange": exchange,
"symboltoken": ticker,
"interval": interval,
"fromdate": st_date,
"todate": end_date
}
print(params)
hist_data = obj.getCandleData(params)
print(hist_data)
df_data = pd.DataFrame(hist_data["data"],
columns = ["date","open","high","low","close","volume"])
df_data.set_index("date",inplace=True)
return df_databanknifty_data = hist_data("61627","2023-11-30 00:00", "2023-12-01 23:55", "ONE_DAY",)
The above code is used to return values of 30-11-23 and 01-12-13 for BANKNIFTY28DEC23FUT contract

the code returned the above data in which the values for 31-11-23 is from BANKNIFTY30NOV23FUT contract and values from 01-12-23 if from BANKNIFTY28DEC23FUT
Please help me to retrieve values of current month contract