We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
三选一: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='')
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='')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
环境
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='')
预期程序行为
The text was updated successfully, but these errors were encountered: