{"uid":"cap_M5wt4wN6XZHBHZl5ndGJR","slug":"halowerk-partial-target-position-sizer-539c9b1b","name":"HALOWERK Partial Target Position Sizer","description":"Positionsgröße und Aufteilung auf Teilziele. Anfangsrisiko wird am gemeinsamen Stop bemessen; Teilziele ändern es nicht. Anteilssumme muss 1 sein. 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/partial-target-size?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"equity":{"type":"number","maximum":1000000000000,"minimum":1e-12},"signal":{"type":"object","required":["symbol","direction","entry","stop","targets"],"properties":{"stop":{"type":"number","maximum":1000000000000,"exclusiveMinimum":0},"entry":{"type":"number","maximum":1000000000000,"exclusiveMinimum":0},"symbol":{"type":"string","maxLength":24,"minLength":2},"targets":{"type":"array","items":{"type":"number","maximum":1000000000000,"exclusiveMinimum":0},"maxItems":10,"minItems":1},"direction":{"enum":[-1,1],"type":"integer"}},"additionalProperties":false},"risk_pct":{"type":"number","maximum":100,"minimum":0},"fractions":{"type":"array","items":{"type":"number","maximum":1,"minimum":0},"maxItems":10,"minItems":1},"contract_size":{"type":"number","maximum":1000000000000,"minimum":1e-12},"quote_to_account":{"type":"number","maximum":1000000000000,"minimum":1e-12}}},"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_H7PekhwV7-l-ShXakDGP4","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":"Calculates position sizes split across multiple partial targets given equity, risk percentage, entry, stop, and target prices","exampleAgentPrompt":"I have $25,000 in my account and want to risk 1.5% on a long EURUSD trade, entry at 1.0850, stop at 1.0800. I want to take profit in three chunks: 40% at 1.0920, 35% at 1.0970, and 25% at 1.1020. Contract size is 100,000 and the quote-to-account rate is 1. How many lots should I trade at each target?","exampleUseCases":[{"title":"Forex multi-target lot sizing","prompt":"I'm trading GBPJPY long, account equity $50,000, risking 2%. Entry is 192.50, stop is 191.80. I want to take partial profits: 50% at 193.50 and 50% at 194.20. Contract size is 100,000, quote-to-account is 0.0068. Calculate my position sizes for each target."},{"title":"Crypto futures partial exit planning","prompt":"I'm shorting BTCUSDT futures with $10,000 equity and 1% risk. Entry at 68,000, stop at 68,800. I want three partial closes: 30% at 66,500, 40% at 65,000, and 30% at 63,000. Contract size is 1. What's my position size at each take-profit level?"},{"title":"Stock CFD risk split across two targets","prompt":"Account equity is €20,000 and I want to risk 0.5% on a long trade in AAPL CFDs. Entry 185.00, stop 181.00, targets at 192.00 and 198.00 with 60/40 split. Contract size is 1, quote-to-account is 0.92. How many units do I trade per target?"}],"resultDescription":"Returns the computed number of units or contracts to trade at each partial target level, based on the initial risk defined by the entry-stop distance applied to full equity. Each target receives a fraction-weighted allocation. The sum of all fractions must equal 1. No brokerage access, no live prices, no trade execution — purely a calculation result.","failureModes":["Fractions array does not sum to 1 — request rejected or returns validation error","Targets array length does not match fractions array length — mismatch error","Stop price equals entry price — division by zero or invalid risk distance","Direction inconsistent with entry/stop relationship — may produce nonsensical sizing","Contract size or quote-to-account rate set to zero — invalid parameter error","Equity or risk_pct outside allowed bounds — validation failure"],"whenToPreferThis":"Choose this endpoint when you need deterministic, formula-based position sizing for a trade that will be closed in multiple partial tranches at predefined price targets. It is ideal when your agent already has all price levels, risk parameters, and fraction splits ready and needs a pure calculation — not market data, not broker connectivity, and not advice. Prefer it over general financial APIs when you specifically need partial-target-aware lot sizing with a shared initial stop risk model.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T06:48:14.331Z","isFirstParty":false,"canonicalSlug":"halowerk-partial-target-position-sizer-539c9b1b"}