RealTest User Guide
RealTest User Guide

 

 

Navigation: RealTest Script Language > Syntax Element Details >

TradeStatKurt

 

 

 

 

Category

Trade Statistics Functions

Description

The kurtosis of trade record values for the most recent N trades or for all trades

Syntax

TradeStatKurt(value, count, symbol)

Parameters

value - trade value formula

count - number of recent trades to include, or all trades if omitted or 0

symbol - specific symbol to include, or all symbols if omitted

Notes

This is excess kurtosis, so a normal distribution returns 0. Positive values indicate fatter tails (more frequent extreme trades) than a normal distribution.

TradeStatKurt is calculated in the way that Excel would calculate a KURT.P function if it had one, i.e., as if the set of trade values is the entire population. It returns excess kurtosis (a normal distribution is 0).

See the link above for important information about this function category.

Example

ReturnKurt: TradeStatKurt(T.NetPct)

Excess kurtosis of the distribution of trade returns.

 

 

 

Copyright © 2020-2026 Systematic Solutions, LLC