position_size
Calculate Fractional-Kelly position size for a binary bet using bankroll, market price, and your fair value estimate, while capping risk and rejecting negative-edge wagers.
Instructions
Fractional-Kelly position size for a binary contract, given your bankroll, the market price, and YOUR fair value estimate. Caps at a fraction of full Kelly and refuses negative-edge bets. Returns its assumptions — subtract quote_cost before trusting the number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| fair_value | Yes | ||
| bankroll_usd | Yes | ||
| max_fraction_of_kelly | No |