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
BasePosition是Position的基类, 在Position的构造函数__init__()中,使用super() . init() 调用BasePosition的构造函数。 BasePosition的__init__()函数的参数列表为 self, *args: Any, cash: float = 0.0, **kwargs: Any,
在BasePosition的__init__()方法的代码中,并没有使用到cash参数, 而且不是应该把*args和**kwargs放在形参列表的最后两个吗。
Note: User could run cd scripts && python collect_info.py all under project directory to get system information and paste them here directly.
cd scripts && python collect_info.py all
Windows
Linux
MacOS
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 Bug Description
BasePosition是Position的基类,
在Position的构造函数__init__()中,使用super() . init() 调用BasePosition的构造函数。
BasePosition的__init__()函数的参数列表为 self, *args: Any, cash: float = 0.0, **kwargs: Any,
在BasePosition的__init__()方法的代码中,并没有使用到cash参数,
而且不是应该把*args和**kwargs放在形参列表的最后两个吗。
Screenshot
Environment
Note: User could run
cd scripts && python collect_info.py all
under project directory to get system informationand paste them here directly.
Windows
,Linux
,MacOS
):Additional Notes
The text was updated successfully, but these errors were encountered: