public static class MetaStatsClient.Metrics extends Object
| Modifier and Type | Field and Description |
|---|---|
Double |
absoluteGain
Simple deposit increase without regard to reinvestment, or
null |
Double |
averageHoldingPeriodReturn
Average holding period return, or
null |
Double |
averageLoss
Average loss in basic currency, or
null |
Double |
averageLossPips
Average loss in pips, or
null |
Double |
averageTradeLengthInMilliseconds
Average trade length (time from open to close) in milliseconds, or
null |
Double |
averageWin
Average win in basic currency, or
null |
Double |
averageWinPips
Average win in pips, or
null |
double |
balance
Money on the account, not accounting for the results of currently open positions
|
Double |
bestTrade
The best profit from one trade that has ever been on the account, or
null |
String |
bestTradeDate
Date of the best profit from one trade that have ever been on the account, in broker
timezone, YYYY-MM-DD HH:mm:ss.SSS format, or
null |
Double |
bestTradePips
The best pips from one trade that has ever been on the account, or
null |
String |
bestTradePipsDate
Date of the best pips from one trade that have ever been on the account, in broker
timezone, YYYY-MM-DD HH:mm:ss.SSS format, or
null |
List<MetaStatsClient.TradeByTimeMetrics> |
closeTradesByWeekDay
Closing deals by days of the week, or
null |
Double |
commissions
Commissions charged by the broker for the entire period, or
null |
List<MetaStatsClient.CurrencySummaryMetrics> |
currencySummary
Currency trading summary, or
null |
Double |
dailyGain
Compound daily rate of return, or
null |
List<MetaStatsClient.DailyGrowthMetrics> |
dailyGrowth
Daily gain shows the change in account profitability on trading days,
or
null |
Integer |
daysSinceTradingStarted
The number of days that have passed since the opening of the first trade, or
null |
double |
deposits
Cumulative deposit for the entire period
|
double |
equity
The result (current amount) of all positions, including opened
|
Double |
equityPercent
Percentage of current equity to balance, or
null |
Double |
expectancy
The average expected profitability of one trade in basic currency, or
null |
Double |
expectancyPips
The average expected profitability of one trade in pips, or
null |
Double |
gain
Time-weighted rate of return, or
null |
Double |
geometricHoldingPeriodReturn
Geometric holding period return, or
null |
Double |
highestBalance
Maximum balance that have ever been on the account, or
null |
String |
highestBalanceDate
Date of maximum balance that have ever been on the account, in broker timezone,
YYYY-MM-DD HH:mm:ss.SSS format, or
null |
Boolean |
inclusive
Indicates whether open positions are included in the metrics, "false" means that
there are no open positions Only for a request with includeOpenPositions=true.
|
Double |
interest
Cumulative interest and swap for the entire period, or
null |
Double |
kurtosisProfit
A statistical measure that is used to describe profit distribution, or
null |
Integer |
longTrades
The number of long trades, or
null |
Integer |
longWonTrades
The number of long winning trades, or
null |
Double |
longWonTradesPercent
Percentage of long winning trades, or
null |
Double |
lostTradesPercent
Percentage of losing trades, or
null |
Double |
lots
Total volume of trades, or
null |
Double |
maxDrawdown
Percentage of maximum drawdown of balance during the entire trading history,
or
null |
List<MetaStatsClient.MonthlyAnalyticsMetrics> |
monthlyAnalytics
Monthly analysis of trading on this account, or
null |
Double |
monthlyGain
Compound monthly rate of return, or
null |
List<MetaStatsClient.TradeByTimeMetrics> |
openTradesByHour
Opening deals by hour of the day, or
null |
MetaStatsClient.Periods |
periods
Trading stats for a few periods compared to the results for the previous period,
or
null |
Double |
pips
Cumulative price units, or
null |
Double |
probability
Probability that a profit will be followed by a profit and a loss by a loss,
or
null |
double |
profit
The total yield of closed positions for the entire period (total result)
|
Double |
profitFactor
The amount yielded by winning trades divided by the amount of losses yielded by
losing trades, or
null |
List<MetaStatsClient.RiskOfRuinMetrics> |
riskOfRuin
Risk of ruin of balance, or
null |
Double |
sharpeRatio
Average return earned in excess of the risk-free rate per unit of volatility,
or
null |
Integer |
shortTrades
The number of short trades, or
null |
Integer |
shortWonTrades
The number of short winning trades, or
null |
Double |
shortWonTradesPercent
Percentage of short winning trades, or
null |
Double |
sortinoRatio
Differentiates harmful volatility from total overall volatility, or
null |
Double |
standardDeviationProfit
Statistical measure of volatility shows how much variation or dispersion, or
null |
MetaStatsClient.TradeDurationMetrics |
tradeDuration
Metrics for each duration of trades, or
null |
List<MetaStatsClient.TradeDurationDiagramColumnMetrics> |
tradeDurationDiagram
List of information columns about the duration of trades for the diagram,
or
null |
int |
trades
Total number of closed positions on the account
|
Double |
withdrawals
Total amount withdrawn from the deposit, or
null |
Double |
wonTradesPercent
Percentage of winning trades, or
null |
Double |
worstTrade
The worst profit from one trade that has ever been on the account, or
null |
String |
worstTradeDate
Date of the worst profit from one trade that have ever been on the account, in broker
timezone, YYYY-MM-DD HH:mm:ss.SSS format, or
null |
Double |
worstTradePips
The worst pips from one trade that has ever been on the account, or
null |
String |
worstTradePipsDate
Date of the worst pips from one trade that have ever been on the account, in broker
timezone, YYYY-MM-DD HH:mm:ss.SSS format, or
null |
Double |
zScore
Ability of a trading system to generate wins and losses in streaks, or
null |
| Constructor and Description |
|---|
Metrics() |
public Boolean inclusive
nullpublic double balance
public String highestBalanceDate
nullpublic Double highestBalance
nullpublic double equity
public int trades
public Double withdrawals
nullpublic Double averageTradeLengthInMilliseconds
nullpublic Double bestTrade
nullpublic Double worstTrade
nullpublic Double bestTradePips
nullpublic Double worstTradePips
nullpublic String bestTradeDate
nullpublic String bestTradePipsDate
nullpublic String worstTradeDate
nullpublic String worstTradePipsDate
nullpublic Double commissions
nullpublic Double dailyGain
nullpublic Double monthlyGain
nullpublic Double equityPercent
nullpublic Double expectancy
nullpublic Double expectancyPips
nullpublic Double gain
nullpublic Double geometricHoldingPeriodReturn
nullpublic Double interest
nullpublic Integer longTrades
nullpublic Integer shortTrades
nullpublic Integer longWonTrades
nullpublic Integer shortWonTrades
nullpublic Double longWonTradesPercent
nullpublic Double shortWonTradesPercent
nullpublic Double maxDrawdown
nullpublic Double lots
nullpublic Double pips
nullpublic double profit
public double deposits
public Double absoluteGain
nullpublic Double profitFactor
nullpublic Double sharpeRatio
nullpublic Double sortinoRatio
nullpublic Double standardDeviationProfit
nullpublic Double kurtosisProfit
nullpublic Double averageHoldingPeriodReturn
nullpublic Double averageWin
nullpublic Double averageWinPips
nullpublic Double averageLoss
nullpublic Double averageLossPips
nullpublic Double wonTradesPercent
nullpublic Double lostTradesPercent
nullpublic Double zScore
nullpublic Double probability
nullpublic Integer daysSinceTradingStarted
nullpublic List<MetaStatsClient.CurrencySummaryMetrics> currencySummary
nullpublic List<MetaStatsClient.DailyGrowthMetrics> dailyGrowth
nullpublic List<MetaStatsClient.MonthlyAnalyticsMetrics> monthlyAnalytics
nullpublic List<MetaStatsClient.TradeByTimeMetrics> closeTradesByWeekDay
nullpublic List<MetaStatsClient.TradeByTimeMetrics> openTradesByHour
nullpublic MetaStatsClient.Periods periods
nullpublic List<MetaStatsClient.RiskOfRuinMetrics> riskOfRuin
nullpublic MetaStatsClient.TradeDurationMetrics tradeDuration
nullpublic List<MetaStatsClient.TradeDurationDiagramColumnMetrics> tradeDurationDiagram
nullCopyright © 2021. All rights reserved.