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

Small outdated code preventing backtesting runs #8

Open
sujitpal opened this issue Dec 25, 2023 · 0 comments
Open

Small outdated code preventing backtesting runs #8

sujitpal opened this issue Dec 25, 2023 · 0 comments

Comments

@sujitpal
Copy link

  1. pip install auquan_toolkit fails because setup.py mentions sklearn instead of the more recent name scikit-learn. There is a workaround by setting environment variable SKLEARN_ALLOW_DEPRECATED_SKLEARN_PACKAGE_INSTALL=True but may be better to set the new name into setup.py
  2. reference to outdated pandas call to Dataframe.iteritems() which has been deprecated and removed in favor of Dataframe.items() in backtester/executionSystem/simple_execution_system.py

I pip installed locally with -e and made these changes, and it makes TradingSystem.startTrading() run without error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant