Skip to main content

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.

Metadata

Release files for architect-py 5.9.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for architect-py 5.9.10
File Size Uploaded Provenance
architect_py-5.9.10.tar.gz 151.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for architect-py 5.9.10
File Interpreter ABI Platform
architect_py-5.9.10-py3-none-any.whl Python 3 none any Details

Total release size: 413.9 kB

Release files / architect_py-5.9.10.tar.gz

Download URL architect_py-5.9.10.tar.gz
Size 151.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2af87570fbf1d3aa320b62c9af5c789444a6881a7026a9f7ba408dee36add459
BLAKE2b-256 checksum
How to use checksums
41feec14cb968fa1291bce7b608db84ea5f1e1da214fc71e373e50b7442fd212
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.6

Release files / architect_py-5.9.10-py3-none-any.whl

Download URL architect_py-5.9.10-py3-none-any.whl
Size 262.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c27bf56fb0db6234f3b4f5e0be580fa96f7b4edd20ac4e854fc27a47da0677dd
BLAKE2b-256 checksum
How to use checksums
dc2f9d527e6413a8351b1ebd15e036119f7654852428724fbe4bb818fe1f9a50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.6

Security for architect-py 5.9.10

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

5.9.10 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page