Construct a portfolio with score-tilt weighting
curl --request POST \
--url https://api.noonum.ai/v1/strategies/{strategyId}/optimize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"companyIds": [
"<string>"
]
}
'import requests
url = "https://api.noonum.ai/v1/strategies/{strategyId}/optimize"
payload = { "companyIds": ["<string>"] }
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({companyIds: ['<string>']})
};
fetch('https://api.noonum.ai/v1/strategies/{strategyId}/optimize', 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/v1/strategies/{strategyId}/optimize"
payload := strings.NewReader("{\n \"companyIds\": [\n \"<string>\"\n ]\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))
}{
"metadata": {
"numberStocks": 50,
"signalType": "convictionScore",
"weightedSignalScore": 0.42,
"annualizedReturn": 0.18,
"volatility": 0.09,
"cvar": 0.2,
"expectedDailyReturn": 0.001,
"maxDrawdown": -0.25,
"sharpeRatio": 1.5
},
"portfolio": [
{
"id": "b544d95b-43a6-4a50-a326-90552b05c551",
"symbol": "TSLA",
"name": "Tesla, Inc.",
"isin": "US88160R1014",
"exchange": "NASDAQ",
"market": "us",
"sector": "Consumer Cyclical",
"industry": "Auto - Manufacturers",
"marketCap": 902298200000,
"volAvg": 1250000,
"linguisticBeta": 0.12002,
"marketBuzz": 0.406,
"active": true,
"weight": 0.035,
"figi": "BBG000N9MNX3",
"domicile": "Cayman Islands",
"domicileCode": "KY",
"mic": "XNAS",
"reasoning": "<string>",
"convictionScore": 0.75
}
]
}UserStrategies
Construct a portfolio with score-tilt weighting
Builds portfolio weights by tilting signal scores with a power exponent. Optionally applies a covariance-based risk overlay that reduces concentration in highly correlated stocks while staying close to the signal-driven target weights.
POST
/
strategies
/
{strategyId}
/
optimize
Construct a portfolio with score-tilt weighting
curl --request POST \
--url https://api.noonum.ai/v1/strategies/{strategyId}/optimize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"companyIds": [
"<string>"
]
}
'import requests
url = "https://api.noonum.ai/v1/strategies/{strategyId}/optimize"
payload = { "companyIds": ["<string>"] }
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({companyIds: ['<string>']})
};
fetch('https://api.noonum.ai/v1/strategies/{strategyId}/optimize', 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/v1/strategies/{strategyId}/optimize"
payload := strings.NewReader("{\n \"companyIds\": [\n \"<string>\"\n ]\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))
}{
"metadata": {
"numberStocks": 50,
"signalType": "convictionScore",
"weightedSignalScore": 0.42,
"annualizedReturn": 0.18,
"volatility": 0.09,
"cvar": 0.2,
"expectedDailyReturn": 0.001,
"maxDrawdown": -0.25,
"sharpeRatio": 1.5
},
"portfolio": [
{
"id": "b544d95b-43a6-4a50-a326-90552b05c551",
"symbol": "TSLA",
"name": "Tesla, Inc.",
"isin": "US88160R1014",
"exchange": "NASDAQ",
"market": "us",
"sector": "Consumer Cyclical",
"industry": "Auto - Manufacturers",
"marketCap": 902298200000,
"volAvg": 1250000,
"linguisticBeta": 0.12002,
"marketBuzz": 0.406,
"active": true,
"weight": 0.035,
"figi": "BBG000N9MNX3",
"domicile": "Cayman Islands",
"domicileCode": "KY",
"mic": "XNAS",
"reasoning": "<string>",
"convictionScore": 0.75
}
]
}Authorizations
Query Parameters
How much to diversify away from the score-tilt weights. Set to 0 to keep pure score-tilt weights with no risk adjustment, or up to 1 to reduce concentration in correlated stocks. Values above 0 incur extra latency because price history is needed to estimate covariance.
Required range:
0 <= x <= 1