sf-wind / robinhood-node

:chart_with_upwards_trend: Robinhood API in NodeJS

Home Page:http://urbanoalvarez.es/robinhood-node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

:chart_with_upwards_trend: Robinhood API in NodeJS

http://urbanoalvarez.es/robinhood-node

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 100.0%