All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
clojure-finance.ecbjure.dataset moved to src-dataset/ source tree, excluded from the default jar; activate via :dataset / :test-dataset aliases as beforefx/get-rate — threw Unknown currency when called with the ref-currency ("EUR"); now returns cast-fn(1) directlyfx/cross-rate — threw Unknown currency when either argument was the ref-currency ("EUR"); now substitutes 1 for the EUR leg before dividingclojure-finance.ecbjure.sdmx/list-dataflows — fetches all ~100 available ECB SDMX dataflows and returns a sorted map of id → description; parses SDMX 2.1 XML via JDK DOM (javax.xml.parsers) — no new dependenciesclojure-finance.ecbjure.sdmx/build-series-key — compiles a dataflow name + dimensions vector into an SDMX series-key string; dimensions may be strings, nil (wildcard), or sets (sorted +-joined multi-value)clojure-finance.ecbjure.sdmx/exr-series-key — EXR convenience builder; accepts a map with named keys (:freq, :currency, :currency-denom, :exr-type, :exr-suffix) with sensible defaults:updated-after option in sdmx/get-series — filters observations updated after a given timestamp:fallback-on-wrong-date (boolean) replaced by :fallback keyword — accepts false (default, throw on out-of-bounds), :nearest, :before, :after; true is a backward-compat alias for :nearestclojure-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 formatsexr-daily, exr-monthly, euribor-1w, euribor-1m, euribor-3m, euribor-6m, euribor-1y, euribor-overnight, estr-daily, hicp-euro-areasdmx_test.clj — 4 tests, 19 assertions; fully offline using in-memory fixture dataclojure-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):dataset alias in deps.edn for techascent/tech.ml.dataset 7.066 — optional, not a core dependency:test-dataset alias in deps.edn — kaocha + tech.ml.dataset for running dataset testsdataset_test.clj — 2 tests, 17 assertions covering shape, values, column names, EUR rows, and sort orderREADME.md — added SDMX Client section and dataset output examples; install coordinate bumped to 0.1.2<n> tag was emitted as <n> due to tools.build keyword collision; fixed by using string key "name" in pom-dataclojure-finance.ecbjure.fx/make-converter — load ECB historical FX data from URL or local fileclojure-finance.ecbjure.fx/make-converter-from-lines — build converter from a seq of CSV linesclojure-finance.ecbjure.fx/convert — triangulated currency conversion through EURclojure-finance.ecbjure.fx/get-rate — EUR-referenced rate lookup for a currency and dateclojure-finance.ecbjure.fx/rate-history — full sorted date→rate history for a currencyclojure-finance.ecbjure.fx/cross-rate — implied cross rate between two non-EUR currencies:fallback-on-wrong-date option to clamp out-of-bounds dates to first/last available:cast-fn option for exact arithmetic via bigdec:cli alias (--to, --date, --source, -v)Can you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |