Skip to content

Commit

Permalink
cran improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
mdancho84 committed Aug 19, 2024
1 parent 4d3d65d commit cdf4aa1
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 20 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ inst/doc
doc
Meta
docs
/doc/
/Meta/
6 changes: 3 additions & 3 deletions CRAN-SUBMISSION
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Version: 1.0.7
Date: 2023-03-31 15:57:22 UTC
SHA: 8d30b09ee172fbcff911d3368332bb92f9c00a7d
Version: 1.0.8
Date: 2024-08-19 16:15:06 UTC
SHA: 4d3d65d0aa099dcd551cd6d145cc586d7cbf6990
2 changes: 1 addition & 1 deletion NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ _[Potential Breaking Change] Move `tidyverse` to suggests_

# tidyquant 0.2.0

* New `get = "key.ratios"` option for `tq_get()`, which retrieves 10-years of key performance ratios (89 total) from [www.morningstar.com](https://www.morningstar.com). These include various historical measures of financial performance including profitability, growth, cash flow, financial health, efficiency, and valuation ratios. Example: `tq_get("AAPL", get = "key.ratios")`.
* New `get = "key.ratios"` option for `tq_get()`, which retrieves 10-years of key performance ratios (89 total) from www.morningstar.com. These include various historical measures of financial performance including profitability, growth, cash flow, financial health, efficiency, and valuation ratios. Example: `tq_get("AAPL", get = "key.ratios")`.
* Added `zoo` `rollapply()` functions to list of compatible / integrated functions used with `tq_transform()` and `tq_mutate()`. See `tq_transform_fun_options()` for the full list.
* Changed `tq_mutate()`, `tq_transform()`, `tq_mutate_xy()` and `tq_transform_xy()` arguments to be more obvious:
* `x_fun` is now `ohlc_fun` for `tq_mutate()` and `tq_transform()`
Expand Down
8 changes: 4 additions & 4 deletions R/tq_get.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#' Yahoo Finance (https://finance.yahoo.com/). Wrapper for `quantmod::getSplits()`.
#' \item `"stock.prices.japan"`: Get the open, high, low, close, volume and adjusted
#' stock prices for a stock symbol from
#' Yahoo Finance Japan (https://finance.yahoo.co.jp/). Wrapper for `quantmod::getSymbols.yahooj()`.
#' Yahoo Finance Japan. Wrapper for `quantmod::getSymbols.yahooj()`.
#' \item `"economic.data"`: Get economic data from
#' \href{https://fred.stlouisfed.org/}{FRED}. rapper for `quantmod::getSymbols.FRED()`.
#' \item `"quandl"`: Get data sets from
Expand All @@ -24,13 +24,13 @@
#' \href{https://data.nasdaq.com/}{Quandl}. Wrapper for `Quandl::Quandl.datatable()`.
#' See also [quandl_api_key()].
#' \item `"tiingo"`: Get data sets from
#' \href{https://api.tiingo.com/}{Tiingo}. Wrapper for `riingo::riingo_prices()`.
#' \href{https://www.tiingo.com/}{Tiingo}. Wrapper for `riingo::riingo_prices()`.
#' See also [tiingo_api_key()].
#' \item `"tiingo.iex"`: Get data sets from
#' \href{https://api.tiingo.com/}{Tiingo}. Wrapper for `riingo::riingo_iex_prices()`.
#' \href{https://www.tiingo.com/}{Tiingo}. Wrapper for `riingo::riingo_iex_prices()`.
#' See also [tiingo_api_key()].
#' \item `"tiingo.crypto"`: Get data sets from
#' \href{https://api.tiingo.com/}{Tiingo}. Wrapper for `riingo::riingo_crypto_prices()`.
#' \href{https://www.tiingo.com/}{Tiingo}. Wrapper for `riingo::riingo_crypto_prices()`.
#' See also [tiingo_api_key()].
#' \item `"alphavantager"`: Get data sets from
#' \href{https://www.alphavantage.co/}{Alpha Vantage}. Wrapper for `alphavantager::av_get()`.
Expand Down
3 changes: 1 addition & 2 deletions R/tq_stock_list.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
#'
#' @details
#' `tq_index()` returns the stock symbol, company name, weight, and sector of every stock
#' in an index. The source is
#' \href{https://www.ssga.com/us/en/individual/etfs/fund-finder}{www.ssga.com}.
#' in an index.
#'
#' `tq_index_options()` returns a list of stock indexes you can
#' choose from.
Expand Down
8 changes: 4 additions & 4 deletions man/tq_get.Rd

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

3 changes: 1 addition & 2 deletions man/tq_index.Rd

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

8 changes: 4 additions & 4 deletions vignettes/TQ01-core-functions-in-tidyquant.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Set `x` as one of the options in the list of options above to get the desired st
tq_index("SP500")
```

The data source is [State Street Global Advisors - US SPDRS ETFs](https://www.ssga.com/us/en/institutional/etfs).
The data source is [State Street Global Advisors](https://www.ssga.com/).

## 1.2 Stock Exchanges

Expand Down Expand Up @@ -114,7 +114,7 @@ x8411T <- tq_get("8411.T", get = "stock.prices.japan", from = "2016-01-01", to
```


The data source is Yahoo Finance (https://finance.yahoo.com/) and Yahoo Finance Japan (https://finance.yahoo.co.jp/).
The data source is Yahoo Finance (https://finance.yahoo.com/) and Yahoo Finance Japan.

## 2.2 FRED Economic Data

Expand Down Expand Up @@ -207,11 +207,11 @@ tq_get("ZACKS/SHRS", get = "quandl.datatable") # Zacks Shares Out Supplement

## 2.4 Tiingo API

The [Tiingo API](https://www.tiingo.com/) is a free source for stock prices, cryptocurrencies, and intraday feeds from the IEX (Investors Exchange). This can serve as an alternate source of data to Yahoo! Finance.
The Tiingo API (https://www.tiingo.com/) is a free source for stock prices, cryptocurrencies, and intraday feeds from the IEX (Investors Exchange). This can serve as an alternate source of data to Yahoo! Finance.

### Authentication

To make full use of the integration you need to get an API key and then set your api key. If you don't have one already, go to [Tiingo](https://www.tiingo.com/) account and get your FREE API key. You can then set it as follows:
To make full use of the integration you need to get an API key and then set your api key. If you don't have one already, go to Tiingo (https://www.tiingo.com/) account and get your FREE API key. You can then set it as follows:

```{r, eval=FALSE}
tiingo_api_key('<your-api-key>')
Expand Down

0 comments on commit cdf4aa1

Please sign in to comment.