Behaviour
- Send an empty
heartbeatIdon the first request; afterwards send theheartbeatIdfrom the previous response. - Every response returns a new
heartbeatId; the previous one becomes invalid immediately. - Send one every 5s. If no valid heartbeat arrives within 10s, all open orders are cancelled with
cancelReason=HEARTBEAT_TIMEOUT. - A mismatched
heartbeatIdreturns 409HEARTBEAT_ID_MISMATCHwith the currently valid id. Two processes sharing one key will trigger this error.
