Skip to main content

A personal automated trading system

Project description

Static Badge Build Status Backtesting on PyPI PyPI downloads

Minitrade

Minitrade is a personal trading system that supports both strategy backtesting and automated order execution. It builds on top of Backtesting.py, and provides enhanced features such as:

  • Multi-asset rebalancing strategy backtest
  • Automated strategy execution and order submission
  • Web-based management UI
  • Notification and control on mobile

With Minitrade, you can set up a private and fully automated stock trading system for as low as $5/mo.

Installation

$ pip install minitrade
$ minitrade init

Minitrade requires python=3.10.*. Check out Installation for more details.

Usage

Backtesting

Minitrade backtesting

Trading

Minitrade web UI - history
Minitrade web UI - orders

See more in Documentation.

Limitations

As a backtesting framework:

  • Multi-asset strategy only supports long positions and market order.

As a trading system:

  • Tested only on Linux
  • Support only daily bar
  • Support only long positions
  • Support only Interactive Brokers

Contributing

Check out how to contribute.

License

AGPL-3.0

Project details


Download files

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

Source Distribution

minitrade-0.1.26.tar.gz (222.4 kB view hashes)

Uploaded Source

Built Distribution

minitrade-0.1.26-py3-none-any.whl (234.9 kB view hashes)

Uploaded Python 3

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