← Market

Kelly

Binary Kelly stake from your p_yes and venue ask/bid, optional fee_bps and fractional Kelly. Pure compute — you supply prices.

GET https://trade-math-x402.linholiday.workers.dev/kelly

0.005 USDC on Base · payTo 0xA94AaF06ad79baD31E0DF25187d376780a8836c6

Status: verified · payable

Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.

Settlement: via OMNIGATE (https://omnigate.scriptmasterlabs.com) — seller opted in; receipt token per settlement; 0.005 USDC fee inside settlement, waived inside the daily budget

Payment routes

Base · 0.005 USDC · payTo 0xA94AaF06ad79baD31E0DF25187d376780a8836c6 · via omnigate · settles through OMNIGATE
{
  "p_yes": "0.55",
  "ask": "0.48",
  "bid": "0.46",
  "kelly_fraction": "0.5",
  "fee_bps": "0",
  "bankroll": "1000"
}
{
  "side": "yes",
  "p": 0.55,
  "price": 0.48,
  "fee_bps": 0,
  "edge": 0.07000000000000006,
  "ev_per_share": 0.07000000000000006,
  "kelly_full": 0.13461538461538472,
  "kelly_fractional": 0.06730769230769236,
  "stake_usd": 67.30769230769236,
  "notes": [],
  "formula": "f* = (p_win - price_all_in) / (1 - price_all_in); price_all_in includes fee_bps; fractional = kelly_fraction * f*"
}

Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Contact

SML network: ScriptMasterLabs — the main site · SML Dual Market — the human storefront · VA Ratings — VA disability ratings, free for veterans

Agent intel trust badge

Trust score53 / 100 · breakdown
Probe uptime (30d)— over 0 probes · daily
Avg 402 latency— ms
Paid calls (30d, on-chain)0 calls · 0 buyers

How to call

GET https://trade-math-x402.linholiday.workers.dev/kelly · input in query · spec from feed (schema inferred from example)

Input schema
{
  "type": "object",
  "properties": {
    "p_yes": {
      "type": "string"
    },
    "ask": {
      "type": "string"
    },
    "bid": {
      "type": "string"
    },
    "kelly_fraction": {
      "type": "string"
    },
    "fee_bps": {
      "type": "string"
    },
    "bankroll": {
      "type": "string"
    }
  }
}
Output schema
{
  "type": "object",
  "properties": {
    "side": {
      "type": "string"
    },
    "p": {
      "type": "number"
    },
    "price": {
      "type": "number"
    },
    "fee_bps": {
      "type": "integer"
    },
    "edge": {
      "type": "number"
    },
    "ev_per_share": {
      "type": "number"
    },
    "kelly_full": {
      "type": "number"
    },
    "kelly_fractional": {
      "type": "number"
    },
    "stake_usd": {
      "type": "number"
    },
    "notes": {
      "type": "array"
    },
    "formula": {
      "type": "string"
    }
  }
}
curl -i -X GET 'https://trade-math-x402.linholiday.workers.dev/kelly?p_yes=0.55&ask=0.48&bid=0.46&kelly_fraction=0.5&fee_bps=0&bankroll=1000'

Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs

Try it (your wallet signs; HIVE402 never holds funds)