Repository navigation
Conversation
A request timeout can fire after Kraken already placed the order or withdrawal. Connect failures still retry because they never reached the venue.
Contributor
|
Thanks @SashaMIT ! This is fixed in v0.5.0. A timed-out order, cancel, withdrawal or transfer is never sent again. If it may have executed, the error has |
needaccforwhonix
pushed a commit
to needaccforwhonix/kraken-cli
that referenced
this pull request
Nov 7, 2026
Sign in from the browser to create a restricted, expiring Spot API key. The MCP server and the REPL ship as their own binaries, kraken-mcp and kraken-shell, installed next to kraken. A paper strategy can go live in a budget-fenced workspace, and a finished session packages as a recipe. A timed-out order, cancel, withdrawal or transfer is never resent, and an envelope that may hide an execution carries "verify_first": true. Upgrading from 0.4.1 needs action from scripts, agents and MCP clients: see CHANGELOG.md under 0.5.0. Includes community fixes from krakenfx#50, krakenfx#51, krakenfx#54, krakenfx#55 and krakenfx#56. Co-authored-by: theghostmac <83423188+theghostmac@users.noreply.github.com> Co-authored-by: SashaMIT <33847880+SashaMIT@users.noreply.github.com> Co-authored-by: sashaphmn <122053040+sashaphmn@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
private_post,private_post_json, andprivate_post_rawtake anidempotentflag. 5xx retries already honor it. Transport retries did not.is_transienttreats connect and timeout the same. A connect failure never reached Kraken. A 30s request timeout can fire after AddOrder or Withdraw already executed. The retry uses a fresh nonce and no defaultcl_ord_id, so the venue places a second order.When
idempotentis false, only connect failures retry.Test plan
cargo test --lib non_idempotent_timeoutgreenis_transientMade with Cursor