Back-test, mix, liquidity and fee effect of a strategy version (D126)
curl "https://api.staging.idealx.com/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/strategies/stg_01937f10a1b2c3d4e5f6a7b8c9d0e1f2/analysis" \ -H "Authorization: Bearer $IDEALX_API_KEY"const res = await fetch("https://api.staging.idealx.com/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/strategies/stg_01937f10a1b2c3d4e5f6a7b8c9d0e1f2/analysis", { headers: { Authorization: `Bearer ${process.env.IDEALX_API_KEY}` },});if (!res.ok) throw new Error((await res.json()).error.code);const data = await res.json();import osimport requests
res = requests.get( "https://api.staging.idealx.com/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/strategies/stg_01937f10a1b2c3d4e5f6a7b8c9d0e1f2/analysis", headers={"Authorization": f"Bearer {os.environ['IDEALX_API_KEY']}"}, timeout=30,)res.raise_for_status()data = res.json()Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”An instrument id to compare with
An instrument id to compare with
Responses
Section titled “Responses”OK
object
Growth of 100 on past month-end prices with the strategy’s rebalancing; null without history
The history is simulated (staging), not market data
object
object
object
object
object
Some fund facts are simulated (staging), not market data
Headline figures resting partly on facts estimated from public information (D188), with the oldest estimate’s date; each line’s estimated names its estimated facts
object
Each line with its kind, region, fee and yield
object
Yearly return, volatility, worst fall, income yield, fee, tech exposure, cash in a day, rates +2%
object
object
object
Each check with its value now: pass, warn or fail
object
Simulations: past stretches (March 2020, inflation 2022) and sensitivities
object
The largest companies held through funds, and how much of the mix this sees
object
Time taken on the server, milliseconds
Example
{ "factsEstimated": { "kpis": [ "feeBp" ] }}