idempotency
Articles about idempotency.
Articles
- 9 min read
Trading bot duplicate orders after a timeout: did it fill?
A timeout after the send, an unknown-status error, an HTTP server error or an empty body leaves the outcome unknown. Keep its full size reserved until the order stream or a lookup by its ID finds it, or a person confirms it is absent. Never resend blindly: Binance accepts the same client order ID again after a fill.