Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/seananderson/spudr
An R package for tracking and managing couch-potato investment portfolios
https://github.com/seananderson/spudr
Last synced: 12 days ago
JSON representation
An R package for tracking and managing couch-potato investment portfolios
- Host: GitHub
- URL: https://github.com/seananderson/spudr
- Owner: seananderson
- License: other
- Created: 2014-10-15T20:27:06.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-10-18T20:55:11.000Z (about 10 years ago)
- Last Synced: 2024-06-11T17:20:33.891Z (5 months ago)
- Language: R
- Size: 152 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# spudr
An R package for tracking and managing couch-potato-style investment portfolios
in the spirit of .This is a work in progress as I bring over an assortment of functions I've been
using for tracking portfolios. Right now it doesn't do much.You can install the package with:
```S
# install.packages("devtools") # if necessary
devtools::install_github("seananderson/spudr")
library("spudr")
```One thing the package does that you might find useful, is to return a data frame
(or append data to a .csv file) with today's stock values for a vector of stock
symbols. The data come from Google Finance in real time. For example:```S
s <- c("VAB", "XRB", "ZRE", "XEC", "XEF", "XIC", "VUN", "TDB909", "TDB911")
google_dat(s)
## Date VAB XRB ZRE XEC XEF XIC VUN TDB909 TDB911
## 2014-10-15 25.45 24.5 19.34 21.39 22.59 21.96 29.34 11.6 10.89
```