tickrs icon indicating copy to clipboard operation
tickrs copied to clipboard

Custom user data source (CSV/JSON) instead of from Yahoo?

Open NLKNguyen opened this issue 4 years ago • 1 comments

Hi,

Thanks for your work. It's amazing. I've been looking for candlestick chart in the terminal for so long. Is there any way to provide my own OHLC data in a common format such as CSV and JSON? An example use case is to show technical analysis in history, and therefore recent tickers are not needed.

Just a way to show a static candlestick chart is enough. Something like this would be nice:

cat ohlc.json | tickrs --candlestick

NLKNguyen avatar Nov 24 '21 05:11 NLKNguyen

Great suggestion! We could define a simple format that would be easy to deserialize and feed the charts. User could provide candle data or series data (if supplying TA data).

I've got "scrolling" working with the Kagi chart, and we'd definitely want to leverage that for a feature like this. Adding zooming would be nice so the user can control the level of precision for looking at the data.

I don't have much free time these days, but once I find some, I'll try to add in this feature.

tarkah avatar Nov 24 '21 16:11 tarkah