LiuAlgoTrader is a scalable, multi-process ML-ready framework for effective algorithmic trading. The framework simplify development, testing, deployment, analysis and training algo trading strategies. The framework automatically analyzes trading sessions, and the analysis may be used to train predictive models.
LiuAlgoTrader can run on a laptop and hedge-on-the-go, or run on a multi-core hosted Linux server and it will automatically optimize for best performance for either.
LiuAlgoTrader uses Alpaca.Markets brokerage APIs for trading, and can use either Alpaca or Polygon.io for stocks' data. The framework is evolving to support additional brokers and data-providers.
LiuAlgoTrader comes equipped with powerful & user-friendly back-testing tool.
Starterplan and above),
Step 1: To install LiuAlgoTrader just type:
pip install liualgotrader
Having issues installation? check out the installation FAQ page
Step 2: To configure the frame work type:
and follow the installation wizard instructions. The wizard will walk you through the configuration of environment variables, setup of a local dockerized PostgreSQL and pre-populate with test data.
quickstart wizard installs samples allowing a first-time experience of the framework. Follow the post-installation instructions, and try to back-test a specific day.
Additional samples can we found in the examples directory.
While Liu is first and foremost a trading platform, it comes equipped with full back-testing capabilities, providing command-line tool & jupyter notebook for analysis, and a browser-based UI covering both functionalities.
These features are still work in process:
The framework includes a wide ranges of analysis
Jupyter Notebooks, as well as
streamlit applications for analysis for both trading and back-testing sessions. To name a few of the visual analytical tools:
Read the documentation and learn how to use LiuAlgoTrader to develop, deploy & testing money making strategies.
LiuAlgoTrader is an ever evolving platform, to glimpse the concepts, thoughts and ideas
visit the design folder and feel free to comment.
Would you like to help improve & evolve LiuAlgoTrader? Do you have a suggestion, comment, idea for improvement or a have a wish-list item? Please read our Contribution Document or email me at [email protected]
Special thanks to the below individuals for their comments, reviews and suggestions: