taker_fee
Compute the taker fee for Polymarket markets based on price, shares, and optional category. The fee varies by category such as crypto or sports.
Instructions
Official Polymarket taker fee in $ (fee = rate * p * (1-p) * shares). Categories and rates: crypto 0.07, sports 0.03, finance/politics/mentions/ tech 0.04, economics/culture/weather 0.05, geopolitics 0. Makers pay 0.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | ||
| shares | Yes | ||
| category | No | crypto |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||