Backtest a portfolio of companies
Backtest
Backtest a portfolio of companies
Accepts a list of company IDs with weights, resolves each to a tradeable security, fetches historical price data, and computes buy-and-hold NAV and statistics over the requested period.
POST
Backtest a portfolio of companies
Authorizations
Enter 'Bearer' followed by a space and then your JWT or API Key.
Example: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
or Bearer YOUR_API_KEY_HERE
Body
application/json
Response
Backtest results
Example:
[[1594339200, 10000], [1594944000, 10156.8]]Performance statistics for the benchmark
Benchmark price series rebased to 10000, aligned to portfolio dates
Example:
[[1594339200, 10000], [1594944000, 10089.5]]