Asynchronous Usage

Examples using the async client for concurrent operations.

Basic Async Example

import asyncio
from nepse_client import AsyncNepseClient

async def main():
   async with AsyncNepseClient() as client:
      status = await client.getMarketStatus()
      print(status)

asyncio.run(main())

See async_usage.py for more.