Request factsheet generation
curl --request POST \
--url https://api.noonum.ai/v2/strategies/{strategyId}/factsheet \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"as_of_date": "2023-12-25",
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"force": false
}
'import requests
url = "https://api.noonum.ai/v2/strategies/{strategyId}/factsheet"
payload = {
"as_of_date": "2023-12-25",
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"force": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
as_of_date: '2023-12-25',
version_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
force: false
})
};
fetch('https://api.noonum.ai/v2/strategies/{strategyId}/factsheet', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/strategies/{strategyId}/factsheet"
payload := strings.NewReader("{\n \"as_of_date\": \"2023-12-25\",\n \"version_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"force\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"status": "generating"
}UserStrategies
Request factsheet generation
Requests generation of the factsheet for the selected run. If a factsheet already exists, set force to regenerate it.
POST
/
strategies
/
{strategyId}
/
factsheet
Request factsheet generation
curl --request POST \
--url https://api.noonum.ai/v2/strategies/{strategyId}/factsheet \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"as_of_date": "2023-12-25",
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"force": false
}
'import requests
url = "https://api.noonum.ai/v2/strategies/{strategyId}/factsheet"
payload = {
"as_of_date": "2023-12-25",
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"force": False
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
as_of_date: '2023-12-25',
version_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
force: false
})
};
fetch('https://api.noonum.ai/v2/strategies/{strategyId}/factsheet', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.noonum.ai/v2/strategies/{strategyId}/factsheet"
payload := strings.NewReader("{\n \"as_of_date\": \"2023-12-25\",\n \"version_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"force\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"status": "generating"
}Authorizations
Enter 'Bearer' followed by a space and then your JWT or API Key.
Example: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
or Bearer YOUR_API_KEY_HERE
Path Parameters
UUID of the strategy.
Body
application/json
Parameters for requesting factsheet generation.
The as-of date in YYYY-MM-DD format that selects the run. When omitted, the latest completed run for the version is used.
The version to use. When omitted, the strategy's active version is used.
Regenerate even when a factsheet already exists for the run.
Response
Factsheet generation was requested.
Example:
"generating"
Was this page helpful?