Socket
Socket
Sign inDemoInstall

ig-markets

Package Overview
Dependencies
9
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ig-markets

IG Markets API wrapper for Node.js


Version published
Weekly downloads
1
Maintainers
1
Install size
3.41 MB
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 01 Nov 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc