@hackage forex2ledger1.0.0.0

Print Forex quotes in Ledger format

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 http://openexchangerates.org.

  1. Add a valid app ID to config-sample.toml.
  2. Run stack run -- --config_file config-sample.toml.