Skip to content

Resolve "Stock trade compatibility"#399

Merged
btschwertfeger merged 7 commits intomasterfrom
393-stock-trade-compatibility
Sep 20, 2025
Merged

Resolve "Stock trade compatibility"#399
btschwertfeger merged 7 commits intomasterfrom
393-stock-trade-compatibility

Conversation

@btschwertfeger
Copy link
Owner

@btschwertfeger btschwertfeger commented Sep 20, 2025

This PR adds documentation, tests, and examples on how to use the SDK for trading xStocks on Kraken.

Other changes:

  • Update the style of the documentation to look more modern.

Closes #393

@btschwertfeger btschwertfeger added this to the Upcoming Release milestone Sep 20, 2025
@btschwertfeger btschwertfeger self-assigned this Sep 20, 2025
@btschwertfeger btschwertfeger added the Documentation Improvements or additions to documentation label Sep 20, 2025
@codecov
Copy link

codecov bot commented Sep 20, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.34%. Comparing base (113f376) to head (159a81d).
⚠️ Report is 9 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #399      +/-   ##
==========================================
+ Coverage   83.56%   87.34%   +3.77%     
==========================================
  Files          22       22              
  Lines        1959     1959              
==========================================
+ Hits         1637     1711      +74     
+ Misses        322      248      -74     
Flag Coverage Δ
unittests 87.34% <ø> (+3.77%) ⬆️

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

Files with missing lines Coverage Δ
src/kraken/base_api/__init__.py 85.71% <ø> (+3.95%) ⬆️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds comprehensive support for xStocks (tokenized stocks) trading to the Kraken SDK, including documentation, tests, and examples. The PR also modernizes the documentation theme and structure.

  • Adds xStocks trading functionality with proper test coverage and configuration
  • Updates documentation to use modern Furo theme with improved styling
  • Provides comprehensive examples and documentation for xStocks usage

Reviewed Changes

Copilot reviewed 22 out of 37 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tests/spot/test_xstocks_basic.py New test suite for xStocks functionality with market and trade client tests
tests/spot/conftest.py Added xStocks-specific test fixtures and configuration
tests/futures/test_futures_trade.py Refactored TEST_ORDER_IDS from instance to class variable
src/kraken/base_api/init.py Updated SpotClient docstring to mention xStocks support
pyproject.toml Added xstocks pytest marker
examples/xstocks_examples.py New comprehensive examples for xStocks trading
doc/* Multiple documentation updates for theme change and restructuring
README.md Updated to highlight xStocks support and provide usage examples
.github/workflows/* Added xStocks credentials to CI/CD workflows
Makefile Updated test coverage reporting options

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@btschwertfeger btschwertfeger merged commit ee028f4 into master Sep 20, 2025
42 checks passed
@btschwertfeger btschwertfeger deleted the 393-stock-trade-compatibility branch September 20, 2025 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stock trade compatibility

2 participants