shithub: candlestick

Clone

clone: git://shithub.us/phil9/candlestick gits://shithub.us/phil9/candlestick
push: hjgit://shithub.us/phil9/candlestick
patches to: telephil9@gmail.com

Last commit

8d3b580a – phil9 authored on 2022/01/27 06:04
fix mouse hover not taking scroll offset into account

About

# candlestick

A candlestick chart widget to view historical financial data.  
This has been tested with data downloaded from [yahoo finance](https://finance.yahoo.com/) (see download link at [MSFT](https://finance.yahoo.com/quote/MSFT/history?p=MSFT)). This should work with any source provided the input is a CSV file with fields in the following order: `YYYY-MM-DD`,`Open`,`High`,`Low`,`Close`.

![screenshot](candlestick.png)

Chart title is set through the `-t` parameter.  
Scrolling is performed using left and right arrows.  

## quick start
```sh
% mk install
% cat data.csv |candlestick -t 'MSFT 1Y'
```

## license
MIT