Skip to content

Currency summary metrics#

About#

Provides statistics on winning and losing trades indicating the amount in the context of long and short positions. Statistics is given for all currency pairs, for which positions were opened. For more information (read more)

Fields#

Name Type Required Description
currency string Yes trading currency pair
history Array<CurrencySummaryHistoryDayMetrics> Yes currency trading history by day
total CurrencySummaryTotalMetrics Yes total currency trading data
short CurrencySummaryTradeMetrics data on short trades in this currency
long CurrencySummaryTradeMetrics data on long trades in this currency

Example#

{
  "currency": "EURUSD",
  "long": {
    "profit": 849,
    "trades": 1
  },
  "short": {
    "profit": -80.3,
    "trades": 1
  },
  "total": {
    "lostTradesPercent": 50,
    "wonTradesPercent": 50,
    "profit": 768.7,
    "trades": 2,
    "wonTrades": 1,
    "lostTrades": 1
  },
  "history": [
    {
      "shortProfit": -80.3,
      "totalProfit": -80.3,
      "date": "2020-12-15"
    },
    {
      "longProfit": 849,
      "shortProfit": -80.3,
      "totalProfit": 768.7,
      "date": "2020-12-18"
    }
  ]
}

Usages#