rainner/binance-watch

Bug in splitSymbol function

Closed this issue · 1 comments

If the symbol contain any number (Ex: C98USDT), regexp will not split token and market exactly.

// add 0-9 to fix the problem
const regexp = new RegExp( `^([A-Z0-9]+)(${quotes})$` );

Thanks, will add it later when I have time.