Skip to main content

The Official Python SDK for Alpaca APIs

Project description

Alpaca-py

Downloads Python Versions GitHub PyPI

About

Alpaca-py provides an interface for interacting with the various REST and WebSocket endpoints Alpaca offers. You can access both historical and live market data for equities and cryptocurrencies via the Market Data API. You can place trades for both crypto and equities through a uniform interface. Alpaca-py also offers the ability to manage your Broker API account by creating accounts, managing funds, and more.

Learn more about the API products Alpaca offers.

Note: AlpacaPy is in the very early stages of alpha development and is not production ready. Currently AlpacaPy interfaces with only the Market Data API, however the other APIs are coming soon.

Installation

Alpaca-py is supported on Python 3.8+. You can install Alpaca-py using pip.

Run the following command in your terminal.

  pip install alpaca-py

Dev setup

This project is managed via poetry so setup should be just running poetry install.

This repo is using pre-commit to setup some checks to happen at commit time to keep the repo clean. To set these up after you've run poetry install just run poetry run pre-commit install to have pre-commit setup these hooks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

alpaca-py-0.4.0.tar.gz (69.6 kB view hashes)

Uploaded Source

Built Distribution

alpaca_py-0.4.0-py3-none-any.whl (85.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page