Listings a strategy can be compared with: the firm's country's indices, then world ones
GET
/v1/firms/{firmId}/strategies/benchmarks
curl "https://api.staging.idealx.com/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/strategies/benchmarks" \ -H "Authorization: Bearer $IDEALX_API_KEY"const res = await fetch("https://api.staging.idealx.com/v1/firms/frm_01937a1b2c3d4e5f6a7b8c9d0e1f2a3b/strategies/benchmarks", { 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/benchmarks", headers={"Authorization": f"Bearer {os.environ['IDEALX_API_KEY']}"}, timeout=30,)res.raise_for_status()data = res.json()From the catalog’s jurisdiction profile (D178), only listings the brokerage catalog has on offer. A strategy has no benchmark until the firm picks one.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”firmId
required
string
Responses
Section titled “Responses”OK
Media typeapplication/json
object
benchmarks
required
Array<object>
object
id
required
string
symbol
required
string
name
required
string
currency
required
string
index
required
The index it tracks
string
scope
required
string
Example
{ "benchmarks": [ { "scope": "home" } ]}