Hi Team,
Unable to get ltp for stock and options. As well as not able to place order in stock and options too as per Pypi in XTS.
# Get LTP for multi-stocks
ltp_data = tsl.get_ltp(["YESBANK-EQ","ACC-EQ"])
#place an option order
order_id = tsl.order_placement(stock="NIFTY28APR21000PE",quantity=65,price=100,trigger_price=0,productType="MIS",order_type="Limit",transaction_type="BUY")
print(order_id)
Thanks
Sagar Jajal
Due to recent changes in regulations by Securities and Exchange Board of India, the APIs on the XTS platform have been discontinued from their end, and our accounts are currently not functioning as expected.
At present, the XTS terminal is not allowing the creation of new APIs, and we are also experiencing issues such as OTP delays and panel instability.
We are expecting an update from the XTS platform within the next 1–2 days. Once everything is resolved and the system is stable, we will proceed accordingly with the next steps.