bayesline.apiclient.AsyncBayeslineApiClient#

class bayesline.apiclient.AsyncBayeslineApiClient(client: AsyncApiClient, tqdm_progress: bool)#
__init__(client: AsyncApiClient, tqdm_progress: bool)#

Methods

__init__(client, tqdm_progress)

login(*[, endpoint, client, proxy, verify, ...])

new_client(*[, endpoint, api_key, ...])

Attributes

equity

Get the equity API.

permissions

Get the user permissions API.

settings_registry

Gets the top level settings registry.

tasks

Get the tasks API.

__init__(client: AsyncApiClient, tqdm_progress: bool)#
classmethod new_client(*, endpoint: str = 'https://api.bayesline.com', api_key: str | None = None, auth_token: str | None = None, client: AsyncClient | Client | None = None, proxy: str | None = None, verify: bool = True, tqdm_progress: bool = False) AsyncBayeslineApi#
classmethod login(*, endpoint: str = 'https://api.bayesline.com', client: AsyncClient | Client | None = None, proxy: str | None = None, verify: bool = True, open_browser: bool = True, use_cache: bool = True, timeout: float = 300.0, tqdm_progress: bool = False) AsyncBayeslineApi#
property equity: AsyncBayeslineEquityApi#

Get the equity API.

Returns#

AsyncBayeslineEquityApi

The equity API.

property settings_registry: AsyncSettingsRegistry#

Gets the top level settings registry.

The top level settings registry gives access to all settings used throughout the system.

Returns#

AsyncSettingsRegistry

property permissions: AsyncPermissionsApi#

Get the user permissions API.

Returns#

AsyncPermissionsApi

The user permissions API.

property tasks: AsyncTasksApi#

Get the tasks API.

Returns#

AsyncTasksApi

The tasks API.