# gbeced/pyalgotrade

Python Algorithmic Trading Library

Repository: https://github.com/gbeced/pyalgotrade
Canonical: https://ross.abutalabs.com/products/pyalgotrade
Homepage: http://gbeced.github.io/pyalgotrade/
Language: Python
License: NOASSERTION
License Family: other
Archived: true
Last push: 2023-11-13T07:16:00+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5293, "days_push": 1024, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 4670, forks 1387 (observed 2026-08-28T04:08:56.632729+00:00)

## What it is
PyAlgoTrade is an event-driven Python library for algorithmic trading with a focus on backtesting strategies against historical data, plus paper and live trading via Bitstamp. It provides technical indicators, performance metrics like Sharpe ratio and drawdown analysis, and TA-Lib integration.

## Use cases
- backtest a trading strategy on historical CSV data
- evaluate strategy performance with Sharpe ratio and drawdown metrics
- paper trade a Bitcoin strategy on Bitstamp
- compute technical indicators like SMA, RSI, and Bollinger Bands
- profile trading events to refine strategy ideas
- run live trading strategies for Bitcoin

## When to choose
- you want a simple, well-documented Python backtesting library for trading strategies
- you need event-driven backtesting with common order types and technical indicators
- you want to trade Bitcoin via Bitstamp in Python

## When to avoid
- you need an actively maintained project - it is deprecated in favor of Basana
- you need modern Python version support or recent exchange integrations
- you need equities live trading or broker integrations beyond Bitstamp

## Facets
- artifact type: library
- maturity: abandoned
- function: trading, simulation, data-visualization, streaming
- domain: fintech, data-science
- platform: python, cross-platform
- tags: algorithmic-trading, backtesting, paper-trading, live-trading, technical-indicators, bitcoin, deprecated, automation

## Member repositories
- gbeced/pyalgotrade (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:56.632729+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:19:23.439836+00:00, confidence not recorded.
  - readme: https://github.com/gbeced/pyalgotrade (fetched 2026-08-28T04:08:56.632729+00:00, sha b550ca74bc17)
  - homepage: http://gbeced.github.io/pyalgotrade/ (fetched 2026-08-29T09:03:39.125878+00:00, sha 2c6a3f30b3f3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
