Skip to main content

DefaultBinanceSymbols

Default symbols for Binance exchange.

Ancestors

  • enum.Enum

Class variables

  • BTCUSDT: Bitcoin to USDT trading pair.
  • ETHUSDT: Ethereum to USDT trading pair.

Static methods

get_fields

Get list of symbol names. Returns:

from_name

Convert symbol name to its column index. Parameters: Returns:

is_valid

Check if a symbol name is valid. Parameters: Returns:

DefaultCoinbaseSymbols

Default symbols for Coinbase exchange.

Ancestors

  • enum.Enum

Class variables

  • BTC_USD: Bitcoin to USD trading pair.
  • ETH_USD: Ethereum to USD trading pair.

Static methods

get_fields

Get list of formatted symbol names (with slashes). Returns:

from_name

Convert symbol name (with slashes) to its column index. Parameters: Returns:

is_valid

Check if a symbol name (with slashes) is valid. Parameters: Returns:

get_symbol

Get formatted symbol name (with slashes) from index. Parameters: Raises: Returns: