tessek-exchange
v1.0.1
Published
My praiseworthy module
Downloads
6
Readme
tessek-exchange
exchange/forex manager
Install
$ npm install --save tessek-exchange
Usage
var tessekExchange = require('tessek-exchange');
var exchangeHandler = tessekExchange(exchangeObject);
exchangeHandler('buy')
.then(function(){
// buy order made
});
API
tessekExchange(exchangeObject)(action, price)
exchangeObject
Required
Type: Object
// TODO: define exchangeObject
action
Type: string
Possible Values: buy
, sell
, hold
Which action we should perform
price
Type: 'float'
At which price we should buy/sell
License
MIT © Thomas Sileghem