SuperAI_Forecast / backend /check_symbol.py
Thang6822
Update Kronos Platform: New UI, enhanced backend stability and restored Dockerfile
85d632d
Raw
History Blame
448 Bytes
import httpx
import asyncio
async def check_specific_symbol():
symbol = "EURUSD+"
category = "linear"
url = f"https://api.bybit.com/v5/market/instruments-info?category={category}&symbol={symbol}"
async with httpx.AsyncClient() as client:
resp = await client.get(url)
data = resp.json()
print(f"Result for {symbol} in {category}: {data}")
if __name__ == "__main__":
asyncio.run(check_specific_symbol())