This example shows how to get the data for a chart or analysis.
Disclaimer: FX is used in this example. So this is not really market data, as it is traded OTC. However, FX has prices on SIM, so it it used in this example.
More on charts: https://www.developer.saxo/openapi/learn/chart
Interactive demo: https://saxobank.github.io/openapi-samples-js/websockets/historical-market-data/