polymarket_hft/lib.rs
1//! Polymarket HFT System
2//!
3//! A high-frequency trading system for Polymarket with built-in API clients.
4//!
5//! # Features
6//!
7//! - **Data API**: Access market data, user information, and more.
8//! - **Gamma Markets API**: Market discovery and metadata.
9//! - **CLOB API**: Central Limit Order Book for pricing and order books.
10//!
11//! # Example
12//!
13//! ```no_run
14//! use polymarket_hft::client::polymarket::data::Client;
15//!
16//! #[tokio::main]
17//! async fn main() -> Result<(), Box<dyn std::error::Error>> {
18//! let client = Client::new();
19//!
20//! // Check API health
21//! let health = client.health().await?;
22//! println!("API status: {}", health.data);
23//!
24//! Ok(())
25//! }
26//! ```
27
28pub mod client;
29pub mod error;
30
31pub use error::{PolymarketError, Result};