latestOpenAPI 3.1.02026-08-22181751733.6 KB

67f9f562c2c6

tradingPortfolioAnalyst

Account Performance

Returns the performance (MTM) for the given accounts, if more than one account is passed, the result is consolidated.

post/pa/performance

Request body

period'1D' | '7D' | 'MTD' | '1M' | '3M' | '6M' | '12M' | 'YTD'

Specify the period for which the account should be analyzed. Available period lengths:

  • 1D - The last 24 hours.
  • 7D - The last 7 full days.
  • MTD - Performance since the 1st of the month.
  • 1M - A full calendar month from the last full trade day.
  • 3M - 3 full calendar months from the last full trade day.
  • 6M - 6 full calendar months from the last full trade day.
  • 12M - 12 full calendar month from the last full trade day.
  • YTD - Performance since January 1st.

Response

An array of objects detailing contract information.

currencyTypestring

Confirms if the currency type. If trading exclusively in your base currency, "base" will be returned.

rcinteger

Returns the data identifier (Internal Use Only).

ndinteger

Returns the total data points.

idstring

Returns the request identifier, getPerformanceData.

pmstring

Portfolio Measure. Used to indicate TWR or MWR values returned.