Skip to main content

Python SDK for the Architect trading platform and brokerage.

Project description

Architect architect_py

PyPI version

A fully-featured Python SDK for trading on Architect.

Just some of the features of this SDK: symbology, portfolio management, order entry, advanced algos, and marketdata subscriptions.

Also, it is compatible with Jupyter notebooks! Check the examples for an example notebook.

Installation

  • pip: pip install architect-py
  • poetry: poetry add architect-py
  • uv: uv add architect-py

API keys for the brokerage

API keys/secrets for the brokerage can be generated on the user account page.

Method catalog

Go to FUNCTIONS.md file to see a catalog of methods.

Examples

Go to the Examples to see examples of a variety of common use cases. To run a specific example, use e.g. python -m examples.orderflow_streaming.

Documentation

See the Getting started with Python guide for more information.

Imports

In general, most types in the package can be imported from the top-level; in rare cases, some types may come from GraphQL and need to be imported from architect_py.graphql_client.fragments.

from architect_py import *  # includes both AsyncClient and Client
from architect_py.graphql_client.fragments import (
    ExecutionInfoFields,
    ProductInfoFields,
)

Using an LLM or an IDE with code completion like VSCode or PyCharm can be very helpful.

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

architect_py-5.9.10.tar.gz (151.0 kB view details)

Uploaded Source

Built Distribution

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

architect_py-5.9.10-py3-none-any.whl (262.9 kB view details)

Uploaded Python 3

File details

Details for the file architect_py-5.9.10.tar.gz.

File metadata

  • Download URL: architect_py-5.9.10.tar.gz
  • Upload date:
  • Size: 151.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.6

File hashes

Hashes for architect_py-5.9.10.tar.gz
Algorithm Hash digest
SHA256 2af87570fbf1d3aa320b62c9af5c789444a6881a7026a9f7ba408dee36add459
MD5 6a091622a6ccca0aebafe51b6eb85d95
BLAKE2b-256 41feec14cb968fa1291bce7b608db84ea5f1e1da214fc71e373e50b7442fd212

See more details on using hashes here.

File details

Details for the file architect_py-5.9.10-py3-none-any.whl.

File metadata

File hashes

Hashes for architect_py-5.9.10-py3-none-any.whl
Algorithm Hash digest
SHA256 c27bf56fb0db6234f3b4f5e0be580fa96f7b4edd20ac4e854fc27a47da0677dd
MD5 014deb803c34112c731898e05555d498
BLAKE2b-256 dc2f9d527e6413a8351b1ebd15e036119f7654852428724fbe4bb818fe1f9a50

See more details on using hashes here.

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