Read Me
Visualizing Stocks
vistock
is an open source package that provides a lot of plot() functions for visualizing stocks. For those who just want to use it directly without knowing too many details, I also provide a Colab notebook file, which can be used to plot stock charts you want after simply filling out parameters on the Colab Forms.
Website: vistock.netlify.app (or vistock.vercel.app)
Usage demo:
Test code: github.com/yorkjong/vistock/tree/main/tests
Documentation: vistock.netlify.app/modules.html (or vistock.vercel.app/modules.html)
Source code: github.com/yorkjong/vistock
Bug reports: github.com/yorkjong/vistock/issues
Getting Started on Colab
Click vistock_demo.ipynb to open it in Colab.
Sign in your Google account if required.
Follow the steps in the demonstration video below.
~Install vistock from GitHub~
~Click the ► button to start install~
~We can see
[ ]
symbol at the begin of a cell. It will be changed to ► button while the mouse cursor over it.~
Fill parameters of a form.
Manually click ► button (means “start run”) to plot a chart.
The vistock will be installed automatically if it is not done yet.
After running a cell manually, it will auto-run if you change the selected parameter value.
Dive into it on your computer.
Install vistock from GitHub
git clone https://github.com/yorkjong/vistock.git
Run a test code.
There are two test code in
vistock/tests
folder.test_plotly.py – for Plotly version
test_mpl.py – for mplfinance version
Run a test code:
cd vistock/tests python test_plotly.py
This test code will show stock charts and save them into interactie html files. You can double-clicked a output file to open it on your browser.
Enjoy the demo code. The demo code called vstock_demo.ipynb. You can open it on your Jupyter Notebook environment.