filter_for_exchange_slugs#

API documentation for tradingstrategy.utils.token_filter.filter_for_exchange_slugs Python function.

filter_for_exchange_slugs(pairs, exchange_slugs)[source]#

Filter dataset so that it only contains data for the trading pairs from a certain exchange.

Use primary keys for filtering.

Parameters:
Return type:

DataFrame