Documentación
Aplicaciones
Última actualización el 5. 5. 2015 por Mark Fric
Constantes StatsValues
A continuación se muestra una lista de constantes estándar para StatsValues anuncio definido en com.strategyquant.lib.results.StatsConst medthod.
Puede utilizarlas directamente como cadenas, por ejemplo:
double grossProfit = stats.getDouble("GrossProfit");
o (para evitar errores tipográficos) utilizando las constantes de clase:
double grossProfit = stats.getDouble(StatsConst.GROSS_PROFIT);
-
NET_PROFIT = “NetProfitâ€;
-
GROSS_PROFIT = “GrossProfitâ€;
-
GROSS_LOSS = “GrossLossâ€;
-
PROFIT_FACTOR = "Factor_de_ganancia";
-
NUMBER_OF_TRADES = “NumberOfTradesâ€;
-
NUMBER_OF_LOSSES = “NumberOfLossesâ€;
-
NUMBER_OF_PROFITS = "Número de beneficios" & #157;;
-
NUMBER_OF_CANCELED = “NumberOfCanceledâ€;
-
WIN_LOSS_RATIO = “WinLossRatioâ€;
-
AVG_BARS_TRADE = “AvgBarsTradeâ€;
-
AVG_BARS_WIN = “AvgBarsWinâ€;
-
AVG_BARS_LOSS = “AvgBarsLossâ€;
-
AVG_TRADE = “AvgTradeâ€;
-
AVG_WIN = “AvgWinâ€;
-
AVG_LOSS = “AvgLossâ€;
-
PAYOUT_RATIO = “PayoutRatioâ€;
-
AVG_PROFIT_BY_DAY = “AvgProfitByDayâ€;
-
AVG_PROFIT_BY_MONTH = “AvgProfitByMonthâ€;
-
AVG_PROFIT_BY_YEAR = “AvgProfitByYearâ€;
-
AVG_TRADES_PER_DAY = “AvgTradesPerDayâ€;
-
AVG_TRADES_PER_MONTH = “AvgTradesPerMonthâ€;
-
AVG_TRADES_PER_YEAR = “AvgTradesPerYearâ€;
-
MAX_CONSEC_WINS = “MaxConsecWinsâ€;
-
MAX_CONSEC_LOSS = "MaxConsecLoss" & #157;;
-
AVG_CONSEC_WIN = “AvgConsecWinâ€;
-
AVG_CONSEC_LOSS = “AvgConsecLossâ€;
-
MAX_PROFIT = “MaxProfitâ€;
-
MAX_LOSS = “MaxLossâ€;
-
STANDARD_DEV = “StandardDevâ€;
-
Z_SCORE = “ZScoreâ€;
-
Z_PROBABILITY = “ZProbabilidadâ€;
-
EXPECTANCY = "Expectativa";
-
R_EXPECTANCY = "Expectativa";
-
R_EXPECTANCY_SCORE = "Puntuación de expectativas" & #157;;
-
SYMMETRY = "Simetría" & #157;;
-
STAGNATION_FROM = "EstancamientoDesde";
-
STAGNATION_TO = "Estancamiento hacia";
-
STAGNATION_PERIOD = "PeriodoDeEstancamiento";
-
STAGNATION_PERIOD_PCT = “PeriodoDeEstancamientoPctâ€;
-
EXPOSICIÓN = "Exposición";
-
DRAWDOWN = “Drawdownâ€;
-
PCT_DRAWDOWN = "PctDrawdown" & #157;;
-
PIPS_DRAWDOWN = "PipsDrawdown" & #157;;
-
RETURN_DD_RATIO = “ReturnDDRatioâ€;
-
ESTABILIDAD = "Estabilidad";
-
DEGREES_OF_FREEDOM = “GradosDeLibertadâ€;
-
AHPR = "AHPR" & #157;;
-
SHARPE_RATIO = “SharpeRatioâ€;
-
SQN = “sqnâ€;
-
SQN_SCORE = “Sqn_scoreâ€;
-
AAR_DD_RATIO = "AarDDRatio";
-
TOTAL_TRADING_DAYS = “TotalTradingDaysâ€;
-
TOTAL_TRADING_MONTHS = “TotalTradingMonthsâ€;
-
TOTAL_TRADING_YEARS = “TotalTradingYearsâ€;
-
CAGR = CAGR;
-
WINNING_PCT = “WinningPctâ€;
¿Le ha resultado útil este artículo? El artículo era útil El artículo no era útil