make_aggregate_id#

API documentation for tradingstrategy.utils.aggregate_ohlcv.make_aggregate_id Python function.

make_aggregate_id(pair)[source]#

For each aggregated pair, identify them

  • Add both human readable symbols and addresses to a string slug

Returns:

(chain id)-(base token symbol)-(base token address)

Parameters:

pair (DEXPair) –

Return type:

AggregateId