multiple instances: Binance is not a constructor.
gerakis opened this issue · 1 comments
gerakis commented
const instance1 = new Binance().options({
^
TypeError: Binance is not a constructor
So what am I doing wrong here? Im trying to do multiple instances. I just copy pasted the code without changing it so I don't see how it was anything I did. Am I missing a dependency or something?
gerakis commented
Whoops I had an older version of node-binance-api. I tried updating through NPM but I guess that didnt work. I manually deleted the folder and re-downloaded it through NPM, and now it works fine.