filter_for_exchange_ids#

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

filter_for_exchange_ids(pairs, exchange_ids)[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