Get a strategy's performance
curl --request GET \
--url https://api.noonum.ai/v1/strategies/{strategyId}/performance \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v1/strategies/{strategyId}/performance"
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/v1/strategies/{strategyId}/performance', 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/v1/strategies/{strategyId}/performance"
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))
}{
"metadata": {
"returns": 0.5957725785662527,
"variance": 0.3299058349982667,
"sharpeRatio": 2.031369588809071,
"maxDrawdown": -0.1870683148674808
},
"timeSeries": [
[
1594339200,
10000
],
[
1594944000,
11565.68
]
]
}UserStrategies
Get a strategy's performance
GET
/
strategies
/
{strategyId}
/
performance
Get a strategy's performance
curl --request GET \
--url https://api.noonum.ai/v1/strategies/{strategyId}/performance \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.noonum.ai/v1/strategies/{strategyId}/performance"
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/v1/strategies/{strategyId}/performance', 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/v1/strategies/{strategyId}/performance"
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))
}{
"metadata": {
"returns": 0.5957725785662527,
"variance": 0.3299058349982667,
"sharpeRatio": 2.031369588809071,
"maxDrawdown": -0.1870683148674808
},
"timeSeries": [
[
1594339200,
10000
],
[
1594944000,
11565.68
]
]
}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 user strategy
Was this page helpful?