Package Exports
- robinhood
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 (robinhood) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Robinhood NodeJS
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.