Skip to content

Commit

Permalink
Merge pull request #142 from JestonBlu:JestonBlu/issue141
Browse files Browse the repository at this point in the history
(GH-141) get_positions_options: Column `state` doesn't exist
  • Loading branch information
JestonBlu committed Feb 1, 2022
2 parents 29dcbf3 + 5ddf9c4 commit 6e3db79
Show file tree
Hide file tree
Showing 83 changed files with 101 additions and 86 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: RobinHood
Type: Package
Title: Interface for the RobinHood.com No Commission Investing Platform
Version: 1.6.2
Version: 1.6.3
Author: Joseph Blubaugh
Maintainer: Joseph Blubaugh <jestonblu@gmail.com>
Description: Execute API calls to the RobinHood <https://robinhood.com> investing platform. Functionality includes accessing account data and current holdings, retrieving investment statistics and quotes, placing and canceling orders, getting market trading hours, searching investments by popular tag, and interacting with watch lists.
Expand Down
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
title: "NEWS"
---

# RobinHood 1.6.3

## Bug Fixes
- [(GH-141)](https://github.com/JestonBlu/RobinHood/issues/141) `get_positions_options()` Column state doesn't exist #141 (@fouslim)

-------------------------------------------------------------------------------

# RobinHood 1.6.2

## Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion R/get_positions_options.R
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ get_positions_options <- function(RH, trim_pending = TRUE) { # nolint
options$option <- as.character(options$option)
options_instruments$option <- as.character(options_instruments$option)
options <- dplyr::inner_join(options, options_instruments, by = "option") %>%
dplyr::select(-c("updated_at"))
dplyr::select(-c("updated_at", "state"))

if (nrow(options) == 0) stop("You dont have any open positions")

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
![Project Status](https://www.repostatus.org/badges/latest/active.svg) &nbsp;
![Travis-CI](https://travis-ci.org/JestonBlu/RobinHood.svg?branch=master) &nbsp;
![pkgdown](https://github.com/JestonBlu/RobinHood/workflows/pkgdown/badge.svg?branch=master) &nbsp;
![Dev Version](https://img.shields.io/badge/github-1.6.2-blue.svg) &nbsp;
![Dev Version](https://img.shields.io/badge/github-1.6.3-blue.svg) &nbsp;
![CRAN Version](http://www.r-pkg.org/badges/version/RobinHood?color=blue) &nbsp;
![CRAN Downloads](http://cranlogs.r-pkg.org/badges/grand-total/RobinHood) &nbsp;

Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/LICENSE-text.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/getting_started.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/network_graph.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/articles/passwords.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/authors.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 10 additions & 2 deletions docs/news/index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ articles:
getting_started: getting_started.html
network_graph: network_graph.html
passwords: passwords.html
last_built: 2022-01-19T20:39Z
last_built: 2022-02-01T12:34Z

2 changes: 1 addition & 1 deletion docs/reference/RobinHood.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_accounts.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_accounts_crypto.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_ach.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_contracts.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_currency_pairs.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_endpoints.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_fundamentals.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_historicals.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_historicals_crypto.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_historicals_options.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_instruments.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_instruments_options.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_login.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_logout.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_marketdata.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_markets.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_orders.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_orders_crypto.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_orders_options.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_portfolios.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_portfolios_crypto.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_positions.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_positions_crypto.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/api_positions_options.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6e3db79

Please sign in to comment.