[R-SIG-Finance] blotter package funciton addTxns
roger.bos at rothschild.com
Tue May 16 22:03:34 CEST 2017
I cloned the blotter package on github and took a look at the amzn_test.R demo file and I see a call to addTxns, but I don't see that function listed in R folder of the package. I see addTxn, but not addTxns. addTxns is listed in the NAMESPACE folder as an exported function. I can still see the function code by typing the function name, but Could someone please point out something simple that I am obviously missing?
### Start Example Code ###
# Remove portfolio and account data if run previously
try(rm("portfolio.amzn_port","account.amzn_acct",pos=.blotter), silent = TRUE)
# load the example data
# Initialize the Portfolio
# look at the transactions data
# Add the transactions to the portfolio
This message and any attachments are for the intended recipient’s use only. This message may contain confidential, proprietary or legally privileged information. No right to confidential or privileged treatment of this message is waived or lost by an error in transmission.
If you have received this message in error, please immediately notify the sender by e-mail, delete the message, any attachments and all copies from your system and destroy any hard copies. You must not, directly or indirectly, use, disclose, distribute, print or copy any part of this message or any attachments if you are not the intended recipient.
More information about the R-SIG-Finance