planarjl-py
Python driver for the Planar trading framework. Planar is a Julia framework for building trading bots — backtesting, paper and live execution on 100+ exchanges through CCXT.
pip install planarjl-py gives you the planar command, which bootstraps a
Planar project and runs strategies from Python by driving the Julia engine.
The PyPI name
planaris taken by an unrelated package, henceplanarjl-py. Native strategy authoring in Python is the open milestone of issue #7; today strategies are written in Julia and executed through this CLI.
Requirements
- Julia ≥ 1.12 on
PATH(https://julialang.org/downloads/) - Python ≥ 3.10
Usage
pip install planarjl-py
# Bootstrap a project: adds the Planar registry, installs the Planar package,
# and creates the user/ layout (first run downloads packages).
planar init mybot
cd mybot
# Run a strategy in backtest (sim) mode
planar run MyStrategy --mode sim --exchange binanceusdm --sandbox
# Paper or live trading
planar run MyStrategy --mode paper
planar run MyStrategy --mode live
planar version
Strategies live in user/strategies/ and are registered in user/planar.toml:
[sources]
MyStrategy = "strategies/MyStrategy/Project.toml"
Create a strategy with the planar-provided template (see the Planar.jl docs on
strategy authoring), or copy any strategy from the
Planar.jl examples.
Development
cd planarjl-py
uv sync --extra dev # or: pip install -e .[dev]
pytest
uv build # build the sdist + wheel
Publishing
See PACKAGING.md at the repository root. CI publishes to TestPyPI on py-v*
tags and to PyPI on v* tags; the version is synced to the Planar Julia
release (same vX.Y.Z), and the workflow verifies the built wheel version
matches the tag. Auth is OIDC trusted publishing (PYPI_API_TOKEN /
TESTPYPI_API_TOKEN secrets are the token fallback):
git tag py-v1.8.0 && git push origin py-v1.8.0
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file planarjl_py-1.8.0.tar.gz.
File metadata
- Download URL: planarjl_py-1.8.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5422dd7a708b8ce88c0d19c085a4cc8a80dd45ef8da60614424b54e62e0ed89
|
|
| MD5 |
0421651ad5f0aed25bf0783c3237e314
|
|
| BLAKE2b-256 |
01345c05738c5dd659e599dbeb9a0c86681635d29e06aa05404fe7483829a395
|
Provenance
The following attestation bundles were made for planarjl_py-1.8.0.tar.gz:
Publisher:
pypi.yml on BubbleParticles/Planar.jl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
planarjl_py-1.8.0.tar.gz -
Subject digest:
c5422dd7a708b8ce88c0d19c085a4cc8a80dd45ef8da60614424b54e62e0ed89 - Sigstore transparency entry: 2431718673
- Sigstore integration time:
-
Permalink:
BubbleParticles/Planar.jl@6394bdadd7b30225929da4291ac231f151347561 -
Branch / Tag:
refs/tags/v1.8.0 - Owner: https://github.com/BubbleParticles
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@6394bdadd7b30225929da4291ac231f151347561 -
Trigger Event:
push
-
Statement type:
File details
Details for the file planarjl_py-1.8.0-py3-none-any.whl.
File metadata
- Download URL: planarjl_py-1.8.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f1fc13bab29b614fff15726b45015364faaf87534d2ef2d89c920d887133f0f
|
|
| MD5 |
e08df1ca901caa07c8a261cc1338ceb9
|
|
| BLAKE2b-256 |
bdd37b0c74078205e222b311df39a000d9032dd3217547fb4cae7a5c5b971476
|
Provenance
The following attestation bundles were made for planarjl_py-1.8.0-py3-none-any.whl:
Publisher:
pypi.yml on BubbleParticles/Planar.jl
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
planarjl_py-1.8.0-py3-none-any.whl -
Subject digest:
0f1fc13bab29b614fff15726b45015364faaf87534d2ef2d89c920d887133f0f - Sigstore transparency entry: 2431718881
- Sigstore integration time:
-
Permalink:
BubbleParticles/Planar.jl@6394bdadd7b30225929da4291ac231f151347561 -
Branch / Tag:
refs/tags/v1.8.0 - Owner: https://github.com/BubbleParticles
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@6394bdadd7b30225929da4291ac231f151347561 -
Trigger Event:
push
-
Statement type: