kernc/backtesting.py

Expectancy calculation

Redeemer98 opened this issue · 1 comments

Expected Behavior

Thank you for the library.

How is expectancy calculated?

The formula is this but manual calculations through this formula does not match the results.
(Reward-to-Risk Ratio X Win Ratio) - (Loss Ratio)

Please see #558.