List strategy versions
curl --request GET \
--url https://api.noonum.ai/v2/strategies/{strategyId}/versions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v2/strategies/{strategyId}/versions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.noonum.ai/v2/strategies/{strategyId}/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/strategies/{strategyId}/versions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"strategy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"objective": "<string>",
"exclusions": [
"<string>"
],
"waivers": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"is_active": true,
"status": 123,
"completed": true,
"has_factsheet": true,
"factsheet_status": "ready",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"as_of_date": "2023-12-25",
"latest_run_date": "2023-12-25",
"runs_count": 123
}
]UserStrategies
List strategy versions
Returns the strategy’s versions, newest first. The owner sees every version. A non-owner viewing a public strategy sees only the active version. Each entry includes the version’s metadata and its latest run state.
GET
/
strategies
/
{strategyId}
/
versions
List strategy versions
curl --request GET \
--url https://api.noonum.ai/v2/strategies/{strategyId}/versions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v2/strategies/{strategyId}/versions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.noonum.ai/v2/strategies/{strategyId}/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/strategies/{strategyId}/versions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"strategy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"objective": "<string>",
"exclusions": [
"<string>"
],
"waivers": [
"<string>"
],
"created_at": "2023-11-07T05:31:56Z",
"is_active": true,
"status": 123,
"completed": true,
"has_factsheet": true,
"factsheet_status": "ready",
"started_at": "2023-11-07T05:31:56Z",
"completed_at": "2023-11-07T05:31:56Z",
"as_of_date": "2023-12-25",
"latest_run_date": "2023-12-25",
"runs_count": 123
}
]Authorizations
Path Parameters
Response
The list of versions, each with its latest run state.
Factsheet state of the completed run this payload describes: the run on as_of_date when one was supplied, else the latest completed run. Null when there is no such run. See FactsheetStatus for generating, not_requested and unavailable; ready means the PDF can be downloaded.
Available options:
ready, generating, not_requested, unavailable