torreyleonard / algotrader

Simple algorithmic stock and option trading for Node.js.

Home Page:https://www.npmjs.com/package/algotrader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing Auth in the Instrument.getFundamentals

itscarlosisaac opened this issue · comments

Looks like now to get the data from a stock you also need to be logged in. I was getting a 401 when trying to do it without any auth param.

Modified the static getByUrl to accept the user and added the header with the user.getAuthToken