how to fetch LTP of options…pls tell me variable name or example code …i am having trouble with fetching that
get trades in a contract:
https://docs.delta.exchange/#get-public-trades
real time on socket: Delta Exchange Api
import requests
url = "https://api.india.delta.exchange/v2/tickers"
response = requests.get(url)
data = response.json()
if data["success"]:
for ticker in data["result"]:
print(f"Symbol: {ticker['symbol']}, LTP: {ticker['close']}")```