Description Usage Arguments Value
Compute the total cost basis of a particular stock held at a date.
1 | cost_basis(ticker, account, date, cleaned_df)
|
ticker |
The stock of interest. |
account |
The account holding the shares. |
date |
The date at which to calculate the holding. |
cleaned_df |
The cleaned dataframe generated using clean_transaction_export(). |
The cost basis, rounded to the nearest ten-thousandth dollar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.