/brokerage

Trade stocks on multiple brokerages with one API

Primary LanguageJavaScriptMIT LicenseMIT

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)