{"uid":"cap_xGyfvTkazop6KfNW0BC6C","slug":"operating-profit-rolling-mean-report-935f351a","name":"Operating Profit Rolling Mean Report","description":"Operating profit - Rolling mean report: Calculate trailing full-window means over ordered observations, preserving invalid-row gaps. Metric: Operating profit. 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-profit-rolling?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["revenue","cost_of_sales","operating_expenses"],"properties":{"revenue":{"type":"number","default":10000,"maximum":1000000000000,"minimum":-1000000000000,"description":"Amount in a consistent supplied currency and reporting period"},"cost_of_sales":{"type":"number","default":6000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period"},"operating_expenses":{"type":"number","default":2000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"default":[{"revenue":10000,"cost_of_sales":6000,"operating_expenses":2000},{"revenue":11000,"cost_of_sales":6600.000000000001,"operating_expenses":2200},{"revenue":10000,"cost_of_sales":6000,"operating_expenses":2000},{"revenue":11000,"cost_of_sales":6600.000000000001,"operating_expenses":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_shg1kQPy5wOrQGaylYHxq","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 over a sequence of operating profit observations, preserving gaps for invalid rows, and returns results with formula, units, and limitations.","exampleAgentPrompt":"Can you run a rolling mean report on our operating profit data? Here are 4 periods: period 1 revenue $10,000, COGS $6,000, opex $2,000; period 2 revenue $11,000, COGS $6,600, opex $2,200; period 3 revenue $10,000, COGS $6,000, opex $2,000; period 4 revenue $11,000, COGS $6,600, opex $2,200 — use a rolling window of 2.","exampleUseCases":[{"title":"Quarterly profit trend smoothing","prompt":"I have 6 quarters of operating data and want to smooth out the noise. Revenue was $500k, $520k, $510k, $530k, $505k, $525k; COGS was $300k, $310k, $305k, $315k, $302k, $312k; opex was $100k, $105k, $102k, $108k, $101k, $106k. Can you give me a rolling mean report on operating profit with a window of 3?"},{"title":"Retail seasonal profit analysis","prompt":"We have monthly revenue, cost of sales, and operating expenses for 8 months and want to see how our operating profit trends using a 4-month rolling average — can you calculate that trailing mean and show me the formula and limitations?"},{"title":"Startup burn rate monitoring","prompt":"I need to track our startup's operating profit on a rolling basis across 5 reporting periods. Revenue was $80k, $85k, $78k, $90k, $88k; COGS $40k, $42k, $39k, $45k, $44k; opex $30k, $31k, $30k, $33k, $32k. Use a rolling window of 2 and give me the full report."}],"resultDescription":"A JSON object containing the rolling mean values for operating profit across the provided observation rows, computed using a trailing full-window approach. Also includes the formula used, units, and limitations of the analysis. Rows that fall within an incomplete window are marked with gaps.","failureModes":["Fewer than 2 rows provided — minimum input requirement not met","Window size exceeds number of rows — no full windows possible, empty or gap-only results","Revenue, cost_of_sales, or operating_expenses values outside allowed range (-1T to +1T) — validation error","Non-numeric or missing required fields — schema validation failure","Window integer not between 2 and 200 — parameter out of range error","Payment not processed — x402 payment required before response is returned"],"whenToPreferThis":"Choose this endpoint when you need a trailing rolling mean specifically for operating profit (revenue minus cost of sales minus operating expenses) over a sequence of ordered periods. It is ideal when you have user-supplied figures (not live market data) and need a statistically smoothed view of operating performance with a configurable window size. Prefer this over raw operating profit calculations when trend smoothing is needed, and over generic statistics tools when you want a finance-domain report with formula documentation and limitations included.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:38.834Z","isFirstParty":false,"canonicalSlug":"operating-profit-rolling-mean-report-935f351a"}