Skip to content

Resolve "Alternative Kraken instances not working with websockets (Spot)"#402

Merged
btschwertfeger merged 2 commits into
masterfrom
custom-endpoint-url
Sep 21, 2025
Merged

Resolve "Alternative Kraken instances not working with websockets (Spot)"#402
btschwertfeger merged 2 commits into
masterfrom
custom-endpoint-url

Conversation

@btschwertfeger
Copy link
Copy Markdown
Owner

The websocket URL for Spot trading could not be customized in way that it takes effect. By allowing the user to set all required base URLs during the instantiation of the SpotClient, they can now use other base URLs than the default one for Spot trading.

Closes #401

@btschwertfeger btschwertfeger added this to the Upcoming Release milestone Sep 21, 2025
@btschwertfeger btschwertfeger self-assigned this Sep 21, 2025
@btschwertfeger btschwertfeger added Bug Something isn't working Spot Topic related to Spot trading labels Sep 21, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Sep 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.35%. Comparing base (f6350e5) to head (bab9e2a).
⚠️ Report is 7 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #402      +/-   ##
==========================================
+ Coverage   87.34%   87.35%   +0.01%     
==========================================
  Files          22       22              
  Lines        1959     1961       +2     
==========================================
+ Hits         1711     1713       +2     
  Misses        248      248              
Flag Coverage Δ
unittests 87.35% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/kraken/spot/websocket/__init__.py 88.99% <100.00%> (+0.20%) ⬆️
src/kraken/spot/websocket/connectors.py 87.00% <ø> (ø)
src/kraken/spot/ws_client.py 91.80% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@btschwertfeger btschwertfeger merged commit 4cedb97 into master Sep 21, 2025
42 checks passed
@btschwertfeger btschwertfeger deleted the custom-endpoint-url branch September 21, 2025 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Spot Topic related to Spot trading

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Alternative Kraken instances not working with websockets (Spot)

1 participant