Overview
Enumerates every selection of exactly k assets for at most 16 assets, maximizing summed expected return minus a caller-selected covariance penalty. It runs no quantum circuit and provides a deterministic classical optimum for testing a corresponding binary QAOA or QUBO formulation; it is not investment advice and ignores transaction costs and allocation sizes.
Protocol
x402 (POST)
Price
$0.0050
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
crypto/transactions
Provider
HALOWERK quantumwerk
Indexed
2026-09-01 08:13:50
Health
Status
healthy
Latency (p50)
332ms
Uptime (30d)
100.0%
Reliability Score
95/100
Last Checked
2026-10-31 07:12:56
Last Healthy
2026-10-31 07:12:56
Consecutive Failures
0
Input Schema
{
"body": {
"assets": [
{
"expected_return": 0.08,
"name": "A"
},
{
"expected_return": 0.06,
"name": "B"
},
{
"expected_return": 0.1,
"name": "C"
},
{
"expected_return": 0.04,
"name": "D"
}
],
"covariance": [
[
0.04,
0.01,
0.015,
0.005
],
[
0.01,
0.03,
0.008,
0.004
],
[
0.015,
0.008,
0.06,
0.006
],
[
0.005,
0.004,
0.006,
0.02
]
],
"risk_aversion": 0.7,
"select_count": 2
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"covariance_sum": 0.13,
"expected_return_sum": 0.18,
"feasible_portfolios_evaluated": 6,
"limitation": "binary_equal-selection_model_not_investment_advice",
"method": "exact classical enumeration of a cardinality-constrained binary mean-variance objective",
"objective": 0.089,
"selected_assets": [
"A",
"C"
],
"selected_indices": [
0,
2
],
"solver": "exact_classical_enumeration"
},
"type": "json"
}