Skip to main content

A Python-based platform for developing, optimising and deploying automated trading systems.

Project description

AutoTrader Logo

AutoTrader

Latest version Total downloads Monthly downloads Build Status

AutoTrader is Python-based platform intended to help in the development, optimisation and deployment of automated trading systems. From simple indicator-based strategies, to complex non-directional hedging strategies, AutoTrader can do it all. If you prefer a more hands-on approach to trading, AutoTrader can also assist you by notifying you of price behaviour, ensuring you never miss a signal again. A basic level of experience with Python is recommended for using AutoTrader, but the website aims to make using it as easy as possible with detailed tutorials.

Features

Installation

AutoTrader can be installed using pip:

pip install autotrader

Updating

AutoTrader can be updated by appending the --upgrade flag to the install command:

pip install autotrader --upgrade

Documentation

AutoTrader is well documented on the project website. There is also a detailed Quick Start Guide.

Example Strategies

Example strategies can be found in the demo repository. You can also request your own strategy to be built here.

Backtest Demo

The chart below is produced by a backtest of the MACD trend strategy documented in the tutorials (and available in the demo repository). Entry signals are defined by MACD crossovers, with exit targets defined by a 1.5 risk-to-reward ratio. Stop-losses are automatically placed using the custom swing detection indicator, and position sizes are dynamically calculated based on risk percentages defined in the strategy configuration file.

Running this strategy with AutoTrader in backtest mode will produce the following interactive chart.

MACD-backtest-demo

Note that stop loss and take profit levels are shown for each trade taken. This allows you to see how effective your exit strategy is - are you being stopped out too early by placing your stop losses too tight? Are you missing out on otherwise profitable trades becuase your take profits are too far away? AutoTrader helps you visualise your strategy and answer these questions.

Legal

License

AutoTrader is licensed under the GNU General Public License v3.0.

Disclaimer

This platform is currently under heavy development and should not be considered stable for livetrading until version 1.0.0 is released.

Never risk money you cannot afford to lose. Always test your strategies on a paper trading account before taking it live.

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

autotrader-0.6.0.tar.gz (3.9 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

autotrader-0.6.0-py3-none-any.whl (100.3 kB view details)

Uploaded Python 3

File details

Details for the file autotrader-0.6.0.tar.gz.

File metadata

  • Download URL: autotrader-0.6.0.tar.gz
  • Upload date:
  • Size: 3.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for autotrader-0.6.0.tar.gz
Algorithm Hash digest
SHA256 c0ee057851d3d297b441aaca4438af618a3897e1d58f3bf73bf3ec8899643b69
MD5 82dc9cccc9cba7c316dd432cfd6e2452
BLAKE2b-256 1f08a15db16bb3ef28f84a72058a4d625453933602f13a9a4ebb9a575e64acac

See more details on using hashes here.

File details

Details for the file autotrader-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: autotrader-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 100.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for autotrader-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2b5acf82424126677ad07e9d373565e241a5bf056c9803a9e1fe096d19d9837e
MD5 55c27fd9609f12ed6243e5ef1edb9994
BLAKE2b-256 14348f4460da59ad251b8d17ed9a9c36b76de9d06c1e94fcc28c96c1fbfebb95

See more details on using hashes here.

Supported by

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