-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
🐛 Bug Description
qlib/qlib/contrib/backtest/position.py /
161 cash = pd.Series(dtype=np.float)NameError: name 'np' is not defined
To Reproduce
Steps to reproduce the behavior:
- import numpy at head
import numpy as np Expected Behavior
Screenshot
Environment
Note: User could run cd scripts && python collect_info.py all under project directory to get system information
and paste them here directly.
- Qlib version:
- Python version:
- OS (
Windows,Linux,MacOS): - Commit number (optional, please provide it if you are using the dev version):
Additional Notes
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working