Python SDK for the Architect trading platform and brokerage.
Project description
architect_py
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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
38c6ee5ac011c0a3da56546c2c40781cd9b8ece7abc16253dd71b4ca631891d9
|
|
| MD5 |
2ae32b5ea1c44a58df62c18eea5688de
|
|
| BLAKE2b-256 |
5aa4656b6849a5b62744ffca874d8f797084d40e83c522620e92a674f7e5fc69
|
File details
Details for the file architect_py-5.9.5-py3-none-any.whl.
File metadata
- Download URL: architect_py-5.9.5-py3-none-any.whl
- Upload date:
- Size: 249.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83b334977280c3c58a84375d537424a8f8857607f513baf8392d93a54aead8a0
|
|
| MD5 |
3c68808d8eb060aa2ccb05931bc27abd
|
|
| BLAKE2b-256 |
2f99471481e3b0626081274229e9e132d67316c7204b183a7d615afaa1b701ec
|