torreyleonard / algotrader

Simple algorithmic stock and option trading for Node.js.
https://www.npmjs.com/package/algotrader
Apache License 2.0
636 stars 120 forks source link

Portfoilo#getStockValue does not supply a user. #56

Open Xetanai opened 3 years ago

Xetanai commented 3 years ago

Should be a simple fix. Instrument#getQuote() now needs a user to be supplied to it, but Portfolio#getStockValue() does not provide nor take one.

https://github.com/torreyleonard/algotrader/blob/7197f722939d14676147c0fac076b83a08a397a2/objects/broker/robinhood/Portfolio.js#L125