Comments (1)
The new prototype-based wrappers in commit 9479f86 (edit: amended to 4631bd6) allow this.
Instead of...
var polo = require("poloniex-unofficial");
var trading = polo.api("trading", {
key: "key",
secret: "secret"
});
You can now do this...
var polo = require("poloniex-unofficial");
var trading1 = new polo.TradingWrapper("key1", "secret1");
var trading2 = new polo.TradingWrapper("key2", "secret2");
var trading3 = new polo.TradingWrapper("key3", "secret3");
The former method still works. I just shimmed it to use the latter method internally. I have no idea what good this does, but it feels less restrictive ¯\_(ツ)_/¯
from node-poloniex-unofficial.
Related Issues (18)
- Connection delay causing Autobahn|JS error HOT 3
- It is helpful for the orderbook to have currencyPair in returned objects HOT 2
- Staging for 1.1.0 release HOT 2
- returnTradeHistory give an empty list HOT 2
- Cannot read property 'error' of null on bodyObj.error HOT 7
- Return monetary values as strings HOT 2
- Poloniex returning errors when optional parameters are blank, but included in request HOT 1
- => is not Javascript syntax HOT 2
- 'amount' parameter should be optional in moveOrder method
- problem using trading api HOT 1
- OrderBook.isSynchronized and OrderBook.isSynchronizing does not work
- "Yet another"? Comparison with previously-released packages
- Promise-based API?
- promise api HOT 2
- typo in push.js sets return amount = rate HOT 4
- Expose seq number in push wrapper orderTrade
- Alternative method to unsubscribe from a push feed? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-poloniex-unofficial.