$ pip install -r requirements.txt
$ pip install setup.py
This project includes a number of helpers in the Makefile
to streamline common development tasks.
The following demonstrates setting up and working with a development environment:
### create a virtualenv for development
$ make virtualenv
$ source env/bin/activate
### run jtrader cli application
$ jtrader --help
### run pytest / coverage
$ make test
Get Current Market Momentum Statistics
This command will output market momentum statistics to a CSV and/or slack
More information: jtrader get-mm-stats --help
Get Pre-Market Momentum Statistics
This command will output pre-market momentum statistics to a CSV and/or slack
More information: jtrader get-pmm-stats --help
Get High Quality Momentum Statistics
This command will output high quality market momentum statistics to a CSV and/or slack
More information: jtrader get-hqm-stats --help
Get Deep Value Statistics
This command will output deep value stocks to a CSV and/or slack
More information: jtrader get-value-stats --help
Start Worker
Starts the background worker to populate the DB with stock prices
More information: jtrader start-worker --help
Start Stock Scanner
Starts the stock scanner, returning bearish or bullish results depending on configuration
More information: jtrader start-scanner --help
Start Intraday Stock Scanner
Starts the intraday stock scanner, returning bearish or bullish results depending on configuration
More information: jtrader start-intraday-scanner --help
Start News Stream
Starts the background news stream process, outputting to the specified notification platform
More information: jtrader start-news-stream --help
Start a Backtest against a specific algorithm/s
Starts the zipline backtest using buy/sell strategies provided
More information: jtrader start-backtest --help
Start the trader
Starts the trader and print out buy/sell signals on all indicators
More information: jtrader start-trader --help
Included is a basic Dockerfile
for building and distributing JTrader
, and can be built with the included make
helper:
$ make docker
$ docker run -it jtrader --help