{"uid":"cap_qf0GwsRFST6fdzUWaVHfG","slug":"operating-margin-rolling-mean-report-7a665deb","name":"Operating Margin Rolling Mean Report","description":"Operating margin - Rolling mean report: Calculate trailing full-window means over ordered observations, preserving invalid-row gaps. Metric: Operating margin. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded rolling mean report report.","url":"https://market.datapackvibe.com/x402/assistant-finance-operating-margin-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["operating_profit","revenue"],"properties":{"revenue":{"type":"number","default":10000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0},"operating_profit":{"type":"number","default":2000,"maximum":1000000000000,"minimum":-1000000000000,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"default":[{"revenue":10000,"operating_profit":2000},{"revenue":11000,"operating_profit":2200},{"revenue":10000,"operating_profit":2000},{"revenue":11000,"operating_profit":2200}],"maxItems":200,"minItems":2},"window":{"type":"integer","default":2,"maximum":200,"minimum":2}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qykcq8xiETkBHP03yImAX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates trailing full-window rolling means of operating margin over a supplied sequence of observations, returning JSON with formula, units, and limitations.","exampleAgentPrompt":"Calculate the rolling mean of operating margin for these 6 quarterly periods using a window of 3: Q1 revenue 10000 profit 2000, Q2 revenue 11000 profit 2500, Q3 revenue 10500 profit 1800, Q4 revenue 12000 profit 2800, Q5 revenue 11500 profit 2300, Q6 revenue 13000 profit 3100.","exampleUseCases":[{"title":"Quarterly profit trend smoothing","prompt":"I have 8 quarters of operating data — can you compute the rolling mean of operating margin with a window of 4? Revenues are 10000, 11000, 10500, 12000, 11500, 13000, 12500, 14000 and operating profits are 2000, 2200, 1900, 2600, 2100, 2800, 2400, 3000."},{"title":"Annual benchmark comparison prep","prompt":"Smooth out my company's year-over-year operating margin using a rolling window of 2 across these 5 annual periods: revenues 50000, 55000, 52000, 58000, 60000 with operating profits 9000, 10500, 8800, 11200, 12000 — I need the trailing mean report with the formula and units."},{"title":"Identifying margin volatility in monthly data","prompt":"Run a rolling mean report on operating margin for 12 months of data with a window of 3 — revenues are 8000, 8500, 9000, 8700, 9200, 9500, 9100, 9800, 10000, 9700, 10200, 10500 and operating profits are 1200, 1400, 1600, 1300, 1700, 1900, 1500, 2000, 2100, 1800, 2200, 2400."}],"resultDescription":"A JSON object containing the rolling mean operating margin values for each valid full-window position in the series, along with the formula used, units, and stated limitations of the calculation. Rows where the window is incomplete or data is invalid are preserved as gaps.","failureModes":["Fewer than 2 rows supplied — minimum row count not met","Window size exceeds number of rows — no full windows exist, no results returned","Revenue values of zero or negative — violates exclusiveMinimum constraint","Operating profit or revenue values outside allowed bounds — validation error","Missing required fields operating_profit or revenue in a row — request rejected","Window value below 2 or above 200 — validation error"],"whenToPreferThis":"Choose this endpoint when you need a statistically smoothed view of operating margin over an ordered series of observations with a fixed trailing window, and you want the computation accompanied by the formula, units, and limitations in a structured JSON response. It is ideal for time-series financial analysis of operating profitability where you supply your own data rather than needing a live market feed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:47:06.804Z","isFirstParty":false,"canonicalSlug":"operating-margin-rolling-mean-report-7a665deb"}