Sequence Markets Python SDK
Zero-dependency Python client for the Sequence Markets execution engine.
Install
pip install sequence-markets
Quick Start
from sequence_markets import Sequence
seq = Sequence("seq_live_...", "https://api.sequencemkts.com")
# See the market
quote = seq.quote("BTC-USD")
print(f"BTC: ${quote['nbbo']['mid']:,.2f}")
# Place an order (SOR routes across venues)
order = seq.buy("ETH-USD", 50, urgency="medium")
# Build a multi-leg graph
graph = seq.graph(
nodes=[
seq.node("spot", "ETH-USD", "buy", 200),
seq.node("hedge", "ETH-PERP", "sell", 200, instrument_type="perp"),
],
edges=[seq.edge("spot", "hedge", trigger="fill_pct", value=0.5)],
)
# Sandbox mode (simulated fills against real book)
order = seq.buy("BTC-USD", 0.001, sandbox=True)
Features
- Zero dependencies — just Python stdlib (
urllib,json) - Full product ladder — connect, quote, trade, orchestrate, automate, monitor
- Execution graphs — TWAP, bracket orders, conditional hedges
- 40+ methods — every REST API endpoint covered
- Sandbox mode — paper trading with live market data
Documentation
Metadata
Release files for sequence-markets 0.5.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sequence_markets-0.5.7.tar.gz | 23.9 kB | With provenance | Details for sequence_markets-0.5.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sequence_markets-0.5.7-py3-none-any.whl | Python 3 | none | any | Details for sequence_markets-0.5.7-py3-none-any.whl |
Total release size: 47.3 kB
Release files / sequence_markets-0.5.7.tar.gz
| Download URL | sequence_markets-0.5.7.tar.gz |
|---|---|
| Size | 23.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3789dfa787cecef3e55b8f356e5871c2c8b491d129a2b54c3c096a8c145d881b
|
|
BLAKE2b-256 checksum How to use checksums |
b7803428e76b90fbe9fa71a85e840f6bf8dded355f329d2783ce449b865d6013
|
| 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 May 9, 2026.
Transparency logRelease files / sequence_markets-0.5.7-py3-none-any.whl
| Download URL | sequence_markets-0.5.7-py3-none-any.whl |
|---|---|
| Size | 23.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
548cd8b49cd2f0bf4145b15ae1a0c30dc86aa5ebcf265f7037eff67b8b2f21b2
|
|
BLAKE2b-256 checksum How to use checksums |
73cf80db1a64f3699ada0034b3ca47fd150feebaa9116c1303d6bceaf8314ed7
|
| 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 May 9, 2026.
Transparency logSecurity for sequence-markets 0.5.7
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.
Attestation for sequence_markets-0.5.7.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 May 9, 2026.
Transparency logA 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.