A command-line tool for fetching and formatting historical price data, with support for multiple data sources and output formats.
Find a file
2021-04-23 07:52:25 +02:00
src/pricehist Extract SQL to a template file. 2021-04-22 13:23:06 +02:00
tests After running Black. 2021-04-20 20:41:58 +02:00
.flake8 Add Black, isort and flake8. 2021-04-20 20:41:58 +02:00
.gitignore Don't track vim settings in git. 2021-04-23 07:52:25 +02:00
LICENSE Rename and switch to poetry. 2021-02-28 15:21:56 +01:00
Makefile Add Black, isort and flake8. 2021-04-20 20:41:58 +02:00
poetry.lock Add Black, isort and flake8. 2021-04-20 20:41:58 +02:00
pyproject.toml Add Black, isort and flake8. 2021-04-20 20:41:58 +02:00
README.md Rename and switch to poetry. 2021-02-28 15:21:56 +01:00

pricehist

Fetch and process historical price data, including for use with:

Purpose

This tool can fetch historical price data from multiple sources, for specific time ranges. It focuses on low-resolution data: just a single price per day, per commodity pair.

The time range can be specified manually or be deduced from the prices in an existing file. It can format the fetched prices for Ledger CLI, or insert them into an SQL-based GnuCash file.

Installation

Usage