Simple python program to fetch tickers from yahoo for ledger-cli
pip install yahooquery
- Write your tickers and symbols pair in symbols.txt file
- Run ledger_ticker.py. Output will be writed in prices.ledger file
TRY=X USD TRY (separator - one whitespace)
P 2023-12-29 13:40:32 USD 29.55342 TRY
You can change file names in the py file.