stoqey / ibkr

Interactive Brokers wrapper 🚩
MIT License
59 stars 11 forks source link

tick type fix #57

Closed ceddybi closed 3 years ago

ceddybi commented 3 years ago

And then in prices.updates.ts instead of:

            // Matches as requested
            if (currentTickerType === tickTypeWords) {

Maybe something like:

            // Matches as requested
            if ((typeof currentTickerType === "string" && currentTickerType === tickTypeWords) || currenTickerType.includes(tickTypeWords)) {
ceddybi commented 3 years ago

@ellis +1