We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm getting an error after following the documentation. Either I missed something, or this is an unexpected error.
(node:186620) UnhandledPromiseRejectionWarning: Error: Robinhood responded with code 404: not found | Not Found
The requested URL /accounts/null/positions/ was not found on this server.
Here is my code:
myUser.getPortfolio() .then(myPortfolio => { let myTeslaShares = myPortfolio.getQuantity("TSLA"); let bestDayEver = myPortfolio.getPurchaseDate("SHLD"); let mySymbols = myPortfolio.getSymbols(); let myMoneyMakers = myPortfolio.getQuantityGreaterThan(50); }) .catch(error => { console.log("getPortfolio Failed!", error); })
where myUser is an authenticated Robinhood.User
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm getting an error after following the documentation. Either I missed something, or this is an unexpected error.
(node:186620) UnhandledPromiseRejectionWarning: Error: Robinhood responded with code 404: not found | Not Found
The requested URL /accounts/null/positions/ was not found on this server.
Here is my code:
myUser.getPortfolio()
.then(myPortfolio => {
let myTeslaShares = myPortfolio.getQuantity("TSLA");
let bestDayEver = myPortfolio.getPurchaseDate("SHLD");
let mySymbols = myPortfolio.getSymbols();
let myMoneyMakers = myPortfolio.getQuantityGreaterThan(50);
})
.catch(error => {
console.log("getPortfolio Failed!", error);
})
where myUser is an authenticated Robinhood.User
The text was updated successfully, but these errors were encountered: