• Stars
    star
    637
  • Rank 70,318 (Top 2 %)
  • Language
    HTML
  • License
    Apache License 2.0
  • Created almost 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

a collection of open source server components and Python libraries for financial data projects and automated trading

TradeKit

Note: I am currently gathering feedback on what to include in this image, this is not "final". I will add more packages based on feedback and eventually freeze the versions. Let me know your thoughts. Demo Video

The goal of TradeKit is to maintain a collection of open source server components and Python libraries for building your own financial applications, data analysis tools, and trading bots. These tools are packaged in a Docker container so that anyone can easily get up and running locally and develop with these components regardless of their operating system. Once a developer has successfully built their project locally, the Docker container can easily be deployed to a server (such as VPS on DigitalOcean or a cloud provider like AWS) for production use.

Server Components

  • Debian Linux 10 - a stable and dependable linux distribution for servers
  • Python 3.8 - the most popular language for data science, analysis, and machine learning
  • PostgreSQL 12 - the world's most advanced open source database
  • TimeScaleDB 2.0 - open source time-series database built on top of PostgreSQL

Web Frameworks

  • FastAPI - FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints.
  • Flask - a lightweight, easy to learn microframework for Python web apps

Data Analysis

  • pandas - library for data analysis and manipulation of numerical tables and time series
  • NumPy - library for multi-dimensional arrays and matrices, mathematical functions
  • SciPy - modules for linear algebra, integration, FFT, signal and image processing
  • pandas-datareader - remote data access for pandas

Data Visualization

  • matplotlib - comprehensive library for creating static, animated, and interactive visualizations in Python
  • plotly - provides online graphing, analytics, and statistics tools for individuals and collaboration, as well as scientific graphing libraries for Python
  • dash - build & deploy beautiful analytic web apps using Python
  • mplfinance - matplotlib utilities for the visualization, and visual analysis, of financial data
  • jupyterlab - web-based interactive development environment for Jupyter notebooks, code, and data pillow

Technical Analysis

  • ta - Technical Analysis Library in Python based on pandas
  • TA-Lib - Python wrapper for TA-Lib
  • bta-lib - backtrader ta-lib
  • pandas-ta - Pandas Technical Analysis (Pandas TA) is an easy to use library that leverages the Pandas library with more than 120 Indicators and Utility functions
  • tulipy - Python bindings for Tulip Indicators

Database Libraries and Data Storage

  • psycopg2 - most popular PostgreSQL database adapter for the Python programming language.
  • sqlalchemy - SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.
  • redis - open source, in-memory data structure store, used as a database, cache, and message broker
  • h5py - Pythonic interface to the HDF5 binary data format

Broker APIs

  • alpaca-trade-api - python library for the Alpaca Commission Free Trading API. It allows rapid trading algo development easily, with support for both REST and streaming data interfaces.
  • python-binance - unofficial Python wrapper for the Binance exchange REST API v3
  • tda-api - tda-api is an unofficial wrapper around the TD Ameritrade APIs. It strives to be as thin and unopinionated as possible, offering an elegant programmatic interface over each endpoint
  • ib_insync - The goal of the IB-insync library is to make working with the Trader Workstation API from Interactive Brokers as easy as possible.
  • robin-stocks - simple to use functions to interact with the Robinhood Private API

Data Providers

  • intrinio-sdk - Intrinio provides US market data, company fundamentals data, options data and SEC data, powered by advanced data quality technology
  • polygon-api-client - python client for Polygon.io, provider of real-time and historical financial market data APIs
  • iexfinance - Python SDK for IEX Cloud. Easy-to-use toolkit to obtain data for Stocks, ETFs, Mutual Funds, Forex/Currencies, Options, Commodities, Bonds, and Cryptocurrencies
  • yfinance - yfinance offers a reliable, threaded, and Pythonic way to download historical market data from Yahoo! finance.
  • quandl - source for financial, economic, and alternative datasets, serving investment professionals
  • alpha-vantage - The Alpha Vantage Stock API provides free JSON access to the stock market, plus a comprehensive set of technical indicators
  • sec-edgar-downloader - package for downloading company filings from the SEC EDGAR database

Backtesting

  • backtrader - feature-rich Python framework for backtesting and trading
  • pyalgotrade - Python Algorithmic Trading Library with focus on backtesting and support for paper-trading and live-trading
  • bt - bt is a flexible backtesting framework for Python used to test quantitative trading strategies
  • backtesting - Backtesting.py is a Python framework for inferring viability of trading strategies on historical (past) data

Portfolio and Performance Analysis

  • pyfolio - library for performance and risk analysis of financial portfolios developed by Quantopian
  • finquant - program for financial portfolio management, analysis and optimisation

Web Server, Task Queue

  • uvicorn - lightning-fast ASGI server implementation
  • gunicorn - Python WSGI HTTP Server for UNIX
  • celery - simple, flexible, distributed task queue

Networking

  • requests - elegant and simple HTTP library for Python
  • boto3 - Amazon Web Services (AWS) SDK for Python. It enables Python developers to create, configure, and manage AWS services, such as EC2 and S3.
  • urllib3 - powerful, user-friendly HTTP client for Python
  • websocket-client - websocket client for python. This provide the low level APIs for WebSocket
  • websockets - library for building WebSocket servers and clients in Python

Utilities

  • beautifulsoup4 - library for screen-scraping
  • pendulum - package to assist with date and time manipulation
  • click - package for creating beautiful command line interfaces in a composable way with as little code as necessary
  • passlib - password hashing library

Machine Learning

  • tensorflow - open source library to help you develop and train ML models
  • scikit-learn - machine learning library
  • keras - deep learning framework
  • pytorch - optimized tensor library for deep learning using GPUs and CPUs
  • opencv-python - open source computer vision library

More Repositories

1

binance-tutorials

Real-Time Candlestick Charts and Crypto Trading Bot using Binance API and Websockets
Python
858
star
2

candlestick-screener

web-based technical screener for candlestick patterns using Python and Flask
Python
516
star
3

supertrend-crypto-bot

supertrend bot using python, pandas, and ccxt
Python
368
star
4

tradingview-binance-strategy-alert-webhook

TradingView Strategy Alert Webhook that buys and sells crypto with the Binance API
Python
350
star
5

chatgpt-api-whisper-api-voice-assistant

chatgpt api and whisper api tutorial - voice conversation with therapist
Python
330
star
6

stockscreener

Build a Stock Screener using FastAPI (Python)
Python
304
star
7

fullstack-trading-app

A full stack Python app for trading using the Alpaca API
Python
194
star
8

streamlit-dashboards

Streamlit dashboard examples - Twitter cashtags, StockTwits, WSB, Charts, SQL Pattern Scanner
Python
182
star
9

tradingview-alpaca-strategy-alert-webhook-heroku

TradingView Strategy Alert Webhook for Alpaca and Discord, including Heroku Procfile
Python
170
star
10

tradingview-interactive-brokers

TradingView Interactive Brokers Integration using Webhooks
Python
156
star
11

financial-news-llama-index

Financial News Analysis with Llama Index, GPT-4, and Streamlit
HTML
145
star
12

ttm-squeeze

TTM Squeeze Scanner For Stocks in Python using Pandas and YFinance
Python
126
star
13

interactive-brokers-demo

Examples for using Interactive Brokers API with ib_insync
Python
122
star
14

sentiment-fear-and-greed

Backtesting the Fear and Greed Index and Put Call Ratio with Python and Backtrader
Python
110
star
15

tradingview-webhooks

AWS Lambda endpoint for executing Alpaca bracket orders
Python
104
star
16

wallstreetbets-tracker

Using Python and Pushshift.io to Track stocks on the WallStreetBets subreddit
Python
98
star
17

gridbot-websockets

build a gridbot using real-time market data over websockets
JavaScript
95
star
18

ark-funds-tracker

Track the holdings of ARK ETF funds in PostgreSQL
Python
88
star
19

openai-whisper-voice-commands

use openai to trade stocks with your voice
Python
87
star
20

tradingview-tdameritrade-option-bot

TD Ameritrade API option orders from TradingView webhook alerts
Python
85
star
21

qa-assistant-eleven-labs-voice-cloning

Voice Q&A Using ChatGPT API, Embeddings, Gradio, and Eleven Labs API For Voice Cloning
Python
83
star
22

alpaca-websockets

stock trading bot using real-time websocket data and alpaca api
Python
72
star
23

opensea-nft-api-tutorial

OpenSea NFT API App using Python and Streamlit
Python
64
star
24

tdameritrade

Trading stocks with the TD Ameritrade API and Python
Python
59
star
25

alpaca-market-data-streaming-api

Example Alpaca streaming market data over websockets
Python
49
star
26

pyalgotrade-tutorials

backtesting strategies using pyalgotrade
Python
48
star
27

iex-cloud-dashboard

IEX Cloud Stock Fundamental Dashboard with Streamlit
Python
48
star
28

timescaledb-aiohttp-asyncpg

Python
44
star
29

pandas-ta-tutorial

Python
42
star
30

backtrader-interactive-brokers

integrate backtrader with interactive brokers
Python
41
star
31

web3py-etherscan

Build your own Etherscan with web3.p6
Python
40
star
32

openai-whisper-live-transcription

near real-time transcription of audio from microphone
Python
39
star
33

alpaca-react-native

react native frontend for alpaca trading api
JavaScript
38
star
34

tdameritrade-streaming

streaming order book data from TD Ameritrade API
Python
32
star
35

opensea-nft-trading-bot

automate buying and selling of NFT's using the OpenSea JavaScript SDK
JavaScript
31
star
36

gap-trading

Python
31
star
37

crossover

S&P 500 golden cross strategy
Python
31
star
38

stochastic-alpaca-crypto-trading-api

buys and sells solana on a schedule using the alpaca crypto api
Python
27
star
39

datasets

stock price datasets
25
star
40

option-history

capture option price history to SQLite using Tradier API
Python
24
star
41

vix-strategy

backtesting spikes in the vix against historical S&P 500 data
Python
22
star
42

historical-data

retrieve and chart stock market data using yahoo finance, IEX Cloud, and Alpaca / Polygon
Python
19
star
43

semantic-search-frontend

Python
19
star
44

alpaca-market-data-bta-lib

applying technical indicators to alpaca market data with bta-lib
Python
19
star
45

website

Jupyter Notebook
17
star
46

candlestick-patterns

15
star
47

alpaca-bracket-order

place bracket orders with the alpaca api
Python
15
star
48

alpaca

python scripts for alpaca trading api
Python
15
star
49

walk-forward-optimization

Python
13
star
50

quantstats-demo

demonstration of quantstats library
HTML
12
star
51

hackingthemarkets.github.io

hackingthemarkets website
HTML
8
star
52

tradier-api

Basic Tradier API examples for equity and option orders
Python
8
star
53

prediction-markets

Notebooks for exploring prediction markets (eg. Kalshi, Polymarket, ForecastTrader)
Jupyter Notebook
6
star
54

screener-watchlist

creating a fundamental screener with IEXCloud and building a watchlist
5
star
55

interactive-brokers-web-api

A docker container and flask app for use with the Interactive Brokers Web API 1.0
HTML
4
star
56

financehacks.github.io

CSS
3
star