aurbano / robinhood-node

:chart_with_upwards_trend: NodeJS client for Robinhood Trading :fire:
https://aurbano.github.io/robinhood-node
MIT License
694 stars 185 forks source link

Add crypto functionality #125

Closed avelizmu closed 2 years ago

avelizmu commented 3 years ago

Existing quote_data functionality only works with stock symbols and not any of the supported cryptocurrencies on Robinhood.

Added two new functions, one to find the "currency pairs", which Robinhood uses to identify the cryptocurrencies, and one function to look up the quote information for the cryptos by symbol (using the currency pairs function to find its UUID from its symbol).

Since they require authentication no tests were created.