Crate polysqueeze

Crate polysqueeze 

Source
Expand description

Polysqueeze is a Rust SDK for interacting with Polymarket’s REST, Gamma, and WebSocket APIs. Use it to authenticate, build signed orders, stream live book data, or query historical fills and markets.

Re-exports§

pub use crate::client::ClobClient;
pub use crate::client::CreateOrderOptions;
pub use crate::client::MarketClient;
pub use crate::client::OrderArgs;
pub use crate::client::PolyClient;
pub use crate::errors::PolyError;
pub use crate::errors::Result;
pub use crate::types::ApiCredentials;
pub use crate::types::SignedOrderRequest;
pub use crate::wss::WssMarketClient;
pub use crate::wss::WssMarketEvent;
pub use crate::wss::WssUserClient;
pub use crate::wss::WssUserEvent;

Modules§

auth
Authentication and cryptographic utilities for Polymarket API
book
Order book management for Polymarket client
client
High-performance Rust client for Polymarket
config
Contract configuration for Polymarket
decode
Data decoding utilities for Polymarket client
errors
Error types for the Polymarket client
fill
Trade execution and fill handling for Polymarket client
orders
Order creation and signing functionality
types
Core types for the Polymarket client
utils
Utility functions for the Polymarket client
ws
Async streaming functionality for Polymarket client
wss
Lightweight WSS client for Polymarket market channel updates.