-
Notifications
You must be signed in to change notification settings - Fork 1k
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
treynor_ratio() missing 1 required positional argument: 'benchmark' in train_and_evaluate.ipynb Cell 10 #440
Comments
Got the same bug |
Same here after following @selentium0 advise in issue #443 |
Got the same bug |
The same problem, many bugs |
same |
Same here. Any solution? |
Solved by adding treynor_ratio in the excluded_indicators like below: def generate_all_default_quantstats_features(data): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please make sure that this is a Bug or a Feature Request and provide all applicable information asked by the template.
If your issue is an implementation question, please ask your question on StackOverflow or on the TensorTrade Discord #help-desk channel instead of opening a GitHub issue.
System information
You can obtain the TensorFlow version with:
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
**### **d:\tensortrade-master\examples\train_and_evaluate.ipynb Cell 10'**** in <cell line: 1>()
----> 1 data = generate_features(data)
d:\tensortrade-master\examples\train_and_evaluate.ipynb Cell 9' in generate_all_default_quantstats_features(data)
54 for indicator_name in indicators_list:
55 try:
56 #print(indicator_name)
---> 57 indicator = qs.stats.dictindicator_name
58 if isinstance(indicator, pd.Series):
59 indicator = indicator.to_frame(name=indicator_name)
TypeError: treynor_ratio() missing 1 required positional argument: 'benchmark'
Describe the expected behavior
treynor_ratio() is special, missing 1 required positional argument: 'benchmark'
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
The text was updated successfully, but these errors were encountered: