Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在blotterR 包中,您可以使用addTxn和addTxns函数将交易添加到投资组合。
blotter
addTxn
addTxns
是否可以将元数据附加到这些事务中?
例如,能够为每个条目添加一个标识符会很有用。
不,目前无法将元数据附加到单个交易中。我也想不出实现它的好方法。
我不确定我们是否可以允许用户在当前功能不知道的情况下将任意列添加到事务表中。
您也许可以通过自定义函数(例如)xtsAttributes将您自己的元数据附加到事务表中。myAddTxn显然,您将负责维护元数据的完整性。
xtsAttributes
myAddTxn