Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

strategies can report custom backtest results #2797

Closed
wants to merge 1 commit into from

Conversation

massaroni
Copy link

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    New feature.

  • What is the new behavior (if this is a feature change)?
    Now strategies can report custom results, in backtests. If you want to keep track of whatever custom metrics you're interested in, beyond the stuff that gekko reports after a backtest, then there's a hook for that now. Your strategy's end() function can now return a value, and that value will be printed out in the backtest logs and returned to the caller through the REST api.

@stale
Copy link

stale bot commented Aug 18, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you feel this is very a important issue please reach out the maintainer of this project directly via e-mail: gekko at mvr dot me.

@stale stale bot added the wontfix label Aug 18, 2019
@massaroni
Copy link
Author

Anyone want to review this PR?

@stale stale bot removed the wontfix label Aug 18, 2019
Copy link

@luciusinspace luciusinspace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@stale
Copy link

stale bot commented Nov 28, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you feel this is very a important issue please reach out the maintainer of this project directly via e-mail: gekko at mvr dot me.

@stale stale bot added the wontfix label Nov 28, 2019
@stale stale bot closed this Dec 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants