BTC-USD is a valid ticker, however, currently WBTC-USD, BTC-USDT and BTC-USDC are also found.
By adding the regex=True parameter, you could now specify ^BTC-USD$ to just get BTC-USD.
This is the default for pandas.Series.str.contains, hence does not need to be explicitly defined. Please refer to the documentation on pd.Series.str.contains for further details.
Nice work, thank you.
BTC-USD is a valid ticker, however, currently WBTC-USD, BTC-USDT and BTC-USDC are also found. By adding the
regex=True
parameter, you could now specify ^BTC-USD$ to just get BTC-USD.I'll send a PR.