Skip to main content

Static Badge Build Status Backtesting on PyPI PyPI downloads

Minitrade - Simplifying Personal Trading

Minitrade is a personal trading system that combines strategy backtesting and automated order execution. Leveraging the power of Backtesting.py, Minitrade offers an array of enhanced features:

  • Multi-asset rebalance strategy backtest: Explore and optimize your trading strategies across various assets.
  • Automated strategy execution and order submission: Seamlessly execute your trading strategies and submit orders automatically.
  • Web-based management UI: Access a user-friendly web interface to manage and monitor your trading activities.
  • Streamlined mobile notifications and control: Stay informed and in control with mobile notifications for important trading events.

With Minitrade, setting up your private and fully automated stock trading system is easy and affordable.

Installation

$ pip install minitrade
$ minitrade init

Minitrade requires python >= 3.10. Rerun "minitrade init" after every Minitrade upgrade. For detailed installation instructions, refer to the Installation section on the website.

Usage

Backtesting

Minitrade backtesting

Trading

Minitrade web UI - history
Minitrade web UI - orders

See more in Documentation.

Limitations

Please be aware of the following limitations:

  • Multi-asset strategies currently support long positions and market orders only.
  • Linux and Mac platforms are currently supported.
  • Daily bar data is currently supported.
  • Interactive Brokers is the supported broker.

Contributing

Check out the guidelines on how to contribute to the project. Or star the project so others can find it!

Stargazers over time

License

AGPL-3.0

Release files for minitrade 0.1.40

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minitrade 0.1.40
File Size Uploaded
minitrade-0.1.40.tar.gz 250.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for minitrade 0.1.40
File Interpreter ABI Platform
minitrade-0.1.40-py3-none-any.whl Python 3 none any Details

Total release size: 521.4 kB

Release files / minitrade-0.1.40.tar.gz

Download URL minitrade-0.1.40.tar.gz
Size 250.6 kB
Tags Source
SHA-256 checksum
How to use checksums
95b6fe2dfd85818d574d58b20da3c5224c43cf6d6b230de86c7291dbcf660d2f
BLAKE2b-256 checksum
How to use checksums
fb5eaf38141c731ba87d1a37d4129a56ebcdf4bc134093d7b3d21ad41182701f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.11.3 Darwin/23.5.0

Release files / minitrade-0.1.40-py3-none-any.whl

Download URL minitrade-0.1.40-py3-none-any.whl
Size 270.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0e512a51fd4f52536a6311dff01f45d1858add7cc2f9ce66cf90970f0eae95af
BLAKE2b-256 checksum
How to use checksums
040d417f4e22ead372dd036b70fb2e2d08dc918a94b4afbabcf0d87bdfbd7b24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.0 CPython/3.11.3 Darwin/23.5.0
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page