SuperAI_Forecast / backend /check_eurusd.py
Thang6822
Update Kronos Platform: New UI, enhanced backend stability and restored Dockerfile
85d632d
Raw
History Blame
445 Bytes
import httpx
import asyncio
async def check_eurusd_no_plus():
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_eurusd_no_plus())