Skip to main content

Aptrade

Another Python library for backtesting built on top of Backtrader.

This project is my attempt to combine my interests in algorithmic trading, data science, and software engineering. It is inspired by the need for a robust framework to backtest trading strategies using Python, while also providing a user-friendly and modern interface for analysis and visualization.

You might be asking why not using X or Y, that is already a mature library with a large community. The answer is simple: I like tweaking and experimenting with new ideas, and I want to learn more about the inner workings of backtesting frameworks. I hope this learning experience can be useful for others as well.

Inspiration and Why this project exists

This will be heavily inspired by the following projects:

For the real deal, please use the above projects, as they are more mature and have a larger community. This project is more of a learning experience for me, and I hope it can be useful for others as well.

GNU v3 (See LICENSE)

Warning:

Absolutely no warranty is implied with this product. Use at your own risk.

No guarantee is provided that it will be profitable, or that it won't lose all your money very quickly.

All financial trading offers the possibility of loss. Leveraged trading, such as futures trading, may result in you losing all your money, and still owing more. Backtested results are no guarantee of future performance. The owners of the project can take no responsibility for any losses caused by live trading using Aptrade. Use this for educational purposes only. The owners of the project are not currently registered or authorised by any financial regulator.

Metadata

Release files for aptrade 0.0.4

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

Source distribution (sdist)

Source distribution for aptrade 0.0.4
File Size Uploaded Provenance Actions
aptrade-0.0.4.tar.gz 3.2 MB With provenance Details for aptrade-0.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 3.9 MB

Release files / aptrade-0.0.4.tar.gz

Download URL aptrade-0.0.4.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
7d72d967269d11316aaceb135f32162b98d2eae661cede85e39a0a88084263de
BLAKE2b-256 checksum
How to use checksums
78665a495481b89e7312b7f8622327a007d46ef62576a91d535d28480d08dba9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.

Transparency log

Release files / aptrade-0.0.4-py3-none-any.whl

Download URL aptrade-0.0.4-py3-none-any.whl
Size 716.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7ee6904991bad5407886ebd95c33f92b85dba313c55e4a3cab486c763053da99
BLAKE2b-256 checksum
How to use checksums
213092831a6f6616981f25774bb22810b0170b76d602305b43b6e241441cee25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.

Transparency log

Security for aptrade 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for aptrade-0.0.4.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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