Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

回测打印order.reference显示空白 #3525

Open
rjl02468 opened this issue Apr 4, 2024 · 0 comments
Open

回测打印order.reference显示空白 #3525

rjl02468 opened this issue Apr 4, 2024 · 0 comments
Labels

Comments

@rjl02468
Copy link

rjl02468 commented Apr 4, 2024

环境

  • 操作系统: 如Windows 11
  • Python版本: 如VeighNa Studio-3.9.0
  • VeighNa版本: v3.9.0发行版

Issue类型

三选一:bug

实际程序行为

回测打印order.reference显示空白,之前版本回测时,测试打印能够正确获取到order.reference的策略名称
rb888 OrderData(gateway_name='BACKTESTING', extra=None, symbol='rb888', exchange=<Exchange.SHFE: 'SHFE'>, orderid='40', type=<OrderType.LIMIT: '限价'>, direction=<Direction.LONG: '多'>, offset=<Offset.CLOSE: '平'>, price=3644.0, volume=1, traded=1, status=<Status.ALLTRADED: '全部成交'>, datetime=datetime.datetime(2023, 5, 9, 14, 45, tzinfo=zoneinfo.ZoneInfo(key='Asia/Shanghai')), reference='')

预期程序行为

@vnpy vnpy added the question label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants