Markets and trading · Independent · 23 Oct 2026

twelvedata/twelvedata-python

Twelve Data Python Client - Financial data API & WebSocket

← Markets and trading

In simple English

This library lets Python programs talk to the Twelve Data service. You can download historical prices for stocks, currencies, and cryptocurrencies. It also draws charts and calculates technical indicators like moving averages. You need an active API key from the Twelve Data website, which may require a paid plan. The library itself is free to use.

What it is

An official Python wrapper for the Twelve Data financial API and WebSocket feeds. It handles authentication, data formatting, and integrates with data analysis tools.

What it is good for

Solo builders who are writing trading bots or financial dashboards in Python and want to fetch market data without writing raw HTTP requests.

Stars790
LicenceMIT
LatestNo tagged releasechecked 23 Oct 2026
Last code change2026-08-12
Written inPython
Setup effort
2 / 5
Payoff
4 / 5
Good
  • Supports pandas DataFrames for easy data analysis.
  • Includes helper methods for over 100 technical indicators.
  • Provides real-time streaming using WebSockets.
Watch for
  • Requires an external paid API subscription for full features.
  • WebSockets require a Pro plan or above.
  • Heavy dependency tree if you install all optional chart libraries.
Replaces

Writing raw requests calls to fetch financial market data

Works well with

pandas

Similar repositories
  • ranaroussi/yfinance26k stars

    Downloads market data from Yahoo Finance without requiring an API key.

  • ccxt/ccxt45k stars

    Connects to over a hundred cryptocurrency exchanges for trading and data.

Also reviewed on Repo Radar
  • jesse-ai/jesse8.7k stars

    A Python framework for writing crypto trading strategies, testing them against past prices, and running them live.

  • hummingbot/hummingbot20k stars

    A free framework for writing and running automated trading programs on cryptocurrency exchanges.

  • lballabio/QuantLib7.7k stars

    The long-established free library for pricing and risk-managing financial instruments.

Install
source venv/bin/activate
pip install twelvedata[pandas,matplotlib,plotly,websocket-client]

Independent: reviewed for Repo Radar outside the daily editions. Every independent repository

On Stack Radar: Trading & Investing › Market Data & Connectivity › Market Data APIs.

Get the next edition in your inbox

A dozen repositories, opened and checked. The licence read, the last release dated, and the ones that did not make it named with the reason. It is the half most lists leave out.

No tracking pixels. One click to leave. The archive stays free either way.

We use your address to send the edition and nothing else. Confirm by email, leave in one click. How we handle it.