/robinhood-node

NodeJS API wrapper for the private Robinhood API

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

Robinhood NodeJS

Travis npm David GitHub license

NodeJS Framework to make trades with the private Robinhood API. Using this API is not encouraged, since it's not officially available. See this blog post for more information on the API.

This framework is inspired on the Python framework by @Rohanpai.

Features

  • Placing buy orders (Robinhood.place_buy_order)
  • Placing sell order (Robinhood.place_sell_order)
  • Quote Information (Robinhood.quote_data)
  • More coming soon...

Installation

npm install --save robinhood

Usage

var Robinhood = require('robinhood');

// Initialize
var trader = Robinhood({
  username: 'user',
  password: 'pass'
});

trader.quote_data('GOOG', function(err, httpResponse, body){
  if(err){
    console.error(err);
    return;
  }
  console.log('Quote data:', body);
});

This framework is still in a very alpha version and will likely change, so production usage is completely discouraged.

Analytics