tarkah / tickrs

Realtime ticker data in your terminal 📈
MIT License
1.16k stars 58 forks source link

add candlestick chart #75

Closed tarkah closed 3 years ago

tarkah commented 3 years ago

resolves https://github.com/tarkah/tickrs/discussions/30

tarkah commented 3 years ago

@miraclx Ok, I think this feature is ready to go! Can you help test it out?

You can toggle between chart types with 'c' or pass --candle flag or set candle: true in the config for candlestick on startup. Y and X axis labels are identical between the two graphs. Toggling between you can definitely tell it's being graphed accurately. There should always be a line touching the high and low end (except for when prev-close line is being graphed and above / below the day's high / low).

Let me know what you think!

miraclx commented 3 years ago

No border axis when loading data

Screenshot_20210219_021032 Screenshot_20210219_020838
candle stick chart view line chart view
tarkah commented 3 years ago

@miraclx I was just fixing that when you commented :) try now. It should render identically when loading / no data between line and candle now