Architect Documentation
  • User Guide
  • SDK Documentation
  • Algos Book
  • Introduction
  • Creating an API key
  • Getting started with Python
  • Getting started with Rust
  • Concepts
    • Symbology
    • Orderflow
    • Accounts and portfolio management
    • Systems and connectivity diagram
    • Authentication
  • SDK Reference
    • Symbology and instrument info
    • Marketdata
    • Order entry
    • Order management
    • Portfolio management
Powered by GitBook
On this page
  • Installation
  • Example

Getting started with Rust

PreviousGetting started with PythonNextSymbology

Last updated 2 days ago

Installation

cargo add architect-api
cargo add architect-sdk

Example

use anyhow::Result;
use architect_sdk::Architect;

#[tokio::main]
async fn main() -> Result<()> {
    let client = Architect::connect("<api key>", "<api secret>").await?;
    Ok(())
}
GitHub - architect-xyz/architect-sdk: Read-only public source mirror of the `architect-sdk` crateGitHub
Logo