Skip to content

Only warn on explicit get_trade_volume fee_info use - #463

Merged
btschwertfeger merged 2 commits into
masterfrom
fix-trade-volume-deprecation-warning
Sep 27, 2026
Merged

btschwertfeger merged 2 commits into
masterfrom
fix-trade-volume-deprecation-warning

Conversation

@btschwertfeger

@btschwertfeger btschwertfeger commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

Fixes get_trade_volume's fee_info deprecation warning firing on every call by defaulting it to None so the warning only triggers when a caller explicitly passes it.

@btschwertfeger btschwertfeger added Spot Topic related to Spot trading Bug Something isn't working labels Sep 27, 2026
@btschwertfeger btschwertfeger self-assigned this Sep 27, 2026
@codecov

codecov Bot commented Sep 27, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 50.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 84.32%. Comparing base (1f93840) to head (083e426).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/kraken/spot/user.py 50.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #463      +/-   ##
==========================================
- Coverage   84.37%   84.32%   -0.05%     
==========================================
  Files          23       23              
  Lines        2009     2010       +1     
==========================================
  Hits         1695     1695              
- Misses        314      315       +1     
Flag Coverage Δ
futures-private 51.74% <0.00%> (-0.03%) ⬇️
futures-public 51.64% <0.00%> (-0.03%) ⬇️
spot-private 60.19% <50.00%> (+0.02%) ⬆️
spot-public 57.91% <50.00%> (-0.03%) ⬇️

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

Files with missing lines Coverage Δ
src/kraken/spot/user.py 97.61% <50.00%> (-0.79%) ⬇️

@btschwertfeger
btschwertfeger merged commit 6a917fa into master Sep 27, 2026
26 checks passed
@btschwertfeger
btschwertfeger deleted the fix-trade-volume-deprecation-warning branch September 27, 2026 07:23
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.

1 participant