gnosis / prediction-market-agent-tooling

Tools to benchmark, deploy and monitor prediction market agents.
GNU Lesser General Public License v3.0
21 stars 4 forks source link

[Strategy backtests] Add financial metrics #545

Closed gabrielfior closed 1 day ago

gabrielfior commented 2 weeks ago

Currently we are mostly focusing on returns of a given strategy during a time period. If the returns were lower than the returns of a different strategy, we swap it out.

In TradFi there are other metrics that are also taken into consideration when doing investment decisions - Sharpe Ratio and volatility being two relevant ones, apart from ROI (already available). Additionally, exposure_time could be relevant, i.e. how long the capital stays locked in a given market on average.

As a first step, in this PR we should add the metrics above when doing the backtesting.