Skip to main content
POST
/
strategies
/
strategies-exposures
Get exposures for multiple strategies
curl --request POST \
  --url https://api.noonum.ai/v1/strategies/strategies-exposures \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "companiesWeight": {
    "83d88f60-f581-4176-bb5c-e0b463d1d442": 0.5,
    "0c8b9628-6fce-4d95-a787-5b532172a6ea": 0.3
  },
  "strategyIds": [
    "83d88f60-f581-4176-bb5c-e0b463d1d442",
    "b544d95b-43a6-4a50-a326-90552b05c551"
  ]
}
'
[
  {
    "id": "83d88f60-f581-4176-bb5c-e0b463d1d442",
    "name": "Electric Vehicles",
    "overlap": 0,
    "exposure": 0,
    "returns": 0
  }
]

Authorizations

Authorization
string
header
required

Enter 'Bearer' followed by a space and then your JWT or API Key. Example: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... or Bearer YOUR_API_KEY_HERE

Body

application/json
companiesWeight
object
required

A dictionary mapping company ids to weights. Each weight must be a number between 0 and 1, inclusive.

Example:
{
"83d88f60-f581-4176-bb5c-e0b463d1d442": 0.5,
"0c8b9628-6fce-4d95-a787-5b532172a6ea": 0.3
}
strategyIds
string<uuid>[]
Example:
[
"83d88f60-f581-4176-bb5c-e0b463d1d442",
"b544d95b-43a6-4a50-a326-90552b05c551"
]

Response

List of companies that appear in all requested strategies

id
string<uuid>
required
Example:

"83d88f60-f581-4176-bb5c-e0b463d1d442"

name
string
required
Example:

"Electric Vehicles"

overlap
number<float>
required
Example:

0

exposure
number<float>
required
Example:

0

returns
number<float>
required
Example:

0