JestonBlu / RobinHood

An R interface for the RobinHood.com no commision investing site
https://jestonblu.github.io/RobinHood/
GNU Lesser General Public License v3.0
45 stars 12 forks source link

argument "mfa_code" is missing, with no default #153

Closed jreeder3131 closed 2 years ago

jreeder3131 commented 2 years ago

I just updated to the Github version of the package this morning (login had broken on my CRAN installed version) and now I am getting an error that looks like it is related to MFA.

I don't have MFA setup. Am I required to in order to continue using the package?

I prefer not to use MFA since I have some automated code running.

cbengibson2 commented 2 years ago

The Robinhood API changed, and MFA is now required. I used the google authenticator app: I authenticated using the R package manually (by entering the MFA code provided by google authenticator), and then saved the RobinHood object for later use, e.g. save(RH, file="RH.Rdata"). It has worked for data collection for me (though I have been unable to place an order with the new version).

JestonBlu commented 2 years ago

I will test not being able to place an order. MFA is required at the moment for the github version. I will try to get both working again this weekend.

jreeder3131 commented 2 years ago

Thanks, yeah my code relies on ability to place orders, so that would be appreciated.