Skip to main content

a Pythonic all-batteries-included framework for effective algorithmic trading. The framework is intended to simplify development, testing, deployment and evaluating algo trading strategies.

Project description

LiuAlgoTrader

Build Status PyPI - Python Version Python 3 Updates Documentation Status Tested with Hypothesis Gitter Sourcery codecov

Introduction

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, hyper-parameters optimization, 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.

See LiuAlgoTrader in Action

LiuAlgoTrader comes equipped with powerful & user-friendly back-testing tool.

Quickstart

Prerequisite

Install & Configure

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:

liu quickstart

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.

Note for WINDOWS users

Try the samples

LiuAlgoTrader 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.

Back-testing

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.

Machine Learning

These features are still work in process:

Analysis & Analytics

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:

  • tear-sheet analysis,
  • gain&loss analysis,
  • anchored-VWAPs,
  • indicators & distributions

What's Next?

Read the documentation and learn how to use LiuAlgoTrader to develop, deploy & testing money making strategies.

Watch the Evolution

LiuAlgoTrader is an ever evolving platform, to glimpse the concepts, thoughts and ideas visit the design folder and feel free to comment.

Contributing

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 amor71@sgeltd.com

Contributors

Special thanks to the below individuals for their comments, reviews and suggestions:

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

liualgotrader-0.3.18.tar.gz (68.2 kB view details)

Uploaded Source

File details

Details for the file liualgotrader-0.3.18.tar.gz.

File metadata

  • Download URL: liualgotrader-0.3.18.tar.gz
  • Upload date:
  • Size: 68.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.1

File hashes

Hashes for liualgotrader-0.3.18.tar.gz
Algorithm Hash digest
SHA256 04dbc4ccdd81156461200307b1824d50e21dd005559efd868dbccf8f8e73c9f9
MD5 16b90c62f806c1eebb1cb3640c8ea40b
BLAKE2b-256 0b1a8c5d57ff683c507b174a527f75aad940b07694ac560262b6e92674e4499c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page