GNAT

GNAT is NOT Algorithmic Trading!

GNAT is a financial tool with two goals in mind:

  1. To provide a dashboard with the detailed stock/crypto information of your choice.
  2. To provide confidence in the Harvest framework which GNAT heavily relies on.

How to use

pip install -r requirements.txt
python gnat.py
-OR-
python gnat.py my_config.yaml

Input the requested information and then go to localhost:8050 to see the dashboard.

How it works

On start, GNAT asks the user what assets they want to watch for. Then GNAT will ask for some Harvest related configurations. Finally GNAT will start. Both the assets and Harvest configurations can be saved into a yaml file that GNAT can read in.

GNAT runs three threads:

  1. One thread runs the Dash server on port 8050. This is where the all the visuals are.
  2. Another thread run Harvest which fetches the stock/crypto data.
  3. The last thread listens to user input which allows users to buy and sell assets in a limited capacity.

How its made

GNAT is build off of Harvest and Dash. Harvest is an algorithmic trading framework that supports multiple brokers and Dash is a tool to create awesome plots and data driven web application.

GitHub

View Github