通过ScriptTrader中get_all_positions查持仓的pnl
https://www.vnpy.com/docs/cn/community/app/script_trader.html#id16
这个持仓盈亏是逐日盯市场的还是逐笔对冲计算的?
通过ScriptTrader中get_all_positions查持仓的pnl
https://www.vnpy.com/docs/cn/community/app/script_trader.html#id16
这个持仓盈亏是逐日盯市场的还是逐笔对冲计算的?
是接口onRspQryInvestorPosition逐笔推送累加的
谢谢大佬