{"uid":"cap_0QY1gL-YnnIUp1Gs_Iofd","slug":"wintergreen-position-size-calculator-0619b7e0","name":"Wintergreen Position Size Calculator","description":"Payment-gated crypto trading intelligence for AI agents.\n    \n## Categories\n- **Hyperliquid Signals**: Real-time funding divergence, lead-lag correlation, liquidation clusters, session volume area levels\n- **Quant Methodology**: Backtesting walk-forward validation, strategy generation with kill battery (19 rules), risk management with Kelly sizing, regime detection, execution frameworks, agent orchestration\n- **Market Insights**: 22 crypto microstructure observations — funding, liquidation, orderbook, regime, flow, anomaly\n- **Power Markets**: ERCOT field guide, merit-order model, duck curve analysis\n- **Career Guides**: Firefighter oral board prep, medical coding, ATSA, contractor estimating\n- **Trust Scoring**: x402 endpoint verification, P2D badges\n\n## Payment\nAll paid endpoints return HTTP 402 with USDC on Base (eip155:8453). \nSign EIP-712 TransferWithAuthorization and retry with X-PAYMENT header.\nPayTo: 0xAe9834d71F1Bd989A0dc17593451af823E31CeeD","url":"https://x402.wintergreen.uk/api/v1/position/calculate","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"stop":{"type":"number"},"entry":{"type":"number"},"capital":{"type":"number"},"risk_pct":{"type":"number"}}},"responseSchema":{},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rp3ntdrkBgObkK7UqNysK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates optimal position sizing for a crypto trade given entry price, stop loss, capital, and risk percentage using Kelly-informed risk management.","exampleAgentPrompt":"I'm entering a BTC trade at $65,000 with a stop at $63,500, I have $10,000 in capital and want to risk 1% — what's my position size?","exampleUseCases":[{"title":"Crypto day trader sizing a Hyperliquid position","prompt":"I want to long ETH at $3,400 with a stop at $3,300, I have $5,000 in my account and I only want to risk 2% of it — how big should my position be?"},{"title":"Risk-controlled bot order sizing","prompt":"My trading bot is about to enter a short at $42,000 stop at $43,200, working with $25,000 capital at 0.5% risk per trade — calculate the correct position size for me."},{"title":"New trader learning proper risk management","prompt":"I have $2,000 to trade with and I'm thinking of buying SOL at $150, setting my stop loss at $140. If I only risk 1.5% of my account, how many SOL can I buy?"}],"resultDescription":"Returns a computed position size (number of units or contracts to trade) given the entry price, stop loss level, total capital, and desired risk percentage, applying quantitative risk management logic to keep losses bounded to the specified risk amount.","failureModes":["Missing required parameters (entry, stop, capital, risk_pct) return error","HTTP 402 if payment header not included or USDC authorization fails","Invalid parameter types (non-numeric values) cause schema validation errors","Stop price equal to entry price causes division-by-zero or undefined result","Negative or zero capital/risk values may produce nonsensical output"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to compute a risk-adjusted position size for a crypto trade in real time, especially within Hyperliquid or similar perpetuals workflows. Prefer it over generic calculators when the agent is operating within the x402 micropayment ecosystem and needs a lightweight, single-call computation priced at $0.001 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:25:16.704Z","isFirstParty":false}