See https://www.cointree.com.au/Home/Api for documentation on the CoinTree API.
Example usage
var cointree = require('cointree-api');
var secret = ''; // insert your secret here
var key = ''; // insert your key here
var client = new cointree(key, secret);
client.orders('LTC', function(e, data) {
console.log(data);
});
client.myorders(function(e, data) {
console.log(data);
});
client.spot(function(e, data) {
console.log(data);
});
client.buy('BTC', 0.3, 529, function(e, data) {
console.log(data);
});
client.sell('DOGE', 0.3, 0.00024, function(e, data) {
console.log(data);
});