Skip to content
New issue

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

Unable to Log in using credentials, any known issues with that? #20

Open
josephtutera opened this issue Sep 26, 2018 · 9 comments
Open

Comments

@josephtutera
Copy link

No description provided.

@josephtutera
Copy link
Author

josephtutera commented Sep 26, 2018

Is this quandl_token variable where the API key is supposed to go?

I have tired a valid username and password for Robinhood.com, but API login does not work when I attempt the following.

Where does the API key go exactly? Is this it?

// obtain token from www.quandl.com (free), need for market analysis
c.quandl_token = "api_key_here";

// Robinhood credentialss
c.robinhood_credentials = {
    username:'someUsername',
    password:'somePassword'
};

@Nick8197
Copy link

You sign up for quandary and put in the long API number where it says api key here and keep the number in the parenthesis

@josephtutera
Copy link
Author

josephtutera commented Sep 27, 2018

Still nothing, if you mean bu parenthesis for the API key you mean this:

' // obtain token from www.quandl.com (free), need for market analysis
c.quandl_token = "(api_key_here)"; '

@Nick8197
Copy link

Sorry meant quotes not parenthesis c.quandl_token = “put api key here” put the number between the quotes

@josephtutera
Copy link
Author

Still, authentication fail, do I need a credentials.js. is this ready to run after I install dependencies and run it. In other words, do I need to install anything else?

@Nick8197
Copy link

Do a clean install follow the read me

Please run "npm update" and "npm install" to update robinhood-node

then go to your conf.js put in your Robinhood username and password, and also put in your quandl api key it should work

@josephtutera
Copy link
Author

ok, thanks I will let you know what happens

@josephtutera
Copy link
Author

it worked! NPM-update was the key, appreciate the help!

@riscphree
Copy link

riscphree commented Oct 6, 2018

I'm getting this error on my end and npm update doesn't seem to solve it:

$ npm update
npm WARN [email protected] No repository field.

+ [email protected]
updated 1 package and audited 144 packages in 2.734s
found 17 vulnerabilities (3 low, 9 moderate, 4 high, 1 critical)
  run `npm audit fix` to fix them, or `npm audit` for details

$ npm audit fix
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but npm-shrinkwrap.json was generated for lockfileVersion@0. I'll try to do my best with it!
npm WARN [email protected] No repository field.

added 18 packages from 14 contributors, removed 18 packages and moved 1 package in 1.852s
fixed 0 of 17 vulnerabilities in 144 scanned packages
  17 vulnerabilities required manual review and could not be updated

This is a clean install of the code. Any hints?

Edit: I had to update some random stuff and it seemed to work now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants