Skip to content

Commit

Permalink
docs: closes #16
Browse files Browse the repository at this point in the history
  • Loading branch information
aravindhebbali committed Nov 14, 2024
1 parent a39fba9 commit 7aaa237
Show file tree
Hide file tree
Showing 51 changed files with 13,077 additions and 2,666 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: yahoofinancer
Type: Package
Title: Fetch Data from Yahoo Finance API
Version: 0.4.0
Version: 0.4.0.9000
Authors@R: person("Aravind", "Hebbali", email = "hebbali.aravind@gmail.com", role = c("aut", "cre"))
Description: Obtain historical and near real time data related to stocks, index
and currencies from the Yahoo Finance API. This package is community maintained
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# yahoofinancer 0.4.0.9000

# yahoofinancer 0.4.0

This is a minor release for bug fixes and other improvements.
Expand Down
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ To retrieve data from Yahoo Finance for a single stock, create an instance of th
aapl <- Ticker$new('aapl')
# get historical market data
head(aapl$get_history(start = '2024-01-20', interval = '1d'))
head(aapl$get_history(start = '2024-10-20', interval = '1d'))
# meta info
# regular market price
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,19 @@ an argument:
aapl <- Ticker$new('aapl')

# get historical market data
head(aapl$get_history(start = '2024-01-20', interval = '1d'))
head(aapl$get_history(start = '2024-10-20', interval = '1d'))
#> date volume high low open close adj_close
#> 1 2024-01-22 14:30:00 60133900 195.33 192.26 192.30 193.89 192.9447
#> 2 2024-01-23 14:30:00 42355600 195.75 193.83 195.02 195.18 194.2285
#> 3 2024-01-24 14:30:00 53631300 196.38 194.34 195.42 194.50 193.5518
#> 4 2024-01-25 14:30:00 54822100 196.27 193.11 195.22 194.17 193.2234
#> 5 2024-01-26 14:30:00 44594000 194.76 191.94 194.27 192.42 191.4819
#> 6 2024-01-29 14:30:00 47145600 192.20 189.58 192.01 191.73 190.7953
#> 1 2024-10-21 13:30:00 36254500 236.85 234.45 234.45 236.48 236.2201
#> 2 2024-10-22 13:30:00 38846600 236.22 232.60 233.89 235.86 235.6008
#> 3 2024-10-23 13:30:00 52287000 235.14 227.76 234.08 230.76 230.5064
#> 4 2024-10-24 13:30:00 31109500 230.82 228.41 229.98 230.57 230.3166
#> 5 2024-10-25 13:30:00 38802300 233.22 229.57 229.74 231.41 231.1557
#> 6 2024-10-28 13:30:00 36087100 234.73 232.55 233.32 233.40 233.1435

# meta info
# regular market price
aapl$regular_market_price
#> [1] 225.46
#> [1] 226.425

# 52 week high
aapl$fifty_two_week_high
Expand Down
66 changes: 25 additions & 41 deletions docs/404.html

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

54 changes: 20 additions & 34 deletions docs/CODE_OF_CONDUCT.html

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

Loading

0 comments on commit 7aaa237

Please sign in to comment.