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
qlib/qlib/contrib/backtest/position.py /
161 cash = pd.Series(dtype=np.float)
NameError: name 'np' is not defined
Steps to reproduce the behavior:
import numpy as np
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:
Hi, @zhang787jun Thanks so much for submitting this issue. Would you mind sending a PR to fix this issue and become one of the contributors of Qlib!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
🐛 Bug Description
qlib/qlib/contrib/backtest/position.py /
NameError: name 'np' is not defined
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
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: