Merge pull request #12876 from freqtrade/fix/chinese_char_pairs

Allow non-ascii characters in pair names
This commit is contained in:
Matthias
2026-03-04 07:11:01 +01:00
committed by GitHub
3 changed files with 12 additions and 9 deletions

View File

@@ -56,9 +56,9 @@ def test_datahandler_ohlcv_regex(filename, pair, timeframe, candletype):
("USDT_BUSD", "USDT/BUSD"),
("BTC_USDT_USDT", "BTC/USDT:USDT"), # Futures
("XRP_USDT_USDT", "XRP/USDT:USDT"), # futures
("BTC-PERP", "BTC-PERP"),
("BTC-PERP_USDT", "BTC-PERP:USDT"),
("XYZ-XRP_USDT_USDT", "XYZ-XRP/USDT:USDT"), # hip3 futures
("UNITTEST_USDT", "UNITTEST/USDT"),
("币安人生_USDT_USDT", "币安人生/USDT:USDT"), # futures
],
)
def test_rebuild_pair_from_filename(pair, expected):