🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

architect-py

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

architect-py

Python SDK for the Architect trading platform and brokerage.

5.5.0
PyPI
Maintainers
2

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts