This is a tool to render / visualize stock market chart using the OLHC of a symbol
preview_video.mp4
The installation instructions for this project is solely restricted to Linux
environments.
- Download the latest release / v5.5 of RayLib at
./raylib/
. - A C compiler
Build nob.c
using a C compiler
gcc -o nob nob.c
Following that, build the main.c
using the nob executable
./nob
Finally, run the main
executable
./main
This project is heavily dpendent on the nob build tool. If you encounter problems in the above instructions, you have to update the nob.c
and change the include path and library path (I./<<PATH TO RAYLIB.H FILE>>
and -L./<<PATH TO LIBRAYLIB.SO>>
) respectively.
Also if you are using a C complier apart from GCC, you have to update it in the same file in the cc
function.
There are some options that you can customize to change the view of the tool.
You can define colors / schemes in the marsim.h
header file.
[TODO]
This project is not complete at the moment. The following are the planned features for future releases
- Scale on X-Axis
- Highlight last candle price on the Y-Axis
- Project cursor position on the axes
- Realtime graph update for the latest candlestick.
- Auto panning
- Improve the Data generation logic and build system
- Add more color schemes
- Have a Sidebar with Symbol Details
- More time frames
- More Candle types