UNPKG

robinhood-observer

Version:

Comprehensive client featuring RxJS Streams and a CLI for Robinhood Free Stock Trading. A drop in replacement for @aurbano obinhood which includes callback, promise and observable support.

49 lines (44 loc) 1.79 kB
module.exports = { login: 'oauth2/token/', logout: 'oauth2/revoke_token/', investment_profile: 'user/investment_profile/', accounts: 'accounts/', ach_iav_auth: 'ach/iav/auth/', ach_relationships: 'ach/relationships/', ach_transfers: 'ach/transfers/', ach_deposit_schedules: 'ach/deposit_schedules/', applications: 'applications/', dividends: 'dividends/', edocuments: 'documents/', earnings: 'marketdata/earnings/', instruments: 'instruments/', margin_upgrade: 'margin/upgrades/', markets: 'markets/', notifications: 'notifications/', notifications_devices: 'notifications/devices/', orders: 'orders/', cancel_order: 'orders/', // API expects https://api.robinhood.com/orders/{{orderId}}/cancel/ password_reset: 'password_reset/request/', quotes: 'quotes/', document_requests: 'upload/document_requests/', user: 'user/', user_additional_info: 'user/additional_info/', user_basic_info: 'user/basic_info/', user_employment: 'user/employment/', user_investment_profile: 'user/investment_profile/', options_chains: 'options/chains/', options_positions: 'options/aggregate_positions/', options_instruments: 'options/instruments/', options_marketdata: 'marketdata/options/', watchlists: 'watchlists/', positions: 'positions/', fundamentals: 'fundamentals/', sp500_up: 'midlands/movers/sp500/?direction=up', sp500_down: 'midlands/movers/sp500/?direction=down', news: 'midlands/news/', tag: 'midlands/tags/tag/', currency_pairs: 'currency_pairs/', portfolios: 'portfolios/', marketdata_forex_quotes: 'marketdata/forex/quotes/', marketdata_forex_historicals: '/marketdata/forex/historicals/', // API expects https://api.robinhood.com/marketdata/forex/historicals/{{_id}}/?bounds=24_7&interval=15second&span=hour };