Repository navigation
Releases: clojure-finance/ecbjure
Releases · clojure-finance/ecbjure
Release list
0.1.5
All HTTP fetches (fx/make-converter, sdmx/get-series, sdmx/list-dataflows) now apply connect/read timeouts (10 s / 30 s defaults, rebindable via clojure-finance.ecbjure.http) — a stalled ECB transfer throws java.net.SocketTimeoutException instead of blocking the calling thread forever.
Also fixes parsing of the daily file (fx/ecb-daily-url, eurofxref.zip): space-padded fields and the trailing blank column no longer throw NumberFormatException.
0.1.4
Fix cljdoc API analysis: dataset.clj moved to src-dataset/ and excluded from jar (stale 0.1.3 artifact had been deployed before the fix took effect)
0.1.3
Fixed
- cljdoc API analysis failure:
dataset.cljmoved tosrc-dataset/and excluded from default jar (activate via:dataset/:test-datasetaliases as before) fx/get-rateon ref-currency ("EUR") now returns 1.0 instead of throwingfx/cross-ratewith"EUR"as either argument now works correctly
Added
sdmx/list-dataflows? discover all ~100 available ECB SDMX dataflowssdmx/build-series-key? generic SDMX series-key compiler (strings, nil wildcards, sets)sdmx/exr-series-key? EXR convenience builder with named keys and sensible defaults:updated-afteroption insdmx/get-series
Changed
:fallback-on-wrong-datereplaced by:fallback? acceptsfalse,:nearest,:before,:after(ortrueas alias for:nearest)
0.1.2
Added
clojure-finance.ecbjure.sdmx/get-series? fetch any ECB SDMX series via the REST API; returns a vector of observation maps with:time-period(LocalDate) and:obs-value(double), plus all CSV dimension columnsclojure-finance.ecbjure.sdmx/parse-sdmx-csv? parse SDMX CSV lines (format=csvdata) into observation maps; handles daily, monthly, and annual TIME_PERIOD formats- Predefined series-key constants:
exr-daily,exr-monthly,euribor-1w,euribor-1m,euribor-3m,euribor-6m,euribor-1y,euribor-overnight,estr-daily,hicp-euro-area clojure-finance.ecbjure.dataset/rates-wide? TMD dataset in wide format (rows = dates, columns = currency codes)clojure-finance.ecbjure.dataset/rates-long? TMD dataset in tidy/long format (columns::date,:currency,:rate):datasetand:test-datasetaliases for optionaltechascent/tech.ml.datasetintegrationsdmx_test.clj? 4 tests, 19 assertions; fully offlinedataset_test.clj? 2 tests, 17 assertions
Changed
- README: added SDMX Client section and dataset output examples
- Install coordinate bumped to
0.1.2
0.1.1
Fixed
- POM
<name>tag was emitted as<n>due to a tools.build keyword collision with Clojure'snamefn; fixed by using the string key"name"inpom-data. This caused the cljdoc build to fail for 0.1.0.
Added
- CI via GitHub Actions (
clojure -M:teston push/PR) - cljdoc, CI, and license badges in README
- Docstrings on
ecb-urlandecb-daily-url
0.1.0
Initial release. See CHANGELOG for details.