Skip to main content

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

docs.sequencemkts.com/sdks/python

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sequence_markets-0.4.0.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sequence_markets-0.4.0-py3-none-any.whl (23.8 kB view details)

Uploaded Python 3

File details

Details for the file sequence_markets-0.4.0.tar.gz.

File metadata

  • Download URL: sequence_markets-0.4.0.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for sequence_markets-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0f510955c7197a32a7001f9bc12e17deabbaf99f87e09ea83fdfef42ef00ecc6
MD5 b0f0880016a5b260cf81bad2b5ec75f2
BLAKE2b-256 3e1729849650ce108d5f688e1a4244c17aa9bb8e5025edc87255a1cfa23e311f

See more details on using hashes here.

Provenance

The following attestation bundles were made for sequence_markets-0.4.0.tar.gz:

Publisher: release-py-sdk.yml on Bai-Funds/execution-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sequence_markets-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sequence_markets-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2ae58f82f8fde9356742f53f86c94ee52cbb1b33c36aa038111fe2b787bc642
MD5 d3da6a32b0f412f63f6d9c2a8c06802a
BLAKE2b-256 11521c5db1a5aae872262d804d2d9e2d91d1b147cecf6f3b0dcf230e91c6e937

See more details on using hashes here.

Provenance

The following attestation bundles were made for sequence_markets-0.4.0-py3-none-any.whl:

Publisher: release-py-sdk.yml on Bai-Funds/execution-engine

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page