August 25, 2021

5 0

Edge Ratio in Pips Based on Median

This is Edge Ratio but instead of averaging MFE and MAE values by the arithmetic mean, I’ve used medians. The biggest advantage of using medians is the ability do handle outliners and skewed distributions.


More about the Edge ratio you can find here:


This snipper requires import org.apache.commons.math3


Step by step tutorial how to do it you can find here:



In short:


All you need to do is to copy your JARs ( extracted from file in attachment)  into /user/libs folder in your StrategyQuant installation and after restart of SQ you should be able to call them in snippets.

Inline Feedbacks
View all comments