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.5.tar.gz (144.3 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.5-py3-none-any.whl (249.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for architect_py-5.9.5.tar.gz
Algorithm Hash digest
SHA256 38c6ee5ac011c0a3da56546c2c40781cd9b8ece7abc16253dd71b4ca631891d9
MD5 2ae32b5ea1c44a58df62c18eea5688de
BLAKE2b-256 5aa4656b6849a5b62744ffca874d8f797084d40e83c522620e92a674f7e5fc69

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for architect_py-5.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 83b334977280c3c58a84375d537424a8f8857607f513baf8392d93a54aead8a0
MD5 3c68808d8eb060aa2ccb05931bc27abd
BLAKE2b-256 2f99471481e3b0626081274229e9e132d67316c7204b183a7d615afaa1b701ec

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