R expectancy

2 replies

JerKha

Subscriber, bbp_participant, customer, community, sq-ultimate, 7 replies.

Visit profile

1 year ago #279401

Hi everyone,

As I am currently figuring out all metrics from https://strategyquant.com/doc/strategyquant/results-overview/strategy-analysis-metrics/

I was wondering something about R Expectancy as it is expenctancy divided by risk, how risk is calculated ?

It says “maximum potential loss of trade” but it isn’t clear for me. Is Risk here the :

 

A. “maximum potential loss of A trade”

or

B. “average of the maximum potential losses of ALL trades”

0

tomas262

Administrator, sq-ultimate, 2 replies.

Visit profile

1 year ago #279417

Hi,

you can easily read the formulas for statistics used in SQ. Just open the CodeEditor and read the logic under \internal\extend\Snippets\SQ\Columns\Databanks

For the expectancy it is Rexpectancy = netProfit / (numberOfTrades * Abs(avgLoss));

0

JerKha

Subscriber, bbp_participant, customer, community, sq-ultimate, 7 replies.

Visit profile

1 year ago #279426

I didn’t knew about CodeEditor, that helps a lot.

Thank you.

0

Viewing 2 replies - 1 through 2 (of 2 total)