Package com.strategyquant.tradinglib
Class StatsKey
java.lang.Object
com.strategyquant.tradinglib.StatsKey
Stats metrics constants (strings).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringConstant AAR_DD_RATIO.static StringConstant AHPR.static StringConstant AVG_TRADE.static StringConstant AVG_BARS_LOSS.static StringConstant AVG_BARS_TRADE.static StringConstant AVG_BARS_WIN.static StringConstant AVG_CONSEC_LOSS.static StringConstant AVG_CONSEC_WIN.static StringConstant AVG_LOSS.static StringThe Constant AVG_PCT_PROFIT_BY_YEAR.static StringConstant AVG_PROFIT_BY_DAY.static StringConstant AVG_PROFIT_BY_MONTH.static StringConstant AVG_PROFIT_BY_YEAR.static StringConstant AVG_TRADE.static StringConstant AVG_TRADES_PER_DAY.static StringConstant AVG_TRADES_PER_MONTH.static StringConstant AVG_TRADES_PER_YEAR.static StringConstant AVG_WIN.static StringConstant CAGR.static StringConstant CALMAR_RATIO.static StringConstant COMMISSION.static StringConstant COMMSWAP_IN_MONEY.static StringConstant DEGREES_OF_FREEDOM.static StringConstant DRAWDOWN.static StringConstant EXPECTANCY.static StringConstant EXPOSURE.static StringConstant EXPOSURE_POSITION.static StringConstant GROSS_LOSS.static StringConstant GROSS_PROFIT.static StringConstant MAX_CONSEC_LOSS.static StringConstant MAX_CONSEC_WINS.static StringConstant MAX_LOSS.static StringConstant MAX_NEW_HIGH_DURATION_FROM.static StringConstant MAX_NEW_HIGH_DURATION_PCT.static StringConstant MAX_NEW_HIGH_DURATION_PERIOD.static StringConstant MAX_NEW_HIGH_DURATION_TO.static StringConstant MAX_PROFIT.static StringConstant NET_PROFIT.static StringConstant NET_PROFIT_PIPS.static StringConstant NUMBER_OF_CANCELED.static StringConstant NUMBER_OF_LOSSES.static StringConstant NUMBER_OF_PROFITS.static StringConstant NUMBER_OF_TRADES.static StringConstant OPTIMIZATION_PARAMETERS.static StringConstant OPTIMIZATION_PARAMETERS_ARRAY.static StringConstant PAYOUT_RATIO.static StringConstant PCT_DRAWDOWN.static StringConstant PIPS_DRAWDOWN.static StringConstant PROFIT_FACTOR.static StringConstant PROFITABLE_MONTHS.static StringConstant R_EXPECTANCY.static StringConstant R_EXPECTANCY_SCORE.static StringConstant RETURN_DD_RATIO.static StringConstant SHARPE_RATIO.static StringConstant SLIPPAGE_IN_MONEY.static StringConstant SQN.static StringConstant SQN_SCORE.static StringConstant STABILITY.static StringConstant STAGNATION_FROM.static StringConstant STAGNATION_PERIOD.static StringConstant STAGNATION_PERIOD_PCT.static StringConstant STAGNATION_TO.static StringConstant STANDARD_DEV.static StringConstant SYMMETRY.static StringConstant TOTAL_TRADING_DAYS.static StringConstant TOTAL_TRADING_MONTHS.static StringConstant TOTAL_TRADING_YEARS.static StringConstant WIN_LOSS_RATIO.static StringConstant WINNING_PCT.static StringConstant Z_PROBABILITY.static StringConstant Z_SCORE. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NET_PROFIT
Constant NET_PROFIT.- See Also:
- Constant Field Values
-
GROSS_PROFIT
Constant GROSS_PROFIT.- See Also:
- Constant Field Values
-
GROSS_LOSS
Constant GROSS_LOSS.- See Also:
- Constant Field Values
-
PROFIT_FACTOR
Constant PROFIT_FACTOR.- See Also:
- Constant Field Values
-
NUMBER_OF_TRADES
Constant NUMBER_OF_TRADES.- See Also:
- Constant Field Values
-
NUMBER_OF_LOSSES
Constant NUMBER_OF_LOSSES.- See Also:
- Constant Field Values
-
NUMBER_OF_PROFITS
Constant NUMBER_OF_PROFITS.- See Also:
- Constant Field Values
-
NUMBER_OF_CANCELED
Constant NUMBER_OF_CANCELED.- See Also:
- Constant Field Values
-
WIN_LOSS_RATIO
Constant WIN_LOSS_RATIO.- See Also:
- Constant Field Values
-
AVG_BARS_TRADE
Constant AVG_BARS_TRADE.- See Also:
- Constant Field Values
-
AVG_BARS_WIN
Constant AVG_BARS_WIN.- See Also:
- Constant Field Values
-
AVG_BARS_LOSS
Constant AVG_BARS_LOSS.- See Also:
- Constant Field Values
-
AVG_TRADE
Constant AVG_TRADE.- See Also:
- Constant Field Values
-
AVG_ABS_TRADE
Constant AVG_TRADE.- See Also:
- Constant Field Values
-
AVG_WIN
Constant AVG_WIN.- See Also:
- Constant Field Values
-
AVG_LOSS
Constant AVG_LOSS.- See Also:
- Constant Field Values
-
PAYOUT_RATIO
Constant PAYOUT_RATIO.- See Also:
- Constant Field Values
-
AVG_PROFIT_BY_DAY
Constant AVG_PROFIT_BY_DAY.- See Also:
- Constant Field Values
-
AVG_PROFIT_BY_MONTH
Constant AVG_PROFIT_BY_MONTH.- See Also:
- Constant Field Values
-
AVG_PROFIT_BY_YEAR
Constant AVG_PROFIT_BY_YEAR.- See Also:
- Constant Field Values
-
AVG_PCT_PROFIT_BY_YEAR
The Constant AVG_PCT_PROFIT_BY_YEAR.- See Also:
- Constant Field Values
-
AVG_TRADES_PER_DAY
Constant AVG_TRADES_PER_DAY.- See Also:
- Constant Field Values
-
AVG_TRADES_PER_MONTH
Constant AVG_TRADES_PER_MONTH.- See Also:
- Constant Field Values
-
AVG_TRADES_PER_YEAR
Constant AVG_TRADES_PER_YEAR.- See Also:
- Constant Field Values
-
MAX_CONSEC_WINS
Constant MAX_CONSEC_WINS.- See Also:
- Constant Field Values
-
MAX_CONSEC_LOSS
Constant MAX_CONSEC_LOSS.- See Also:
- Constant Field Values
-
AVG_CONSEC_WIN
Constant AVG_CONSEC_WIN.- See Also:
- Constant Field Values
-
AVG_CONSEC_LOSS
Constant AVG_CONSEC_LOSS.- See Also:
- Constant Field Values
-
MAX_PROFIT
Constant MAX_PROFIT.- See Also:
- Constant Field Values
-
MAX_LOSS
Constant MAX_LOSS.- See Also:
- Constant Field Values
-
STANDARD_DEV
Constant STANDARD_DEV.- See Also:
- Constant Field Values
-
Z_SCORE
Constant Z_SCORE.- See Also:
- Constant Field Values
-
Z_PROBABILITY
Constant Z_PROBABILITY.- See Also:
- Constant Field Values
-
EXPECTANCY
Constant EXPECTANCY.- See Also:
- Constant Field Values
-
R_EXPECTANCY
Constant R_EXPECTANCY.- See Also:
- Constant Field Values
-
R_EXPECTANCY_SCORE
Constant R_EXPECTANCY_SCORE.- See Also:
- Constant Field Values
-
SYMMETRY
Constant SYMMETRY.- See Also:
- Constant Field Values
-
MAX_NEW_HIGH_DURATION_FROM
Constant MAX_NEW_HIGH_DURATION_FROM.- See Also:
- Constant Field Values
-
MAX_NEW_HIGH_DURATION_TO
Constant MAX_NEW_HIGH_DURATION_TO.- See Also:
- Constant Field Values
-
MAX_NEW_HIGH_DURATION_PERIOD
Constant MAX_NEW_HIGH_DURATION_PERIOD.- See Also:
- Constant Field Values
-
MAX_NEW_HIGH_DURATION_PCT
Constant MAX_NEW_HIGH_DURATION_PCT.- See Also:
- Constant Field Values
-
STAGNATION_FROM
Constant STAGNATION_FROM.- See Also:
- Constant Field Values
-
STAGNATION_TO
Constant STAGNATION_TO.- See Also:
- Constant Field Values
-
STAGNATION_PERIOD
Constant STAGNATION_PERIOD.- See Also:
- Constant Field Values
-
STAGNATION_PERIOD_PCT
Constant STAGNATION_PERIOD_PCT.- See Also:
- Constant Field Values
-
EXPOSURE
Constant EXPOSURE.- See Also:
- Constant Field Values
-
EXPOSURE_POSITION
Constant EXPOSURE_POSITION.- See Also:
- Constant Field Values
-
DRAWDOWN
Constant DRAWDOWN.- See Also:
- Constant Field Values
-
PCT_DRAWDOWN
Constant PCT_DRAWDOWN.- See Also:
- Constant Field Values
-
PIPS_DRAWDOWN
Constant PIPS_DRAWDOWN.- See Also:
- Constant Field Values
-
RETURN_DD_RATIO
Constant RETURN_DD_RATIO.- See Also:
- Constant Field Values
-
STABILITY
Constant STABILITY.- See Also:
- Constant Field Values
-
DEGREES_OF_FREEDOM
Constant DEGREES_OF_FREEDOM.- See Also:
- Constant Field Values
-
AHPR
Constant AHPR.- See Also:
- Constant Field Values
-
SHARPE_RATIO
Constant SHARPE_RATIO.- See Also:
- Constant Field Values
-
SQN
Constant SQN.- See Also:
- Constant Field Values
-
SQN_SCORE
Constant SQN_SCORE.- See Also:
- Constant Field Values
-
AAR_DD_RATIO
Constant AAR_DD_RATIO.- See Also:
- Constant Field Values
-
TOTAL_TRADING_DAYS
Constant TOTAL_TRADING_DAYS.- See Also:
- Constant Field Values
-
TOTAL_TRADING_MONTHS
Constant TOTAL_TRADING_MONTHS.- See Also:
- Constant Field Values
-
PROFITABLE_MONTHS
Constant PROFITABLE_MONTHS.- See Also:
- Constant Field Values
-
TOTAL_TRADING_YEARS
Constant TOTAL_TRADING_YEARS.- See Also:
- Constant Field Values
-
CAGR
Constant CAGR.- See Also:
- Constant Field Values
-
WINNING_PCT
Constant WINNING_PCT.- See Also:
- Constant Field Values
-
COMMISSION
Constant COMMISSION.- See Also:
- Constant Field Values
-
CALMAR_RATIO
Constant CALMAR_RATIO.- See Also:
- Constant Field Values
-
OPTIMIZATION_PARAMETERS
Constant OPTIMIZATION_PARAMETERS.- See Also:
- Constant Field Values
-
OPTIMIZATION_PARAMETERS_ARRAY
Constant OPTIMIZATION_PARAMETERS_ARRAY.- See Also:
- Constant Field Values
-
NET_PROFIT_PIPS
Constant NET_PROFIT_PIPS.- See Also:
- Constant Field Values
-
SLIPPAGE_IN_MONEY
Constant SLIPPAGE_IN_MONEY.- See Also:
- Constant Field Values
-
COMMSWAP_IN_MONEY
Constant COMMSWAP_IN_MONEY.- See Also:
- Constant Field Values
-
-
Constructor Details
-
StatsKey
public StatsKey()
-
-
Method Details
-
join
Join.- Parameters:
constants- the constants- Returns:
- the string
-