JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 12
  • Score
    100M100P100Q46654F
  • License MIT

Trade stocks on multiple brokerages with one API

Package Exports

  • brokerage

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (brokerage) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

brokerage

Trade stocks on multiple brokerages with one API

NOTE: this is a pre-production version, and the module interfaces and functionality are not stable yet.

var brokerage = require('brokerage');
var broker = new brokerage('questrade', token);

// The following return a Promise:
broker.accounts();
broker.findsymbols(description);
broker.test();
broker.time();
broker.quotes(id);
broker.quotes([id1,id2,...]);
broker.symbols(id);
broker.symbols([id1,id2,...]);
broker.user();

1. Installation

$ npm install brokerage

2. Brokerages

brokerage aims to support all major brokerage APIs.

2.1 Help prioritize work

Help us decide which API to support next by voting here.

2.2 List of API providers

Name Status Discussion
Questrade in progress Github issue
E*TRADE not started
Interactive Brokers not started
TD Ameritrade not started
Firstrade not started
TradeKing not started

3. Other features

  • log response times by provider (coming soon)