API documentation for tradeexecutor.strategy.asset.get_relevant_assets Python function.
- get_relevant_assets(pair_universe, reserve_assets, state)#
Get list of tokens that are relevant for the straegy.
We need to know the list of tokens we need to scan for the strategy to do the accounting checks.
A token is relevant if it
Can be used in a trading position
Can be used as a reserve currency
For open-ended trading universes we only consider trading pairs that have been traded at least once.