{"uid":"cap_W2cf-UsJiXnMY2dT6r_v3","slug":"market2000-xyz-position-size-calculator-5a0fc041","name":"market2000.xyz Position Size Calculator","description":"An origin the crawlers already index. We count what AI agents try to buy, what they are refused, and what the AI companies take without sending anyone back. Sold per call in USDC.","url":"https://market2000.xyz/position_size","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["ticker","start_date","end_date"],"properties":{"k":{"type":"integer"},"ticker":{"type":"string"},"horizon":{"enum":["7d","14d","30d","60d"],"type":"string"},"end_date":{"type":"string","format":"date"},"start_date":{"type":"string","format":"date"},"kelly_fraction":{"type":"number"},"portfolio_value":{"type":"number"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"edge":{"type":"object"},"notes":{"type":"array","items":{"type":"string"}},"sizing":{"type":"object"},"risk_levels":{"type":"object"}}}}}}},"responseSchema":{"type":"json","example":{"edge":{"win_loss_ratio":1.8,"expected_value_pct":4.2,"actual_win_rate_pct":65},"sizing":{"dollar_size":710,"full_kelly_pct":14.2,"recommended_allocation_pct":7.1},"ticker":"NVDA","horizon":"30d","risk_levels":{"stop_reference_pct":-8.4,"target_reference_pct":12.1},"analogs_used":20}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_NWxIBgi-YVzxqz6vc9z-i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates Kelly-criterion-based position sizing and risk parameters for a stock trade using time series analog pattern matching","exampleAgentPrompt":"Based on historical time series analogs, how large a position should I take in NVDA over a 30-day horizon — give me the Kelly sizing, recommended allocation, and stop/target reference levels for a $10,000 portfolio.","exampleUseCases":[{"title":"Kelly sizing for earnings trade","prompt":"I'm thinking about buying AMD ahead of earnings and holding for about 30 days — can you run the historical pattern matching and tell me how much of my $25,000 portfolio to put in, what Kelly says, and where I should set my stop and target?"},{"title":"Compare position sizes across tickers","prompt":"I'm deciding between TSLA and MSFT for a month-long swing trade — use the time series analog data to show me the Kelly sizing, expected value, and recommended allocation for each so I can pick the better risk-adjusted bet with my $50,000 account."},{"title":"Validate trade setup before entry","prompt":"Before I pull the trigger on a SPY position, I want to know how many historical analogs support this setup, what the actual win rate looks like, and what half-Kelly allocation makes sense for my $15,000 portfolio over a 30-day window."}],"resultDescription":"Returns a JSON object with: ticker and horizon, edge metrics (win/loss ratio, expected value percentage, actual win rate), position sizing (dollar amount, full Kelly percentage, recommended half-Kelly allocation percentage), risk levels (stop reference and target reference percentages), and number of historical analogs used in the analysis.","failureModes":["Unknown or unsupported ticker symbol — returns error or empty analogs","Insufficient historical data for the requested horizon — low analog count or fallback","Payment failure via x402 on Base — request rejected before computation","Invalid horizon format — returns validation error","Network timeout on pattern matching computation — no result returned"],"whenToPreferThis":"Choose this endpoint when you need quantitatively grounded position sizing derived from historical time series pattern matching rather than simple fixed-percentage rules. It is ideal when you want Kelly-criterion-based allocation with empirical win rates and expected value estimates from analog trades, especially for equity tickers over defined horizons like 30 days.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:47:00.430Z","isFirstParty":false}