docs: sync Polymarket docs updates 2026-07-10

Updated 21 files:
- trading/orders: overview, create
- developers/CLOB/orders: orders, create-order, create-order-batch, get-order, get-active-order, check-scoring, onchain-order-info
- developers/CLOB/status
- market-makers: trading, maker-rebates, combos
- trading/fees, market-makers maker-rebates-program, trading/fees
- dev-tooling: python, typescript
- api-reference/core: get-trades-for-a-user-or-markets, get-user-activity
- changelog/changelog
This commit is contained in:
GLaDOS
2026-07-10 14:08:00 +02:00
parent a1a79b8a72
commit 714c66e5b3
21 changed files with 675 additions and 156 deletions
+24 -24
View File
@@ -33,7 +33,7 @@ Where **C** = number of shares traded and **p** = price of the shares.
| Category | Taker Fee Rate | Maker Fee Rate | Maker Rebate |
| --------------- | -------------- | -------------- | ------------ |
| Crypto | 0.07 | 0 | 20% |
| Sports | 0.03 | 0 | 25% |
| Sports | 0.05 | 0 | 15% |
| Finance | 0.04 | 0 | 25% |
| Politics | 0.04 | 0 | 25% |
| Economics | 0.05 | 0 | 25% |
@@ -48,7 +48,7 @@ Taker fees are calculated in USDC and vary based on the share price. The fee amo
<Frame>
<div className="p-3 bg-white rounded-xl">
<iframe title="Fee Curves" aria-label="Line chart" id="datawrapper-chart-cY9H4" src="https://datawrapper.dwcdn.net/cY9H4/" scrolling="no" frameborder="0" width={700} style={{ width: "0", minWidth: "100% !important", border: "none" }} height="450" data-external="1" />
<iframe title="Fee Curves" aria-label="Line chart" id="datawrapper-chart-dJ74e" src="https://datawrapper.dwcdn.net/dJ74e/" scrolling="no" frameborder="0" width={700} style={{ width: "0", minWidth: "100% !important", border: "none" }} height="450" data-external="1" />
</div>
</Frame>
@@ -86,29 +86,29 @@ Taker fees are calculated in USDC and vary based on the share price. The fee amo
<Tab title="Sports">
| Price | Trade Value | Taker Fee (USDC) |
| ------ | ----------- | ---------------- |
| \$0.01 | \$1 | \$0.03 |
| \$0.05 | \$5 | \$0.14 |
| \$0.10 | \$10 | \$0.27 |
| \$0.15 | \$15 | \$0.38 |
| \$0.20 | \$20 | \$0.48 |
| \$0.25 | \$25 | \$0.56 |
| \$0.30 | \$30 | \$0.63 |
| \$0.35 | \$35 | \$0.68 |
| \$0.40 | \$40 | \$0.72 |
| \$0.45 | \$45 | \$0.74 |
| \$0.50 | \$50 | \$0.75 |
| \$0.55 | \$55 | \$0.74 |
| \$0.60 | \$60 | \$0.72 |
| \$0.65 | \$65 | \$0.68 |
| \$0.70 | \$70 | \$0.63 |
| \$0.75 | \$75 | \$0.56 |
| \$0.80 | \$80 | \$0.48 |
| \$0.85 | \$85 | \$0.38 |
| \$0.90 | \$90 | \$0.27 |
| \$0.95 | \$95 | \$0.14 |
| \$0.99 | \$99 | \$0.03 |
| \$0.01 | \$1 | \$0.05 |
| \$0.05 | \$5 | \$0.24 |
| \$0.10 | \$10 | \$0.45 |
| \$0.15 | \$15 | \$0.64 |
| \$0.20 | \$20 | \$0.80 |
| \$0.25 | \$25 | \$0.94 |
| \$0.30 | \$30 | \$1.05 |
| \$0.35 | \$35 | \$1.14 |
| \$0.40 | \$40 | \$1.20 |
| \$0.45 | \$45 | \$1.24 |
| \$0.50 | \$50 | \$1.25 |
| \$0.55 | \$55 | \$1.24 |
| \$0.60 | \$60 | \$1.20 |
| \$0.65 | \$65 | \$1.14 |
| \$0.70 | \$70 | \$1.05 |
| \$0.75 | \$75 | \$0.94 |
| \$0.80 | \$80 | \$0.80 |
| \$0.85 | \$85 | \$0.64 |
| \$0.90 | \$90 | \$0.45 |
| \$0.95 | \$95 | \$0.24 |
| \$0.99 | \$99 | \$0.05 |
The fee in USDC **peaks at 50%** probability (\$0.75) and decreases symmetrically toward both extremes.
The fee in USDC **peaks at 50%** probability (\$1.25) and decreases symmetrically toward both extremes.
</Tab>
<Tab title="Finance / Politics / Mentions / Tech">
+6 -4
View File
@@ -208,7 +208,7 @@ GTD orders auto-expire at a specified time. Useful for quoting around known even
.size(dec!(10))
.side(Side::Buy)
.order_type(OrderType::GTD)
.expiration(Utc::now() + TimeDelta::hours(1))
.expiration(Utc::now() + TimeDelta::minutes(1) + TimeDelta::hours(1))
.build()
.await?;
let signed = client.sign(&signer, order).await?;
@@ -217,9 +217,11 @@ GTD orders auto-expire at a specified time. Useful for quoting around known even
</CodeGroup>
<Note>
There is a security threshold of one minute on GTD expiration. To set an
effective lifetime of N seconds, use `now + 60 + N`. For example, for a
30-second effective lifetime, set the expiration to `now + 60 + 30`.
GTD orders expire one minute before their stated expiration as a security
threshold. To set an effective lifetime of N seconds, use `now + 60 + N`.
In addition, the expiration must be at least three minutes in the future —
orders expiring sooner are rejected — so the minimum effective lifetime is
about two minutes.
</Note>
***
+4 -3
View File
@@ -33,9 +33,10 @@ The underlying order primitive is structured, hashed, and signed using the [EIP-
* **GTC** and **GTD** are limit order types — they rest on the book at your specified price.
<Note>
**GTD expiration**: There is a security threshold of one minute. If you need
the order to expire in 90 seconds, the correct expiration value is `now + 1
minute + 30 seconds`.
**GTD expiration**: Orders expire one minute before their stated expiration
as a security threshold, and the expiration must be at least three minutes
in the future. For a 5-minute effective lifetime, the correct expiration
value is `now + 1 minute + 5 minutes`.
</Note>
### Post-Only Orders