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

dynamic _deviceToken & _clientId ? #127

Open jasan-s opened 3 years ago

jasan-s commented 3 years ago

seems _deviceToken and _clientId seem hardcoded in src.

if headless browser is used for initial auth , is it possible to retrieve and supply thee values dynamically ?

ecutter commented 3 years ago

clientId is (for now, at least) a static value. Robinhood does not set this value dynamically.

_deviceToken is generated dynamically in robinhood._init()