mirrored listing x402 eip155:8453

Enumerates every selection of exactly k assets for at most 16 assets, maximizing summed ex

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.

Do you run quantum.halowerk.com? This listing was mirrored from Coinbase's public Bazaar. Claim it in 30 seconds — no account required — and it becomes verified, permanently overriding the mirrored copy.

Claim this listing
5000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-01
updated

Provider

quantum.halowerk.com · discovered, not yet claimed by its owner

Payment (x402 accepts[])

[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "maxTimeoutSeconds": 300
  }
]

Output schema

{
  "bazaar": {
    "info": {
      "input": {
        "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"
      }
    },
    "schema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "input": {
          "additionalProperties": false,
          "properties": {
            "body": {
              "additionalProperties": false,
              "properties": {
                "assets": {
                  "items": {
                    "additionalProperties": false,
                    "properties": {
                      "expected_return": {
                        "maximum": 1000,
                        "minimum": -1000,
                        "type": "number"
                      },
                      "name": {
                        "maxLength": 64,
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "name",
                      "expected_return"
                    ],
                    "type": "object"
                  },
                  "maxItems": 16,
                  "minItems": 1,
                  "type": "array"
                },
                "covariance": {
                  "items": {
                    "items": {
                      "maximum": 1000000,
                      "minimum": -1000000,
                      "type": "number"
                    },
                    "maxItems": 16,
                    "minItems": 1,
                    "type": "array"
                  },
                  "maxItems": 16,
                  "minItems": 1,
                  "type": "array"
                },
                "risk_aversion": {
                  "maximum": 1000000,
                  "minimum": 0,
                  "type": "number"
                },
                "select_count": {
                  "maximum": 16,
                  "minimum": 1,
                  "type": "integer"
                }
              },
              "required": [
                "assets",
                "covariance",
                "select_count",
                "risk_aversion"
              ],
              "type": "object"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            },
            "method": {
              "enum": [
                "POST",
                "PUT",
                "PATCH"
              ],
              "type": "string"
            },
            "type": {
              "const": "http",
              "type": "string"
            }
          },
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "type": "object"
        }
      },
      "required": [
        "input"
      ],
      "type": "object"
    }
  }
}

Use it

curl

curl "https://quantum.halowerk.com/v1/portfolio-qaoa"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid

JavaScript

const res = await fetch("https://quantum.halowerk.com/v1/portfolio-qaoa");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}

Python

import httpx
res = httpx.get("https://quantum.halowerk.com/v1/portfolio-qaoa")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Machine-readable

Everything on this page is also available as clean JSON at /resources/15239.json, and this resource appears in /discovery/resources and /discovery/search.