Skip to content

config.py

config

APIBASE module-attribute

APIBASE = 'https://www.vinterapi.com/api/v3'

API base URL

WSBASE module-attribute

WSBASE = 'wss://www.vinterapi.com/ws'

Websocket base URL

ActiveAssetType

Bases: Enum

  • active_multi_assets

  • active_single_assets

  • active_staking_yields

  • active_nav

AssetType

Bases: Enum

  • multi_assets

  • single_assets

  • staking_yields

  • nav

AssetUrl

Bases: Enum

Asset urls for each asset type

MULTI_ASSET_REAL_TIME: Multi assets real time

SINGLE_ASSET_REAL_TIME: Single assets real time

NAV_REAL_TIME: Net asset value real time

MULTI_ASSET_HOURLY: Multi assets hourly

SINGLE_ASSET_HOURLY: Single assets hourly

NAV_HOURLY: Net asset value hourly

MULTI_ASSET_DAILY: Multi assets daily

SINGLE_ASSET_DAILY: Single assets daily

STAKING_YIELD_DAILY: Staking yields daily

NAV_DAILY: Net asset value daily

ACTIVE_MULTI_ASSET: Active multi assets

ACTIVE_SINGLE_ASSET: Active single assets

ACTIVE_STAKING_YIELD: Active staking yields

ACTIVE_NAV: Active net asset value

Frequency

Bases: Enum

  • r

  • h

  • d

FrequencyApiType

Bases: Enum

  • real_time

  • hourly

  • daily

WsAssetType

Bases: Enum

  • multi_assets

  • single_assets

  • nav

WsAssetUrl

Bases: Enum

Websocket urls for each asset type

MULTI_ASSET: Multi assets

SINGLE_ASSET: Single assets

NAV: Net asset value