An open API service indexing awesome lists of open source software.

https://github.com/aeldar/hledger-update-crypto-prices

Update crypto prices for Hledger
https://github.com/aeldar/hledger-update-crypto-prices

hledger

Last synced: 7 months ago
JSON representation

Update crypto prices for Hledger

Awesome Lists containing this project

README

          

# hledger-update-crypto-prices

Update crypto prices for [Hledger](https://hledger.org/)

## Installation

1. Clone the repo
2. `cd` to your binaries' location, which is in $PATH (e.g. to `~/.local/bin`)
3. `ln -s ~//hledger-update-crypto-prices.sh hledger-update-crypto-prices`

## Usage

Run:

```shell
hledger update-crypto-prices
```

You can add a comma separated list of crypto abbreviations as an argument (_BTC,ADA_ by default):

```shell
hledger update-crypto-prices BTC,ADA,SOL
```

You can specify a target currency as a second argument (_USD_ by default):

```shell
hledger update-crypto-prices BTC,ADA,SOL EUR
```

## Currency abbreviations

Some currencies' abbreviations are automatically converted to their symbols. Remove in the code, if you don't need it.