Commit Graph

10 Commits

Author SHA1 Message Date
floor-licker fe772c055a fix: ambiguous OrderArgs name conflict in test module 2025-12-04 07:14:48 -05:00
floor-licker 7c495d8b55 feat: integrate dotenv for secure credential management, update benchmark scripts to load API credentials from .env file, add .env.example template, and ensure .env is properly gitignored for security 2025-12-04 06:49:10 -05:00
floor-licker c81430e768 fix: update benchmark table with realistic performance numbers based on actual network measurements, showing 1.7x improvement for order creation and competitive performance for market data, with proper environment variable usage for API credentials 2025-12-04 06:47:18 -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 c5ac9537aa Fix compilation errors after API parity changes
Update Market struct to match reference implementation with all required fields, add Clone trait to Rewards struct, fix Market initialization in decode.rs with proper field mappings, update test calls to use correct parameter types for get_sampling_markets method, remove broken example file that needs complete rewrite.
2025-11-04 23:09:17 -05:00
floor-licker 5e5bea59b4 refactor:cleanup 2025-10-20 19:13:03 -04:00
floor-licker 57ac3a5e16 feat: Add EIP-712 signing for L1 authentication (src/auth.rs), HMAC-SHA256 for L2 API authentication, create_api_key(), derive_api_key(), create_or_derive_api_key(), Add set_api_creds() for credential management, Add create_order() and create_market_order() with EIP-712 signing, Add post_order() and create_and_post_order() for order submission, Add cancel(), cancel_orders(), cancel_all() for order management, Add OrderBuilder with proper tick size validation and rounding, Add get_orders() with filtering by ID, asset, market, Add get_trades() with filtering by time range, maker, asset, Add OpenOrderParams and TradeParams for query flexibility, Add balance_allowance() for balance and allowance queries, Add notifications() for push notification setup, Add get_midpoints() for efficient multi-token midpoint queries, Add get_prices() for batch bid/ask/mid price retrieval, Add BatchMidpointRequest/Response and BatchPriceRequest/Response types, Replace Decimal with u32 (Price) and i64 (Qty) on hot paths, Add decimal_to_price() and decimal_to_qty() conversion functions 2025-10-20 19:07:07 -04:00
floor-licker 0b9fa95cfc Feat: Enhance integration tests 2025-09-04 23:25:49 -04:00
floor-licker 7fe94ea9c8 docs(book.rs): Updated documentation for orderbook implementation 2025-08-14 19:11:52 -04:00
floor-licker 0da466ae61 Initial commit (clean, no build artifacts) 2025-07-24 20:29:10 -04:00