View source: R/position_tracker.R
A function for tracking stock positions
1 2 3 4 5 6 7 8 9 10 11 | position_tracker(
deposit = 0,
ticker = "ticker",
shares = 0,
buying_price = 0,
start_date = "yyyy-mm-dd",
selling_price = 0,
selling_date = "3000-01-01",
industry = "",
listing = c("Index", "Non-Index")
)
|
deposit |
cash deposit |
ticker |
stock ticker |
shares |
number of shares bought / sold |
buying_price |
buying price |
start_date |
purchase date |
selling_price |
selling price |
selling_date |
selling date |
industry |
industry type |
listing |
listing type |
position_tracker |
function to generate a data frame of stock position/s |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.