Build a strategy and assign portfolios
Goal: feed your own research into IDEALX strategies and keep your portfolio tool in step with them.
Scope: read. Strategies are built, versioned and assigned in Console’s strategy cockpit; the Console API reads
everything about them, so your tools can research the universe beforehand and report on followers afterwards.
- Your model tool to IDEALX API: GET /v1/firms/{firmId}/strategies/universe
- Your model tool to IDEALX API: GET /v1/firms/{firmId}/strategies/benchmarks
- Adviser (Console) to IDEALX API: Build lines, bands and checks; save version 1
- Adviser (Console) to IDEALX API: Assign client portfolios
- Your model tool to IDEALX API: GET /v1/firms/{firmId}/strategies/{strategyId}
- IDEALX API to Your model tool: versions and followers with drift
- Your model tool to IDEALX API: GET …/strategies/{strategyId}/analysis
- Your model tool to IDEALX API: GET …/strategies/{strategyId}/versions/diff
1. Research the universe
Section titled “1. Research the universe”/v1/firms/{firmId}/strategies/universeListed investments to build a strategy from, with fee, yield, region and liquidity
The same tradable listings as GET /v1/investments, with the facts the cockpit uses: group (Shares, Bonds,
Real assets, Cash, Digital assets), region, fee (feeBp), income yield (yieldBp) and how fast a sale
turns into cash (liquidity: day or week). Filter on them:
curl "$IDEALX_API/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/strategies/universe?kind=funds&maxFeeBp=25&liquidity=day&limit=50" \ -H "Authorization: Bearer $IDEALX_API_KEY"The answer has investments, total (or null with more: true when filtering on facts needs more reading) and
simulated: true when some facts are simulated (sandbox).
2. Pick a benchmark
Section titled “2. Pick a benchmark”/v1/firms/{firmId}/strategies/benchmarksListings a strategy can be compared with: the firm's country's indices, then world ones
{ "benchmarks": [ { "id": "XASX:EXS", "symbol": "EXS", "name": "Example Australian Shares ETF", "currency": "AUD", "index": "Australian broad market index", "scope": "home" }, { "id": "XASX:EXW", "symbol": "EXW", "name": "Example World Shares ETF", "currency": "AUD", "index": "World developed markets index", "scope": "global" } ]}Your firm’s country’s indices come first (scope: "home"), then world ones. A strategy has no benchmark until
someone picks one.
3. Build and assign in Console
Section titled “3. Build and assign in Console”- In Console, open Strategies → New. Add lines (
instrumentorcash) with target weights in basis points that add up to 10,000, and a band for each line. - Set the risk level (1 to 7), the currency, the rebalance rule (
drift, orcalendarwith a frequency), a benchmark and any saved checks (the most in one line, a kind or a region, the highest fee…). - Save: this is version 1. Assign client portfolios to it; each follower records the version it follows.
- Later changes to lines or checks save a new version; move followers when you are ready.
4. Read strategies and followers
Section titled “4. Read strategies and followers”/v1/firms/{firmId}/strategiesYour firm's strategies
Each strategy with its current lines and how many portfolios follow it:
{ "strategies": [ { "id": "stg_01937f10a1b2c3d4e5f6a7b8c9d0e1f2", "name": "Balanced 60/40", "objective": "Long-term growth with moderate swings, for clients with a five-year horizon.", "riskLevel": 4, "currency": "AUD", "benchmark": "XASX:EXS", "minInvestment": { "amount": "25000.00", "currency": "AUD" }, "rebalance": { "kind": "drift" }, "notes": null, "status": "active", "currentVersion": 2, "createdAt": "2026-09-01T00:00:00.000Z", "updatedAt": "2026-11-02T05:40:00.000Z", "followers": 18, "items": [ { "kind": "instrument", "refId": "XASX:EXS", "weightBp": 3500, "bandBp": 300, "name": "EXS · Example Australian Shares ETF", "detail": "etf" }, { "kind": "instrument", "refId": "XASX:EXW", "weightBp": 2500, "bandBp": 300, "name": "EXW · Example World Shares ETF", "detail": "etf" }, { "kind": "instrument", "refId": "XASX:EXB", "weightBp": 3500, "bandBp": 300, "name": "EXB · Example Bond Fund", "detail": "etf" }, { "kind": "cash", "refId": "AUD", "weightBp": 500, "name": "Cash (AUD)", "detail": "cash" } ] } ]}GET /v1/firms/{firmId}/strategies/{strategyId}A strategy with its versions and the portfolios following it adds every version
(lines, note, saved checks) and the followers you may see:
{ "strategy": { "id": "stg_01937f10a1b2c3d4e5f6a7b8c9d0e1f2", "name": "Balanced 60/40", "currentVersion": 2, "…": "…" }, "versions": [ { "version": 2, "note": "Lower world shares, more bonds", "createdAt": "2026-11-02T05:40:00.000Z", "constraints": [{ "id": "line-cap", "kind": "max_line", "limitBp": 4000 }], "items": [ "…" ] }, { "version": 1, "note": null, "createdAt": "2026-09-01T00:00:00.000Z", "constraints": null, "items": [ "…" ] } ], "followers": [ { "assignmentId": "sta_01937f11b2c3d4e5f6a7b8c9d0e1f2a3", "accountId": "acc_01937f00f1e2d3c4b5a6978877665544", "portfolioId": "ptf_01937f00f1e2d3c4b5a69788776655a2", "account": "Morgan Family Trust", "version": 2, "total": { "amount": "184220.15", "currency": "AUD" }, "driftBp": 420, "outside": true } ]}5. Analyse a version
Section titled “5. Analyse a version”/v1/firms/{firmId}/strategies/{strategyId}/analysisBack-test, mix, liquidity and fee effect of a strategy version (D126)
Takes version, benchmark (an instrument id) and feeBp (your advice fee) and returns a back-test (growth of 100
on past month-end prices, or null without history), the mix by kind, region, currency, class and sector,
liquidity, the fee effect, stress scenarios in the strategy’s currency, the saved checks against the mix, and
notes. simulated and factsSimulated say when sandbox data went in.
6. Compare versions
Section titled “6. Compare versions”/v1/firms/{firmId}/strategies/{strategyId}/versions/diffTwo versions compared: weights that changed and the figures before and after
curl "$IDEALX_API/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/strategies/stg_01937f10a1b2c3d4e5f6a7b8c9d0e1f2/versions/diff?from=1&to=2" \ -H "Authorization: Bearer $IDEALX_API_KEY"The weights that changed and the figures before and after; 404 when a version does not exist.