Commit Graph

66 Commits

Author SHA1 Message Date
floor-licker 37f5651b65 perf: shard order book manager locks 2026-06-22 14:02:08 -04:00
floor-licker ddbacf5fbb perf: retain snapshots by generation 2026-06-22 13:46:29 -04:00
floor-licker 352f9d053c perf: enforce strict ws fixed-point parsing 2026-06-22 13:33:51 -04:00
floor-licker 92b7ccab65 perf: parse ws book levels as fixed point 2026-06-22 13:11:58 -04:00
floor-licker 9c52a85208 fix(deps): update hickory resolver 2026-06-16 15:38:00 -03:00
floor-licker 502bd6f3d0 fix(book): handle websocket book snapshots 2026-06-16 15:29:39 -03:00
floor-licker 919b36378c fix: satisfy ci clippy and audit 2026-04-28 11:38:31 -03:00
floor-licker 7ad3229af8 fix: support V2 proxy wallet funders 2026-04-28 11:19:55 -03:00
floor-licker eac25be5b2 test: support live DNS override and credential aliases 2026-04-28 10:05:22 -03:00
floor-licker 54c35a7034 chore: default live CLOB host to production 2026-04-28 09:46:06 -03:00
floor-licker e5994d04dd fix: align V2 client with official SDK fee behavior 2026-04-27 22:36:57 -03:00
floor-licker e78ae17286 feat: migrate CLOB client to V2-only trading 2026-04-24 12:48:30 -03:00
floor-licker 6e52dcbd0c feat:implement rfq endpoints 2026-02-03 22:36:34 -05:00
floor-licker d078e70c73 chore(http): derive user-agent version from package metadata 2026-02-02 21:15:17 -05:00
floor-licker 3dfb65ea0e feat(api): add /prices-history helper methods 2026-01-31 10:30:48 -05:00
floor-licker 0f577f0b2c fix(api): improve order endpoint compatibility 2026-01-30 21:10:03 -05:00
floor-licker d45b202d6d feat(ws): add book-applier stream 2026-01-30 20:40:07 -05:00
floor-licker e0b97c53cb feat(ws): add tape-based book update processor 2026-01-30 20:22:45 -05:00
floor-licker 0e71182ec5 feat(book): apply ws book updates via OrderBookManager 2026-01-30 18:50:52 -05:00
floor-licker a0bf317d97 refactor(ws): replace unbounded channel with bounded queue 2026-01-30 18:50:45 -05:00
floor-licker 75ce261445 perf(ws): avoid cloning batch stream messages 2026-01-30 18:50:28 -05:00
floor-licker 9594058fd5 feat(book): apply websocket book updates 2026-01-30 18:17:45 -05:00
floor-licker 41db8cabcd chore(fmt): cargo fmt 2026-01-29 18:47:30 -05:00
floor-licker a7ca8e4341 feat(ws): align auth and event_type parsing 2026-01-29 18:35:02 -05:00
floor-licker 703bd9f509 feat(book): align /book response fields 2026-01-29 18:33:27 -05:00
floor-licker e28e1afa0b fix(auth): only fallback derive on API errors
Match upstream behavior: only retry derive-api-key when create-api-key fails with an HTTP status error.
2026-01-29 18:28:42 -05:00
floor-licker 553698dda2 docs/chores/refactor 2026-01-04 11:24:35 -05:00
floor-licker c8c2048f33 fix: update WebSocket implementation 2026-01-03 23:45:26 -05:00
floor-licker 6da792b2ae fix: fix to wss subscription sigs 2026-01-03 23:36:11 -05:00
floor-licker 9dffa85410 docs: versioning 2026-01-01 15:14:17 -05:00
floor-licker 8a90c2e57f fix: struct decimal field annotations 2026-01-01 15:04:32 -05:00
floor-licker 5767833c56 tests: Improve e2e auth test coverage 2025-12-18 13:52:33 -05:00
floor-licker 7688a40e82 fix: CI Clippy warnings 2025-12-17 19:34:22 -05:00
floor-licker 38ef0ec123 fix: adjust signature encoding format
Resolves authentication flow edge case.
2025-12-16 22:20:34 -05:00
floor-licker dc6092c244 feat: integrate infrastructure modules and achieve 8.9% performance improvement
Integrated DNS caching, connection manager, and buffer pool modules into ClobClient structure to enable production use. Added start_keepalive() and stop_keepalive() methods for maintaining warm connections through background keep-alive pings. Implemented DNS cache pre-warming on client initialization and buffer pool with 512KB buffers for reducing allocation overhead. Cleaned up temporary test and analysis files from optimization exploration. Benchmark results with keep-alive enabled show 368.6ms mean latency compared to polymarket-rs-client's 404.5ms, representing 8.9% improvement and 35.9ms faster performance while maintaining production-safe approaches
2025-12-06 17:47:35 -05:00
floor-licker af9e1a1939 perf: achieve 5.4% performance improvement over polymarket-rs-client through systematic optimization
Reduced mean latency from 401ms to 382.6ms (21.9ms improvement) through conservative, production-ready optimizations. Implemented SIMD-accelerated JSON parsing using simd-json for 1.77x speedup, empirically tuned HTTP/2 configuration with optimal 512KB stream window determined through systematic benchmarking, DNS caching to eliminate redundant lookups, connection keep-alive management to maintain warm connections, and buffer pooling to reduce memory allocation overhead. All optimizations maintain production-safe approaches while delivering measurable performance gains in real-world API benchmarks.
2025-12-06 17:19:02 -05:00
floor-licker d5929a1a14 fix: use is_multiple_of method instead of manual modulo check to satisfy newer clippy lint requirements 2025-12-06 06:07:08 -05:00
floor-licker 9993e51c7f fix: resolve rustfmt configuration duplicate key error and apply consistent code formatting across all source files 2025-12-05 19:09:06 -05:00
floor-licker 88f116511c fix: resolve all remaining clippy warnings in examples and benchmarks including unused imports, variables, empty println statements, and enum naming conventions 2025-12-04 07:37:40 -05:00
floor-licker 3742a5b864 fix: resolve major clippy warnings causing CI failures including unused doc comments, dead code, needless borrows, and assertion constants 2025-12-04 07:26:38 -05:00
floor-licker fe772c055a fix: ambiguous OrderArgs name conflict in test module 2025-12-04 07:14:48 -05:00
floor-licker 0b79328f01 fix: resolve ambiguous OrderArgs name conflict in client tests by using explicit imports instead of glob imports, fixing CI test failures 2025-12-04 06:59:20 -05:00
floor-licker e469de8dd5 feat: implement advanced network optimizations for high-frequency trading environments, achieving 11% baseline latency improvement, 70% faster connection pre-warming, and 200% improvement in request batching through HTTP/2 connection pooling, TCP_NODELAY optimization, adaptive timeouts, circuit breaker patterns, and environment-specific client configurations 2025-12-04 06:35:12 -05:00
floor-licker 72afa8153a feat: achieve 100% API parity with baseline polymarket-rs-client implementation, add comprehensive parity analysis report 2025-12-04 02:36:33 -05:00
floor-licker d369f9eea8 Improve test coverage with additional client and book module tests, add coverage reports to gitignore 2025-12-04 02:28:34 -05:00
floor-licker 7a229ae9ea tests: tests for book.rs and fill.rs 2025-11-05 20:34:07 -05:00
floor-licker 3e0dec9a5d tests: further tests for fill.rs and book.rs 2025-11-05 20:30:03 -05:00
floor-licker a03aa8f89a tests: more tests for book.rs and client.rs 2025-11-05 20:28:51 -05:00
floor-licker 7ab1db804f fix: fix client tests, query parameter names, http methods, side enum serialization 2025-11-04 23:28:21 -05:00
floor-licker 4fdd6918ef test: simplify orders tests 2025-11-04 23:26:57 -05:00