Crypto Trading Systems
Bug Report
Kraken API EAPI:Invalid nonce when a second worker starts with the same key
Our order router ran fine as one process. When we scaled to two workers, a third of private API calls failed with EAPI:Invalid nonce. Kraken requires an increasing nonce per API key, and two processes generating millisecond timestamps raced each other. One key per worker fixed it.