Available Datasets
Benchmark Performance API
Analytics APIPerformance vs. Indices & ETFs
A stock's return in absolute terms and vs. the DAX, MSCI World or other references – highs, lows and periods from 1 month to 5 years.
Compare a stock's performance against the DAX, MSCI World or any other reference – in one call. Returns for 1 month to 5 years, highs and lows, plus out- or underperformance against each index or ETF you choose.
How benchmark metrics are computed
Calculated from adjusted closing prices for the stock and each reference. Relative performance = stock return minus index return for the same period.
One call consumes 1 request unit per symbol.
Example document: https://api.leeway.tech/api/v1/public/historicalquotes/benchmark?symbol=SAP.XETRA&benchmark=ACWI.US,DAX.INDX
curl -s 'https://api.leeway.tech/api/v1/public/historicalquotes/benchmark?symbol=SAP.XETRA&benchmark=ACWI.US,DAX.INDX&apitoken=YOUR_TOKEN'Benchmark Response Fields
Returns, highs/lows and optional comparison values per chosen index. For more detail visit the API Glossary.
Benchmark Performance
highLow- 1M, 52W and 5Y high & low prices for the symbol.
performance- Absolute % return for 1M, 3M, 6M, 1Y, 3Y, 5Y.
performance[period].relative- Outperformance vs each benchmark (symbol return − benchmark return).
symbol- Query param: symbol.exchange to analyse (e.g. SAP.XETRA).
benchmark- Query param: comma-separated benchmark symbols (e.g. ACWI.US,DAX.INDX).
Frequently Asked Questions
relative: outperformance vs each specified benchmark.