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: README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,9 +56,18 @@ flowchart LR
56
56
- Polymarket allows for the one way (for capital efficiency) conversion from `No` tokens to a collection of `Yes` tokens and USDC before resolution through a smart contract.
57
57
58
58
## Clients overview
59
-
-### PolymarketClobClient - Order book related operations
59
+
-### PolymarketReadOnlyClobClient - Read only order book related operations
60
60
-#### Order book
61
61
- get one or more order books, best price, spread, midpoint, last trade price by `token_id`(s)
62
+
-#### Miscellaneous
63
+
- get recent price history by `token_id` in the last 1h, 6h, 1d, 1w, 1m
64
+
- get price history by `token_id` in start/end interval
65
+
- get all price history by `token_id` in 2 min increments
66
+
- get **ClobMarket** by `condition_id`
67
+
- get all **ClobMarkets**
68
+
69
+
-### PolymarketClobClient - Order book related operations
70
+
- all operations from PolymarketReadOnlyClobClient
62
71
-#### Orders
63
72
- create and post limit or market orders
64
73
- cancel one or more orders by `order_id`(s)
@@ -73,11 +82,6 @@ flowchart LR
73
82
-#### Miscellaneous
74
83
- get USDC balance
75
84
- get token balance by `token_id`
76
-
- get recent price history by `token_id` in the last 1h, 6h, 1d, 1w, 1m
77
-
- get price history by `token_id` in start/end interval
78
-
- get all price history by `token_id` in 2 min increments
79
-
- get **ClobMarket** by `condition_id`
80
-
- get all **ClobMarkets**
81
85
82
86
### PolymarketGammaClient - Market/Event related operations
0 commit comments