Portfolio

Api Benchmark

Benchmark index comparison — requires auth.

get/api/portfolio/benchmark

Request

  • Base URL: https://www.oxfordledge.com (the document declares no server; this is the origin it was published from)
  • URL: https://www.oxfordledge.com/api/portfolio/benchmark
  • Auth: none declared

Query parameters

periodstring
portfolio_idstring

Response

Successful Response

benchmarkstring required

Benchmark symbol (e.g. 'SPY', 'QQQ'); echoed from request.

portfolio_return_pctnumber nullable

Portfolio total return % over window; null on insufficient data.

benchmark_return_pctnumber nullable

Benchmark total return % over window; null on insufficient data.

alpha_pctnumber nullable

Portfolio - benchmark return %; null when either input is null.

window_daysinteger required

Number of days in the comparison window; defaults to 365.

Changes

No recorded changes to this operation across all 1 revision of this API.