# PerformanceMetricsDTO

Performance metrics

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accountType** | [**AccountTypeDTO**](AccountTypeDTO.md) |  | [optional] [default to undefined]
**advancedAnalyticsAvailable** | **boolean** | True if collected balance/equity history exists and advanced analytics can be shown | [optional] [readonly] [default to undefined]
**avgCommissionPerTrade** | **number** | Average commission paid per trade | [optional] [readonly] [default to undefined]
**avgDrawdown** | **number** | Average drawdown percentage during trading period (%) | [optional] [readonly] [default to undefined]
**avgHoldingTimeSeconds** | **number** | Average holding time for closed trades in seconds (duration) | [optional] [readonly] [default to undefined]
**avgLoss** | **number** | Average loss of losing trades as positive amount | [optional] [readonly] [default to undefined]
**avgLotSize** | **number** | Average lot size per trade | [optional] [readonly] [default to undefined]
**avgNetProfitPerTrade** | **number** | Average profit per trade in account currency (amount) | [optional] [readonly] [default to undefined]
**avgProfitPerMonth** | **{ [key: string]: number; }** | Monthly average profit amount - key: YYYY-MM format, value: average profit per trade (amount) | [optional] [readonly] [default to undefined]
**avgRecoveryTimeHours** | **number** | Average number of hours to recover from a drawdown back to a new equity peak | [optional] [readonly] [default to undefined]
**avgRiskReward** | **number** | Average risk/reward ratio | [optional] [readonly] [default to undefined]
**avgSwapPerTrade** | **number** | Average swap per trade in account currency | [optional] [readonly] [default to undefined]
**avgWin** | **number** | Average profit of winning trades | [optional] [readonly] [default to undefined]
**balanceEquityDivergencePerDay** | **{ [key: string]: number; }** | Daily balance-to-equity divergence ratio — key: YYYY-MM-DD, value: abs(equity - balance) / balance as percentage (%) | [optional] [readonly] [default to undefined]
**bestDay** | [**PeriodPerformanceDTO**](PeriodPerformanceDTO.md) |  | [optional] [default to undefined]
**bestMonth** | [**PeriodPerformanceDTO**](PeriodPerformanceDTO.md) |  | [optional] [default to undefined]
**bestWeek** | [**PeriodPerformanceDTO**](PeriodPerformanceDTO.md) |  | [optional] [default to undefined]
**breakevenTrades** | **number** | Number of breakeven trades | [optional] [readonly] [default to undefined]
**broker** | **string** | Broker name or identifier | [optional] [readonly] [default to undefined]
**currency** | **string** | Account currency code (e.g., USD, EUR, GBP) | [optional] [readonly] [default to undefined]
**currentEquityDrawdown** | **number** | Current equity drawdown from the previous peak (%) | [optional] [readonly] [default to undefined]
**currentFloatingPnl** | **number** | Current floating profit/loss in account currency (amount) | [optional] [readonly] [default to undefined]
**dailyBalance** | **{ [key: string]: number; }** | Daily account balance - key: YYYY-MM-DD format, value: end-of-day balance UTC in account currency (amount) | [optional] [readonly] [default to undefined]
**dailyBalanceTransactions** | **{ [key: string]: number; }** | Daily balance transactions - key: YYYY-MM-DD format, value: net transaction amount (positive for deposits, negative for withdrawals) in account currency (amount) | [optional] [readonly] [default to undefined]
**dailyEquity** | **{ [key: string]: number; }** | Daily account equity - key: YYYY-MM-DD format, value: end-of-day equity UTC in account currency (amount) | [optional] [readonly] [default to undefined]
**dataCollectorEnabled** | **boolean** | True if the Data Collector feature is enabled for the account | [optional] [readonly] [default to undefined]
**dataCollectorHistoryEndAt** | **string** | Timestamp of the most recent Data Collector sample | [optional] [readonly] [default to undefined]
**dataCollectorHistoryStartAt** | **string** | Timestamp of the first available Data Collector sample | [optional] [readonly] [default to undefined]
**dataCollectorSamples** | **number** | Number of Data Collector samples used for advanced analytics | [optional] [readonly] [default to undefined]
**directionPerformance** | [**DirectionPerformanceDTO**](DirectionPerformanceDTO.md) |  | [optional] [default to undefined]
**equityCurveSmoothness** | **number** | R-squared of equity curve vs. time linear regression (0-1). Higher means smoother equity growth. | [optional] [readonly] [default to undefined]
**equityDrawdownPerDay** | **{ [key: string]: number; }** | Daily equity drawdown from Data Collector - key: YYYY-MM-DD format, value: drawdown from previous equity peak (%) | [optional] [readonly] [default to undefined]
**equityVolatility** | **number** | Intraday equity volatility — standard deviation of per-sample equity changes as percentage of equity (%) | [optional] [readonly] [default to undefined]
**expectancy** | **number** | Mathematical expectancy per trade in account currency (amount) | [optional] [readonly] [default to undefined]
**firstTradeAt** | **string** | Timestamp of the first trade in the history window | [optional] [readonly] [default to undefined]
**floatingPnlPerDay** | **{ [key: string]: number; }** | Daily floating PnL from Data Collector - key: YYYY-MM-DD format, value: end-of-day floating profit/loss in account currency (amount) | [optional] [readonly] [default to undefined]
**grossLoss** | **number** | Absolute sum of all losing trades | [optional] [readonly] [default to undefined]
**grossProfit** | **number** | Sum of all profitable trades | [optional] [readonly] [default to undefined]
**intradayMaxDrawdown** | **number** | Worst intraday peak-to-trough equity drawdown from granular Data Collector samples (%) | [optional] [readonly] [default to undefined]
**largestLoss** | **number** | Largest single losing trade in account currency (amount, negative value) | [optional] [readonly] [default to undefined]
**largestWin** | **number** | Largest single winning trade in account currency (amount) | [optional] [readonly] [default to undefined]
**lastTradeAt** | **string** | Timestamp of the last trade in the history window | [optional] [readonly] [default to undefined]
**longestLossStreak** | **number** | Longest consecutive losing trades streak (count) | [optional] [readonly] [default to undefined]
**longestWinStreak** | **number** | Longest consecutive winning trades streak (count) | [optional] [readonly] [default to undefined]
**losingTrades** | **number** | Number of losing trades | [optional] [readonly] [default to undefined]
**maxCollectorDrawdown** | **number** | Maximum equity drawdown observed in collected history (%) | [optional] [readonly] [default to undefined]
**maxDrawdown** | **number** | Maximum drawdown percentage - worst peak-to-trough decline (%) | [optional] [readonly] [default to undefined]
**maxFloatingLoss** | **number** | Maximum adverse floating loss observed in Data Collector history (amount, negative value) | [optional] [readonly] [default to undefined]
**maxFloatingProfit** | **number** | Maximum favorable floating profit observed in Data Collector history (amount) | [optional] [readonly] [default to undefined]
**maxLotSize** | **number** | Maximum lot size used in a single trade | [optional] [readonly] [default to undefined]
**maxRecoveryTimeHours** | **number** | Maximum number of hours to recover from a drawdown back to a new equity peak | [optional] [readonly] [default to undefined]
**monthsActive** | **number** | Active months from first to last trade (count) | [optional] [readonly] [default to undefined]
**peakFloatingPnl** | **number** | Maximum favorable floating PnL ever observed in granular Data Collector samples (amount) | [optional] [readonly] [default to undefined]
**profitAmountPerMonth** | **{ [key: string]: number; }** | Monthly profit amount in account currency - key: YYYY-MM format, value: total profit (amount) | [optional] [readonly] [default to undefined]
**profitFactor** | **number** | Profit factor as ratio | [optional] [readonly] [default to undefined]
**profitPerHour** | **{ [key: string]: number; }** | Net profit by hour of day (UTC) | [optional] [readonly] [default to undefined]
**profitPerWeekday** | **{ [key: string]: number; }** | Net profit by weekday | [optional] [readonly] [default to undefined]
**profitPercentagePerMonth** | **{ [key: string]: number; }** | Monthly profit percentage - key: YYYY-MM format, value: profit percentage (%) | [optional] [readonly] [default to undefined]
**score** | **number** | Composite signal quality score (0-100) based on multiple performance metrics | [optional] [readonly] [default to undefined]
**scoreBreakdown** | [**ScoreBreakdownDTO**](ScoreBreakdownDTO.md) |  | [optional] [default to undefined]
**symbolAnalytics** | [**Array&lt;SymbolAnalyticsDTO&gt;**](SymbolAnalyticsDTO.md) | Detailed analytics per traded symbol | [optional] [readonly] [default to undefined]
**timeInDrawdownPercent** | **number** | Percentage of time equity was below its previous peak, based on Data Collector samples (%) | [optional] [readonly] [default to undefined]
**totalCommissions** | **number** | Total commissions paid across all trades in account currency (amount) | [optional] [readonly] [default to undefined]
**totalLotSize** | **number** | Total lot size traded across all trades (lots) | [optional] [readonly] [default to undefined]
**totalNetProfit** | **number** | Total net profit in account currency (amount) | [optional] [readonly] [default to undefined]
**totalSwap** | **number** | Total swap across all trades in account currency | [optional] [readonly] [default to undefined]
**totalTrades** | **number** | Total number of closed trades in history window (count) | [optional] [readonly] [default to undefined]
**tradesByHoldingBucket** | **{ [key: string]: number; }** | Trade count by holding-time bucket | [optional] [readonly] [default to undefined]
**tradesPerDay** | **{ [key: string]: number; }** | Trade count per day - key: YYYY-MM-DD format, value: number of trades (count) | [optional] [readonly] [default to undefined]
**tradesPerHour** | **{ [key: string]: number; }** | Trade count by hour of day (UTC) | [optional] [readonly] [default to undefined]
**tradesPerSymbol** | **{ [key: string]: number; }** | Trade count per symbol - key: symbol name (e.g. EURUSD, GBPUSD), value: number of trades (count) | [optional] [readonly] [default to undefined]
**tradesPerWeekday** | **{ [key: string]: number; }** | Trade count by weekday | [optional] [readonly] [default to undefined]
**troughFloatingPnl** | **number** | Maximum adverse floating PnL ever observed in granular Data Collector samples (amount, negative) | [optional] [readonly] [default to undefined]
**winRate** | **number** | Win rate in percentage [0..100] (%) | [optional] [readonly] [default to undefined]
**winningTrades** | **number** | Number of winning trades | [optional] [readonly] [default to undefined]
**worstDay** | [**PeriodPerformanceDTO**](PeriodPerformanceDTO.md) |  | [optional] [default to undefined]
**worstMonth** | [**PeriodPerformanceDTO**](PeriodPerformanceDTO.md) |  | [optional] [default to undefined]
**worstWeek** | [**PeriodPerformanceDTO**](PeriodPerformanceDTO.md) |  | [optional] [default to undefined]

## Example

```typescript
import { PerformanceMetricsDTO } from 'js-metacopier-api';

const instance: PerformanceMetricsDTO = {
    accountType,
    advancedAnalyticsAvailable,
    avgCommissionPerTrade,
    avgDrawdown,
    avgHoldingTimeSeconds,
    avgLoss,
    avgLotSize,
    avgNetProfitPerTrade,
    avgProfitPerMonth,
    avgRecoveryTimeHours,
    avgRiskReward,
    avgSwapPerTrade,
    avgWin,
    balanceEquityDivergencePerDay,
    bestDay,
    bestMonth,
    bestWeek,
    breakevenTrades,
    broker,
    currency,
    currentEquityDrawdown,
    currentFloatingPnl,
    dailyBalance,
    dailyBalanceTransactions,
    dailyEquity,
    dataCollectorEnabled,
    dataCollectorHistoryEndAt,
    dataCollectorHistoryStartAt,
    dataCollectorSamples,
    directionPerformance,
    equityCurveSmoothness,
    equityDrawdownPerDay,
    equityVolatility,
    expectancy,
    firstTradeAt,
    floatingPnlPerDay,
    grossLoss,
    grossProfit,
    intradayMaxDrawdown,
    largestLoss,
    largestWin,
    lastTradeAt,
    longestLossStreak,
    longestWinStreak,
    losingTrades,
    maxCollectorDrawdown,
    maxDrawdown,
    maxFloatingLoss,
    maxFloatingProfit,
    maxLotSize,
    maxRecoveryTimeHours,
    monthsActive,
    peakFloatingPnl,
    profitAmountPerMonth,
    profitFactor,
    profitPerHour,
    profitPerWeekday,
    profitPercentagePerMonth,
    score,
    scoreBreakdown,
    symbolAnalytics,
    timeInDrawdownPercent,
    totalCommissions,
    totalLotSize,
    totalNetProfit,
    totalSwap,
    totalTrades,
    tradesByHoldingBucket,
    tradesPerDay,
    tradesPerHour,
    tradesPerSymbol,
    tradesPerWeekday,
    troughFloatingPnl,
    winRate,
    winningTrades,
    worstDay,
    worstMonth,
    worstWeek,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
