feat(binance): support Spanish-language CSV exports#162
Conversation
Binance exports CSV files with Spanish headers when the user's UI language is set to Spanish. This adds detection and parsing for both formats: - Spot trade history: Tiempo,Par,Lado,Precio,Ejecutado,Cantidad,Tarifa - Transaction history: ID de usuario,Tiempo,Cuenta,Operación,Moneda,Cambio,Observación Also handles 2-digit year date format (YY-MM-DD) and embedded asset suffixes in Ejecutado/Cantidad columns (e.g. "285.7CTK", "0.0008571BTC"). Updated broker guides in all 5 locales with Igor's exact export paths.
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughBinance CSV import now supports Spanish-language exports. Localized guide text across five languages clarifies the export flow and UTC+1 time settings. The parser detects English and Spanish headers, resolves columns with localized field names, parses amounts with asset suffixes, handles 2-digit-year dates, and includes comprehensive Spanish test coverage. ChangesBinance CSV Localization and Spanish Format Support
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #162 +/- ##
==========================================
- Coverage 97.65% 97.63% -0.03%
==========================================
Files 38 38
Lines 7669 7684 +15
Branches 1563 1571 +8
==========================================
+ Hits 7489 7502 +13
- Misses 179 181 +2
Partials 1 1
🚀 New features to boost your workflow:
|
Summary
YY-MM-DD) used in Spanish exports285.7CTK,0.0008571BTC)Test plan
Summary by CodeRabbit