Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 763 Bytes

File metadata and controls

24 lines (20 loc) · 763 Bytes
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