Comments (2)
I already have a solution for this, a quick fix and merge is requested.
from robinhood.
In the code:
api_logout <- function(RH) {
detail <- paste("?client_id=",
RH$api_request.client_id,
"&token=",
RH$tokens.refresh_token,
sep = "")
url <- paste(RobinHood::api_endpoints("revoke_token"), detail, sep = "")
dta <- httr::POST(url)
httr::stop_for_status(dta)
dta <- dta %>%
content(type = "json") %>%
rawToChar()
return(dta)
}
replace "RH$tokens.refresh_token" with "RH$api_response.refresh_token" should resolve the issue.
from robinhood.
Related Issues (20)
- fractional shares and "sell all" HOT 2
- get_positions_options: Column `updated_at` doesn't exist HOT 4
- get_positions_options: Column `state` doesn't exist HOT 1
- Buy in dollars rather than shares? HOT 2
- feature request: trailing stop for stocks
- HTTP 400 error for get_tcierks(RH, add_fundamentals = T)
- Getting Bad Request (HTTP 400) Error HOT 14
- argument "mfa_code" is missing, with no default HOT 3
- Cannot place order HOT 3
- MFA Requirement HOT 30
- HTTP 400 Bad Request on api_login
- Error in get_historicals_options HOT 4
- 404 on vignette getting started HOT 1
- Placing an order in extended hours
- Current Bugs
- Retirement Accounts
- Have you considered using MFA HOT 1
- Can't place orders HOT 2
- Error when I run get_positions() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from robinhood.