Skip to content

Fix Tiingo crypto volume unmarshal error#354

Merged
cinar merged 1 commit intomasterfrom
fix-tiingo-crypto-volume-352
Apr 19, 2026
Merged

Fix Tiingo crypto volume unmarshal error#354
cinar merged 1 commit intomasterfrom
fix-tiingo-crypto-volume-352

Conversation

@cinar
Copy link
Copy Markdown
Owner

@cinar cinar commented Apr 19, 2026

This PR fixes the unmarshal error for crypto assets by changing volume types to float64. Fixes #352

- Changed Volume and AdjVolume types to float64 in TiingoEndOfDay to support crypto assets.
- Added TestTiingoRepositoryGetFractionalVolume to verify the fix.
- Updated documentation with model consistency guidelines.

Fixes #352
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.02%. Comparing base (8c47c8e) to head (2d0aa52).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #354   +/-   ##
=======================================
  Coverage   93.02%   93.02%           
=======================================
  Files         213      213           
  Lines        6081     6081           
=======================================
  Hits         5657     5657           
  Misses        343      343           
  Partials       81       81           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@cinar cinar merged commit 57d7860 into master Apr 19, 2026
5 checks passed
@cinar cinar deleted the fix-tiingo-crypto-volume-352 branch April 19, 2026 17:28
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tiingo crypto volume unmarshal error: volume should be float64, not int64

2 participants