Repository navigation
Releases
Polymarket.Net Version 5.0.0
- Perps API
- Added Perps REST and WebSocket API support
- Accessible via the PerpsApi on clients
- Added PerpsOptions to options objects
- Added Shared API implementation
- Added (I)PolymarketSharedApiClient for Shared API access
- Added Perps to PolymarketCredentials
- Added PolymarketPerpsSymbolOrderBook order book implementation
- Added PolymarketUserPerpsDataTracker user data tracker implementation
- Prediction API
- Moved prediction API logic
- Renamed ClobApi to PredictionApi on REST and WebSocket clients
- Moved Gamma endpoints to PredictionApi.ExchangeData
- Moved Data position endpoints to PredictionApi.Trading
- Moved builder options under PredictionOptions
- Added support for V2 markets
- Added Version and PositionIds to Gamma market models. V2 orders use PositionIds and marketVersion: 2.
- Added marketVersion parameter to restClient.PredictionApi.Trading.PlaceOrderAsync endpoint
- Added MarketVersion property to PolymarketOrderRequest
- Added socketClient.PredictionApi.SubscribeToCryptoPriceUpdatesAsync
- Added socketClient.PredictionApi.SubscribeToCryptoTwapPriceUpdatesAsync
- Added socketClient.PredictionApi.SubscribeToEquityPriceUpdatesAsync
- Added socketClient.PredictionApi.SubscribeToEquityTwapPriceUpdatesAsync
- Added restClient.PredictionApi.Account.GetRateLimitTierAsync endpoint
- Added restClient.PredictionApi.ExchangeData.GetMarketsKeysetPaginationAsync endpoint
- Added restClient.PredictionApi.ExchangeData.GetMarketByTokenAsync endpoint
- Added restClient.PredictionApi.ExchangeData.GetResolutionStateAsync endpoint
- Added restClient.PredictionApi.ExchangeData.GetOpenInterestAsync endpoint
- Added restClient.PredictionApi.ExchangeData.GetEventVolumeAsync endpoint
- Added restClient.PredictionApi.ExchangeData.LookupTokensAsync endpoint
- Updated some response models
- Updated Data API GetPositionsAsync endpoint to Data API v2, now under restClient.PredictionApi.Trading
- Renamed L1/L2 on PolymarketCredentials to PredictionL1/PredictionL2
- Updated PolymarketL1Credential and WithL1 to accept EthKey instead of a private key string
- Renamed PolymarketClobSymbolOrderBook to PolymarketPredictionSymbolOrderBook
- Moved prediction API logic
Polymarket.Net Version 4.6.0
Updated CryptoExchange.Net to V13.1.0
Polymarket.Net Version 4.5.0
- Rate limiting
- Added rate limit admission callback to client options to allow rate limit admission ruling on request definition
- Added
WithRateLimitAdmissionAsyncto client to allow rate limit admission ruling on a specific request - Update rate limit safety margin logic
- Fixed some rate limit calculation issues
- Request coalescing
- Sending identical public GET requests on the same client will only send a single request to the server and use the same response
- Coalescing is enabled by default and can be disabled with the
RequestCoalescingEnabledclient option
Polymarket.Net Version 4.4.0
Updated to CryptoExchange.Net v12.5.0
Polymarket.Net Version 4.3.0
Updated CryptoExchange.Net to version 12.4.0
Added DataApi.GetClosedPositionsAsync endpoint
Updated DataApi.GetPositionsAsync endpoint parameters
Fixed deserialization issue PolymarketEvent when GameId is set
Polymarket.Net Version 4.2.1
Added GameId to PolymarketEvent model
Added Unmatched, Delayed values to OrderStatus Enum
Polymarket.Net Version 4.2.0
Updated CryptoExchange.Net to v12.2.0
Polymarket.Net Version 4.1.2
Added restClient.ClobApi.ExchangeData.GetPriceHistoriesAsync endpoint
Polymarket.Net Version 4.1.1
Updated CryptoExchange.Net to version 12.1.1 to fix deserialization issue for certain timestamps
Fixed GetOrderBookAsync deserialization if there is no trade price
Polymarket.Net Version 4.1.0
Updated CryptoExchange.Net to v12.1.0
Added 0.005 and 0.0025 tick size support
Added LastPrice to PolymarketOrderBook model
Fixed Gamma API timestamp parameter serialization
Fixed PolymarketNegRisk deserialization