0.0.7 • Published 9 years ago

quadrigacx v0.0.7

Weekly downloads
491
License
ISC
Repository
github
Last release
9 years ago

Node QuadrigaCX

This is a node.js wrapper for the QuadrigaCX API.

Install

npm install cointrader

var QuadrigaCX = require('quadrigacx');

var quadrigacx = new QuadrigaCX(client_id, key, secret);

var params = {
	amount: 1.1
	price: 342.42
	book: 'btc_cad'	
};

quadrigacx.api('buy', params, function(err, order){
	if(err){
		throw(err)
	}

	console.log(order);
});

Functions

api is the main function which accepts any method name, either public or private, and parameters and makes the request.

api(method, params, cb)

public_request(path, params, cb)

private_request(path, params, cb)

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago