dparlevliet / node.bittrex.api

Node Bittrex API is an asynchronous node.js library for the Bittrex API, the data can be received either via GET request or Stream.
MIT License
253 stars 100 forks source link

Multiple instances #86

Closed dotsoftware closed 6 years ago

dotsoftware commented 6 years ago

Is it possible to modify the plugin so that it can create an array of bittrex instances? Momentarily, only one user can use the application at the same time.

springjben commented 6 years ago

I am also wondering this. This is very important!

dparlevliet commented 6 years ago

There are native work arounds such as webworkers. With the way this library was originally written it's currently not possible. I do want to try do this, but I have to think about the people who don't need it, too. Unnecessarily breaking someones bot is always out of the question for me so I need to implement it in a way that is backward compatible. I'm really busy for a few more weeks then I will have a lot more free time.

springjben commented 6 years ago

Another contributed helped me implement this! Its done in a very clever yet simple way.

SagiMedina commented 6 years ago

@springjben Please share it with us :)

aloysius-pgast commented 6 years ago

@SagiMedina : I think @springjben is referring to https://github.com/dparlevliet/node.bittrex.api/pull/66

pyldin601 commented 6 years ago

I created #66. You could check it before changes will be accepted. Just refer to npm documentation how to install package from git:

npm i git+https://github.com/pldin601/node.bittrex.api.git
dparlevliet commented 6 years ago

This is in the newest release