AggregateId#

API documentation for tradingstrategy.utils.aggregate_ohlcv.AggregateId Python class in Trading Strategy framework.

class AggregateId[source]#

Bases: object

AggregateId(chain_id: int, base_token_symbol: str, base_token_address: str)

__init__(chain_id, base_token_symbol, base_token_address)#
Parameters:
  • chain_id (int) –

  • base_token_symbol (str) –

  • base_token_address (str) –

Return type:

None

Methods

__init__(chain_id, base_token_symbol, ...)

Attributes

chain_id

base_token_symbol

base_token_address

__init__(chain_id, base_token_symbol, base_token_address)#
Parameters:
  • chain_id (int) –

  • base_token_symbol (str) –

  • base_token_address (str) –

Return type:

None