这个是老师通过编写公式实现的功能,盈亏的计算取决于具体的算法。类似的输出格式需要用到plot对象的表格。请参考官网的相关文档:
http://www.tbquant.net/dist/index.html#/?navigate=&cid=504&position=toc422