You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: changelog.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,12 @@
2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+
## [2.43.14] - 2026-05-24
6
+
7
+
### Fixed
8
+
9
+
-**Docs**: Updated the `fetchOrderBook` API reference examples to show the recommended historical order book flow: fetch a market by slug, pass `market_id` / `marketId`, and select the side with `params.outcome: "yes"` or `"no"`.
Get the order book at a specific point in time. Pass `since` as a Unix timestamp in milliseconds — returns the nearest snapshot at or before that time.
38
38
39
+
For binary markets, you can pass the market ID and choose the side with `params.outcome`. Use `"yes"` or `"no"` instead of copying the long outcome token ID:
40
+
39
41
<CodeGroup>
40
42
```python Python
41
43
import pmxt
42
-
from datetime import datetime
43
44
44
45
poly = pmxt.Polymarket(pmxt_api_key="pmxt_...")
45
46
46
-
# 2028 Presidential Election — order book from last week
0 commit comments