kelly_size
Formula agent: Kelly fraction, half Kelly, expectancy and the position size for a stop-loss, capped at a maximum risk per trade. Tells you when there is no edge. 0.002 USDC per call via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| avgWin | Yes | ||
| avgLoss | Yes | ||
| winRate | Yes | Win probability 0-1 | |
| bankroll | No | ||
| maxRiskPct | No | ||
| stopLossPct | No | ||
| paymentProof | No | Payment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof. |