maxwillzq / algoTrading

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

algoTrading

install pandoc

sudo apt get install pandoc

=======

User guide

Developer guide

Run command

python setup.py develop

Then run the algoTrading at_run command line interface to see help message

at_run --help

You can use unittest to pick specific test to run.

For example:

python -m unittest algotrading.utils.plotting_test.test_plot_price_density

Profiling

here we use cProfile for profiling and snaviz for visualization. see the link

python3 -m cProfile -o test.cprofile  ./algotrading/scripts/draw_single_plot.py --config /Users/johnqiangzhang/Documents/open_source/algoTrading/algotrading/scripts/save_visualization/input_config.yaml
snakeviz test.cprofile 

cprofilev is also good.

pip install cprofilev

then

cprofilev -f test.profile 

CLI

jupyter notebook

Assume you have the python virtual enviroment whose name is develop_py. source ~/Documents/develop_py/bin/activate

python -m ipykernel install --user --name=develop_py
jupyter notebook

Docker env

You can create the docker image based on the docker file.

Or use the docker composite

docker-compose up --build

About

License:GNU General Public License v3.0


Languages

Language:Jupyter Notebook 95.9%Language:Python 4.0%Language:Shell 0.0%Language:Jinja 0.0%Language:Dockerfile 0.0%