{"definitionRoot":"568b31d0d5e23c19b6bc832fd9af606a68625e73de8cc66157aa1f89c157f1b3","docsPath":"/docs/SENTIMENT_PRICE_DIVERGENCE.json","errors":[{"code":null,"description":"The request field is invalid.","status":400},{"code":null,"description":"Payment Required - an x402 v2 offer in the PAYMENT-REQUIRED header and body.","status":402},{"code":null,"description":"The result could not be delivered.","status":422},{"code":null,"description":"The seller or the product quote path is not currently admitting this request.","status":503}],"examples":{"deliverable":null,"detail":"Concrete request/deliverable examples are omitted until real settled evidence supplies them; the no-fake-demand rule forbids inventing sample payloads. The envelope shapes above are exact.","request":null,"state":"OMITTED_UNTIL_REAL_EVIDENCE"},"family":"UTILITY","familyTitle":"Utility","freshness":{"evidenceCutoff":"Every delivered envelope states its own evidenceCutoff; requests may pin evidenceCutoff at or before quote time.","freshnessClass":"CACHEABLE_SNAPSHOT","latencyClass":"FAST","machineVersion":"78c5efcc","outputDomainKind":null,"provenance":"The deliverable carries its own uncertainty statement; citations are opaque content hashes for the public evidence used."},"inputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"maxLag":{"description":"Optional largest lead/lag tested (default 5, at most 50).","type":"integer"},"priceLabel":{"description":"Optional name of the price series (at most 64 bytes).","type":"string"},"prices":{"description":"Positive prices, one per period, aligned with sentiment by index.","items":{},"type":"array"},"sentiment":{"description":"30 to 2000 JSON numbers: your sentiment score per period, any scale.","items":{},"type":"array"},"sentimentLabel":{"description":"Optional name of the sentiment series (at most 64 bytes).","type":"string"},"threshold":{"description":"Optional divergence threshold in standard deviations (default 2).","type":"number"},"window":{"description":"Optional comparison window in periods (default 20, at most a third of the series).","type":"integer"}},"required":["sentiment","prices"],"type":"object","x-arbiter-contentType":"application/json","x-arbiter-schemaVersion":"1.0.0"},"method":"POST","operationId":"agenthubmachinesentiment_price_divergence","outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"current":{"description":"{index, sentimentChange, priceLogReturn, sentimentZScore, priceZScore, divergence, classification: SENTIMENT_ABOVE_PRICE | SENTIMENT_BELOW_PRICE | NO_SIGNIFICANT_DIVERGENCE | UNDETERMINED}.","type":"object"},"history":{"description":"{windowsCompared, eventsAtOrAboveThreshold, episodes, afterSentimentAbovePrice, afterSentimentBelowPrice, unconditional: each {count, meanForwardLogReturn, medianForwardLogReturn, fractionPositive}, recentEpisodes: [{index, divergence, forwardLogReturn}]}.","type":"object"},"labels":{"description":"{sentiment, price}, null when not given. Labels are echoed as {status:\"OK\",value} or withheld as {status:\"WITHHELD_UNSAFE_TEXT\",rawSha256}.","type":"object"},"leadLag":{"description":"{basis, lags: [{lag, correlation, pairs}], bestLag, bestCorrelation, significanceBand, reading: SENTIMENT_LEADS_PRICE | PRICE_LEADS_SENTIMENT | CONTEMPORANEOUS | NO_SIGNIFICANT_LEAD_OR_LAG | UNDETERMINED}.","type":"object"},"levelCorrelation":{"description":"Pearson correlation of the sentiment level with the same period's log return.","type":"number"},"observations":{"description":"Periods analysed.","type":"integer"},"program":{"description":"Program identity: {id, version, programRoot, registryRoot}.","type":"object"},"provenance":{"description":"Deliverable provenance: {basis: BUYER_SUPPLIED_INPUT_AND_ARBITER_AUTHORED_CODE, thirdPartyData: false, networkAccess: false, inputRoot, programRoot, outputRoot}. inputRoot is hashCanonical of your exact request (keys sorted, strings byte-exact).","type":"object"},"threshold":{"description":"The divergence threshold used.","type":"number"},"uncertainty":{"description":"Plain-language limits of this computation.","type":"string"},"window":{"description":"The comparison window used.","type":"integer"}},"required":["labels","observations","window","threshold","current","history","leadLag","program","provenance","uncertainty"],"type":"object","x-arbiter-contentType":"application/json","x-arbiter-schemaVersion":"1.0.0"},"payment":{"admitted":true,"challengeHeader":"PAYMENT-REQUIRED","destination":{"address":"0x63aA5960943865e7d57FDdF0D899eE36B6D2046E","assetContracts":["0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85","0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392","0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359","0x754704Bc059F8C67012fEd69BC8A327a5aafb603","0xaf88d065e77c8cC2239327C5EDb3A432268e5831","0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E","0x3600000000000000000000000000000000000000","0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"],"bindingVersion":"a2f250e514c4a05c34efc98c49a4f4ac01a67770884883d19ff3a6487972ed90","networks":["eip155:1","eip155:10","eip155:1329","eip155:137","eip155:143","eip155:42161","eip155:43114","eip155:5042","eip155:8453"],"resolvable":true,"source":"x402_seller_configuration.payTo"},"logicalPaymentHeader":"ARBITER-LOGICAL-PAYMENT-ID","payToSource":"the canonical RevenueWalletResolver binding (x402_seller_configuration.payTo); never an environment value and never a literal","paymentIdentifier":{"extension":"payment-identifier","semantics":"Retries carrying the same payment identifier return the cached delivery with the same receipt: no second settlement, no second work, no second delivery credit.","supported":true},"processingSemantics":"A 202 means verification or settlement is still in progress; retry the same call with the same payment and the same payment identifier.","protocol":"X402_V2","protocolVersion":2,"quoteHeader":"ARBITER-QUOTE-ID","scheme":"exact","signatureHeader":"PAYMENT-SIGNATURE"},"pricing":{"currency":"USD","floorUsd":0.004,"mode":"DYNAMIC_QUOTE","ownerCeilingUsd":null,"pricingClass":"CACHEABLE_UNIT","publicStartingPriceUsd":0.004},"productId":"SENTIMENT_PRICE_DIVERGENCE","productVersion":"3.0.0","provenance":{"basis":"YOUR_INPUT","protocols":[],"sources":["Your request only, computed by Arbiter's own registered program (no third-party data, no network)"]},"resourceUrl":"https://arbiterverse.com/api/x402/SENTIMENT_PRICE_DIVERGENCE","schemaVersion":"3.0.0","summary":"Divergence between a sentiment series and a price series you supply (30 to 2,000 aligned points): window changes of each, z-scored against their own history, a current divergence classified as SENTIMENT_ABOVE_PRICE, SENTIMENT_BELOW_PRICE or none at your threshold, how prices moved over the following window after past divergence episodes versus unconditionally, and lead/lag correlations of sentiment changes against returns. Computed from your numbers only; Arbiter scores no text. Example request: {\"sentiment\":[0.1,0.2,0.15,0.3,0.25,0.35,0.3,0.4,0.45,0.4,0.5,0.55,0.5,0.6,0.65,0.6,0.7,0.75,0.7,0.8,0.85,0.8,0.9,0.95,0.9,1.0,1.05,1.0,1.1,1.2],\"prices\":[100,101,100.5,102,101.5,101,100.5,100,99.5,99,98.5,98,97.5,97,96.5,96,95.5,95,94.5,94,93.5,93,92.5,92,91.5,91,90.5,90,89.5,89],\"window\":5}.","title":"Sentiment and price divergence (your series)"}