| CARVIEW |
Select Language
HTTP/1.1 200 OK
Connection: keep-alive
Server: nginx/1.24.0 (Ubuntu)
Content-Type: text/html; charset=utf-8
Cache-Control: public, max-age=300
Content-Encoding: gzip
Via: 1.1 varnish, 1.1 varnish
Accept-Ranges: bytes
Age: 0
Date: Sat, 17 Jan 2026 05:24:56 GMT
X-Served-By: cache-dfw-kdfw8210098-DFW, cache-bom-vanm7210028-BOM
X-Cache: MISS, MISS
X-Cache-Hits: 0, 0
X-Timer: S1768627496.026031,VS0,VE301
Vary: Accept, Accept-Encoding
transfer-encoding: chunked
forex2ledger: Print Forex quotes in Ledger format
[Skip to Readme]
forex2ledger: Print Forex quotes in Ledger format
Please see the README on GitHub at https://github.com/gregorias/forex2ledger#readme
[Skip to Readme]
Downloads
- forex2ledger-1.0.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
| Versions [RSS] | 1.0.0.0, 1.0.0.1, 1.0.0.2 |
|---|---|
| Dependencies | aeson, base (>=4.13 && <5), containers, currency-codes, forex2ledger, hledger-lib (>=1.21), HTTP, optparse-applicative, relude, text, time, tomland, unordered-containers, url [details] |
| License | AGPL-3.0-only |
| Copyright | Copyright (c) 2021 Grzegorz Milka |
| Author | Grzegorz Milka |
| Maintainer | grzegorzmilka@gmail.com |
| Uploaded | by gregorias at 2021-07-28T19:53:23Z |
| Category | Finance |
| Home page | https://github.com/gregorias/forex2ledger#readme |
| Bug tracker | https://github.com/gregorias/forex2ledger/issues |
| Source repo | head: git clone https://github.com/gregorias/forex2ledger |
| Distributions | |
| Executables | forex2ledger |
| Downloads | 481 total (10 in the last 30 days) |
| Rating | 2.0 (votes: 1) [estimated by Bayesian average] |
| Your Rating |
|
| Status | Docs available [build log] Last success reported on 2025-11-29 [all 3 reports] |
Readme for forex2ledger-1.0.0.2
[back to package description]forex2ledger
This tool prints currency exchange rates in plain text account format, e.g.;
$ stack run -- --config_file config-sample.toml
P 2021-03-21 USD 0.929777 CHF
P 2021-03-21 USD 0.836925 EUR
Installation
Run stack install. This command installs the forex2ledger binary in your
PATH.
Usage
You will need a valid app ID from https://openexchangerates.org.
- Add a valid app ID to
config-sample.toml. - Run
forex2ledger --config_file config-sample.toml.
Sample config file
An example config file looks like this:
# config-sample.toml
# The AppId for https://openexchangerates.org/
oer_app_id = 'SAMPLEAPPID'
currency.base = 'USD'
currency.targets = [
'CHF',
'EUR',
]