Blockhouse
    • Home
    • Quickstart
    • Tutorial Videos
      • SDK Walkthrough
      • Algorithm Products Walkthrough
      • Connecting with Lime
      • Connecting with Interactive Brokers
  • Core Product
    • Platform Architecture Overview
    • How to Send Your Data
    • Visualizing Trade Insights: Pre & Post-Trade Dashboards
    • Analyzing Trades with TCA Reports
    • Smart Order Routing & Execution Algorithms
  • Asset Classes
    • Fixed Income
      • Data Schemas & Execution Formats
      • Standards and Conventions
      • Venues and Datasets
    • Equities
      • Data Schemas & Execution Formats
      • Standards and Conventions
      • Venues and Datasets
    • Crypto
      • Data Schemas & Execution Formats
      • Standards and Conventions
      • Venues and Datasets
  • API Reference
    • Execution API
      • Introduction & Installation
      • Managing Orders
      • Full SDK Example & Notes
  • FIX API
    • About FIX API
Powered by GitBook
On this page
  • Overview
  • 2. Getting Started
  1. API Reference
  2. Execution API

Introduction & Installation

Overview

The Blockhouse SDK provides a seamless interface to interact with the Alpaca Trading API.

Schedule trades Update trades Cancel trades

Installation

To install the Blockhouse SDK, run:

pip install blockhouse

This installs all required dependencies, including requests.


2. Getting Started

Initialization

To start using the SDK, import TradeClient and initialize it with your API key.

from blockhouse import TradeClient
client = TradeClient("your_api_key")
PreviousExecution APINextManaging Orders

Last updated 1 month ago