{"uid":"cap_b-7EaIj8Mk-qYzZ4cEh4W","slug":"lot-size-rounding-calculator-1f075645","name":"Lot Size Rounding Calculator","description":"Lotzahl auf Broker-Schrittweite runden. Kein automatisches Anheben auf Minimum oder Absenken auf Maximum; Überschreitung wird als Kennzeichen zurückgegeben. Alle Zahlen, Kurse und Vorgaben liefert der Aufrufer. Keine eigenen Kursdaten, kein Brokerzugriff, keine Ausführung. Rechenwerkzeug, keine Anlageberatung, keine Empfehlung.","url":"https://handel.halowerk.com/v1/rechner/lot-round?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"lots":{"type":"number","maximum":1000000000000,"minimum":0},"mode":{"enum":["floor","ceil","nearest"],"type":"string"},"step":{"type":"number","maximum":1000000000000,"minimum":1e-12},"maximum":{"type":"number","maximum":1000000000000,"minimum":1e-12},"minimum":{"type":"number","maximum":1000000000000,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_owW2uH9y32XLGskJfayJ5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Rounds a lot quantity to a broker's step size using floor, ceil, or nearest mode, and flags constraint violations without auto-correcting them.","exampleAgentPrompt":"I need to round 1.37 lots to the nearest broker step of 0.01, with a minimum of 0.01 and a maximum of 100 — use nearest rounding and tell me if any constraint is violated.","exampleUseCases":[{"title":"Snap lot size before order submission","prompt":"Before I send an order, round 2.734 lots to the floor of a 0.1 step size for my broker, with a minimum of 0.1 and a maximum of 50, and flag it if the result is out of range."},{"title":"Detect minimum lot violation for a small position","prompt":"I want to trade 0.003 lots but my broker's step is 0.01 with a minimum of 0.01 — round it down and tell me if it violates the minimum constraint."},{"title":"Normalize lot size for ceiling rounding in an algo","prompt":"My algorithm calculated 5.123 lots — round it up to the nearest 0.25 step with a maximum of 20 and flag any maximum breach."}],"resultDescription":"Returns the rounded lot quantity aligned to the specified broker step size, along with flags indicating whether the result exceeds the provided minimum or maximum constraints. No automatic clamping is applied — violations are reported, not corrected.","failureModes":["Invalid step size (zero or negative) causes validation error","Lots value outside allowed range (0 to 1e12) returns error","Missing required fields returns schema validation error","Step size larger than lots value may produce zero after floor rounding","Constraint flags returned but caller must handle clamping logic themselves"],"whenToPreferThis":"Use this endpoint when you need a pure, stateless lot-rounding computation that respects a broker's step increment and explicitly signals constraint violations without silently clamping values. Prefer it over general-purpose rounding utilities when broker-specific step semantics, minimum/maximum flagging (without auto-correction), and financial trading precision are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T18:41:30.385Z","isFirstParty":false,"canonicalSlug":"lot-size-rounding-calculator-1f075645"}