This function reverse-engineers
addTxn calls for all the
This is the fundamental task required to create a reproducible example,
as it would replicate the state of the $txn slot in the portfolio
string identifying the portfolio to extract from
While market data, expected results, portfolio and account setup, etc, are also required, these can usually be deduced or equivalent formulations can be found.
For transactions, only the exact
addTxn parameters will recreate the $txn slot.
This function creates that reproducibility, since the result (stored in 'x')
can be used to regenerate transactions with
String vector of
addTxn calls that would replicate the given portfolio.
Brian G. Peterson, Josh Ulrich