Skip to main content

algoproven

The prop-firm rule runtime for futures bots. Execution tools send trades — AlgoProven decides whether the next trade is allowed under your exact prop-firm rules. Ask before every order: can this break my prop account?

Pure Python stdlib, no dependencies.

Install

pip install algoproven        # (publishing to PyPI soon)
# from source: cd sdk && pip install -e .

Use

from algoproven import RuleGate

gate = RuleGate()  # -> https://app.algoproven.com

v = gate.check(firm="topstep_50k", symbol="ES", qty=2, stop_ticks=12, room=1000)
print(v["decision"], "-", v["reason"])
# ALLOW - Risk $300 is within $1,000 of room - $700 left after.

# one-liner go/no-go inside your bot's order path:
if not gate.allowed(firm="topstep_50k", symbol="ES", qty=5, stop_ticks=40, room=1000):
    return  # REDUCE or BLOCK — skip the trade

gate.firms()   # -> available presets

Verdicts

decision meaning
ALLOW risk fits the room — take it
REDUCE too big — max_safe_qty tells you the largest safe size
BLOCK no safe size — tighten the stop or skip

Each verdict returns {decision, reason, max_safe_qty, proposed_risk, room, distance_to_breach}.

Inputs

  • firm — preset key (topstep_50k, apex_50k, ffn_50k; see gate.firms())
  • symbol — ES / MES / NQ / MNQ / MGC / MCL / M6E
  • qty, stop_ticks — the proposed trade; OR pass open_risk (the $ you'd lose if stopped)
  • room — $ left before breach today (daily-loss room or live distance-to-breach). Defaults to the firm's binding line.

Notes

v1 is stateless — it computes on the values you pass, holds no credentials, places no orders. Live account-state binding (real-time distance-to-breach, PayoutLock, multi-account) ships with the AlgoProven cockpit. Rules change weekly; confirm against your firm's official page.

Not affiliated with any prop firm. Not financial advice.

Metadata

Release files for algoproven 0.2.0

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

Source distribution (sdist)

Source distribution for algoproven 0.2.0
File Size Uploaded Provenance Actions
algoproven-0.2.0.tar.gz 4.6 kB Without provenance Details for algoproven-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 9.7 kB

Release files / algoproven-0.2.0.tar.gz

Download URL algoproven-0.2.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
45fd76f075fb4639f8a6b16165be2f2365c74f3b6929fcf40864aa78ad19a776
BLAKE2b-256 checksum
How to use checksums
053fd78bca10a9106ec8d2c5c3fa7dd1fbe0b2e0cddc0dd1b33f32d8fbc25387
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Release files / algoproven-0.2.0-py3-none-any.whl

Download URL algoproven-0.2.0-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
802502793b5d43af568c7ebd42031662fc17739b99bcd3957a29a72d377c9acf
BLAKE2b-256 checksum
How to use checksums
2b82fbb92bb24b17dbe654a01e3fec6e114991937dc6d3d047ac7e179756acab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.6

Security for algoproven 0.2.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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