Python SDK for Sequence Markets — the trading OS
Project description
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
Project details
Release history Release notifications | RSS feed
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 sequence_markets-0.1.0.tar.gz.
File metadata
- Download URL: sequence_markets-0.1.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1200f046120ecb51dd567e0478564f1072c1bb52e7cf196eb0f70af780c6a0d
|
|
| MD5 |
6021fdd2287f0f204b7298a2f8297044
|
|
| BLAKE2b-256 |
2ac77620af48204f4505dabfe234d9ba4293fea3f5ff7cf5641b6bd750a82ffc
|
Provenance
The following attestation bundles were made for sequence_markets-0.1.0.tar.gz:
Publisher:
release-py-sdk.yml on Bai-Funds/execution-engine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sequence_markets-0.1.0.tar.gz -
Subject digest:
c1200f046120ecb51dd567e0478564f1072c1bb52e7cf196eb0f70af780c6a0d - Sigstore transparency entry: 1339991754
- Sigstore integration time:
-
Permalink:
Bai-Funds/execution-engine@d8df793f5875c72abb5849b2c298d3526fef6e82 -
Branch / Tag:
refs/tags/py-sdk/v0.1.0 - Owner: https://github.com/Bai-Funds
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-py-sdk.yml@d8df793f5875c72abb5849b2c298d3526fef6e82 -
Trigger Event:
push
-
Statement type:
File details
Details for the file sequence_markets-0.1.0-py3-none-any.whl.
File metadata
- Download URL: sequence_markets-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d41e6b169c1aabcf505d1fa6dea9b23586429b5f636e6b063546f24fffa5c3d9
|
|
| MD5 |
0a6c7133b0060f271eb2c71a7fff5859
|
|
| BLAKE2b-256 |
17f50f6dc8792154dbf7ac764151c19ac802d17d897512e2d507b9365a293fad
|
Provenance
The following attestation bundles were made for sequence_markets-0.1.0-py3-none-any.whl:
Publisher:
release-py-sdk.yml on Bai-Funds/execution-engine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sequence_markets-0.1.0-py3-none-any.whl -
Subject digest:
d41e6b169c1aabcf505d1fa6dea9b23586429b5f636e6b063546f24fffa5c3d9 - Sigstore transparency entry: 1339991756
- Sigstore integration time:
-
Permalink:
Bai-Funds/execution-engine@d8df793f5875c72abb5849b2c298d3526fef6e82 -
Branch / Tag:
refs/tags/py-sdk/v0.1.0 - Owner: https://github.com/Bai-Funds
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-py-sdk.yml@d8df793f5875c72abb5849b2c298d3526fef6e82 -
Trigger Event:
push
-
Statement type: