wywly / TerminalCharts

plot native historical ohlc data as japanese candles, runs on terminal, written in c

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1)Compile
gcc -o tcharts TerminalCharts.c -lncurses
2)Download ohlc data from respective website as csv and then Ctrl+A and Ctrl+V to textfile.

NSE Historical Index Data NSE Historical Contract-wise

3)Run respective for Japaneese Candlestick / Bar pattern (replace "NIFTY" with file saved earlier).
./offline -s candle NIFTY
./offline -s bar NIFTY
4)Create live market data (use "rand" file created now in above code).
gcc -o randt randt.c -lpthread
5)Run live market data (under progress)
./live.sh

About

plot native historical ohlc data as japanese candles, runs on terminal, written in c


Languages

Language:C 96.8%Language:Shell 3.2%