Client

class nepse.core.Client(httpx_client: Optional[httpx.AsyncClient] = None, use_cache: Optional[bool] = False, cache_retain_time: Optional[int] = 60)

Bases: object

property broker_client: nepse.broker.core.BrokerClient

Returns the initialized BrokerClient

Returns

It is the module through which you can interact with API’s brokers.

Return type

BrokerClient

property security_client: nepse.security.core.SecurityClient

Returns the initialized SecurityClient

Returns

It is the module through which you can interact with API’s securities and its data.

Return type

SecurityClient

property market_client: nepse.market.core.MarketClient

Returns the initialized MarketClient

Returns

It is the module through which you can interact with NEPSE’s Market.

Return type

MarketClient

async close() None

Properly disposes the session