ig-markets
v1.0.0
Published
IG Markets API wrapper for Node.js
Downloads
8
Maintainers
Readme
ig-markets
A basic wrapper for the IG Markets REST API written in Node.js. Please refer to the official documentation for more information on API endpoints.
Installation
npm install ig-markets --save
Usage
var IG = require('ig-markets');
var ig = new IG(key, identifier, password);
ig.prices('CS.D.EURUSD.MINI.IP', function(err, data) {
if (err) {
console.error(err);
} else {
console.log(data);
}
});
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/schopenhauer/ig-markets.
License
The module is available as open source under the terms of the MIT License.