API documentation for tradingstrategy.pair.filter_for_stablecoins Python function.
- filter_for_stablecoins(pairs, mode)#
Filter dataset so that it only contains data for the trading pairs that are either stablecoin pairs or not.
Trading logic might not be able to deal with or does not want to deal with stable -> stable pairs. Trading stablecoin to another does not make sense, unless you are doing high volume arbitration strategies.
Uses internal stablecoin list from