-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Description
As a financial product, could you please enforce better code quality? I tried it briefly and immediately ran into several frustrating issues:
- Inconsistent units: For example, the live logs show timestamps in both milliseconds and seconds.
Order { order_id: "xxx", client_order_id: "xxx", market_index: 1, owner_account_index: xxx, remaining_base_amount: "0.00020", side: "", is_ask: true, price: "93000.0", base_price: 930000, filled_base_amount: "0.00000", status: "open", nonce: xxx, order_expiry: 1771303769099, created_at: 1768884474, timestamp: 1768884374 } - Non-standard authentication: In http the authorization header is set as
.header(AUTHORIZATION, format!("{}", auth_token))instead of the common convention.header(AUTHORIZATION, format!("Bearer {}", auth_token)). And in WS the Pong frame is not regular pong but"type": "pong" - Missing callbacks: There’s no callback at all for orders like canceled-post-only.
eervin123
Metadata
Metadata
Assignees
Labels
No labels