Omega ratio over a window: total gains above a threshold divided by total losses below it.
Window length in observations.
The return level separating gains from losses.
https://screamer.readthedocs.io/en/latest/ for the Python reference and full details.
Omega ratio over a window: total gains above a threshold divided by total losses below it.