quadrigacx
nodejs interface for QuadrigaCX bitcoin exchange
Last updated 5 years ago by loourr .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install quadrigacx 
SYNC missed versions from official npm registry.

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)

Current Tags

  • 0.0.7                                ...           latest (5 years ago)

5 Versions

  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           5 years ago
  • 0.0.4                                ...           5 years ago
  • 0.0.3                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2016 © taobao.org |