Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work. Learn more →
Top 23 Python Trading Projects
-
ccxt
A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges
Project mention: How to start a personal quant investing scheme? | reddit.com/r/algotrading | 2023-02-22Check out https://github.com/hummingbot/hummingbot (disclosure: my project). We just added a Binance candles feature where you can construct custom OHLCV candles and TA indicators. You should also check out https://github.com/ccxt/ccxt which has broader exchange support but less order book data management than Hummingbot.
-
-
ONLYOFFICE
ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises
-
Project mention: What backtest data would you say is more accurate. | reddit.com/r/algotrading | 2023-03-16
For this reason I think it's important to have a deep understanding of exactly how the backtesting engine that you are using works. Building your own backtesting engine is the absolute best way to gain this understanding. That is the path I personally chose and I don't regret it! However, that is also a very difficult and time consuming undertaking. So the next best thing is using something that is open source and has a good reputation like backtrader (https://www.backtrader.com/).
-
Right! How do ppl not know! Wait until they find out about the "Make Money" api - just a simple button click ..
-
hummingbot
Hummingbot is open source software that helps you build trading bots that run on any exchange or blockchain
Project mention: Is it typical for crypto Market Maker to incorporate pending transactions in the mempool as part of their indicator/precursor for placing an ask/bid? | reddit.com/r/algotrading | 2023-05-18Correct me if I am wrong, but hummingbot, for example, allows anyone to run their Market Making bots (https://github.com/hummingbot/hummingbot) with various off-the-shell market making strategies for crypto, and they include both DEXs and CEXs
-
Going to give jesse.trade a try next week.
-
Crypto-Signal
Github.com/CryptoSignal - Trading & Technical Analysis Bot - 4,100+ stars, 1,100+ forks
-
InfluxDB
Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.
-
backtesting.py
:mag_right: :chart_with_upwards_trend: :snake: :moneybag: Backtest trading strategies in Python.
Project mention: Anyone here built backtest/alpha visualization/exploration dashboard(s)? | reddit.com/r/algotrading | 2023-03-31https://kernc.github.io/backtesting.py/ offers nice way to zoom backtesting. It has some bugs, but good for visualization.
-
pandas-ta
Technical Analysis Indicators - Pandas TA is an easy to use Python 3 Pandas Extension with 130+ Indicators
Project mention: Help recreating ta-lib python MACDFIX in pure python | reddit.com/r/algotrading | 2023-05-03I do not know what is the difference between MACD and MACDFIX but maybe you can take a look how MACD is implemented in pandas_ta library and modify it a bit to achive a behavior you want.
-
mlfinlab
MlFinLab helps portfolio managers and traders who want to leverage the power of machine learning by providing reproducible, interpretable, and easy to use tools.
Project mention: mlfinlab: open source library maintained by hudson and thames though much of the content has moved to a subscription model. Idea is to implement academic research in python code and aggregate it as a package. Sources from [Journal of financial data s | reddit.com/r/algoprojects | 2022-11-13 -
vectorbt
Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.
Project mention: Is there any python libraries to backtest buy and sell signals with dates? | reddit.com/r/algotrading | 2022-06-14For exactly this I use this https://github.com/polakowo/vectorbt it’s really a powerful tool and you can tons of things with it. Recently the developer decided to maintain it but not adding new features, which from now on will be released on the pro version. However, the free version is still very valuable, incredibly fast and suitable for basic to intermediate tasks.
-
-
-
OctoBot
Cryptocurrency trading bot using technical analysis based strategy with an advanced web interface
-
I'm trying to set up algo trading through the Blankly Python library. I've generated my Coinbase Pro API keys, but when I try to enter them it always tells me that it failed to connect, and to check to make sure my keys are correct. I'm quite certain that they are, and I made a new set of API keys just in case something was wrong with the first set. I also cannot create an "authenticated client" as described on their readme because the cbpro library is out of date and currently incompatible with blankly.
-
-
gym-anytrading
The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)
Project mention: Design of an episode/game in RL for quantitative trading? | reddit.com/r/reinforcementlearning | 2022-06-24 -
blankly
🚀 💸 Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.
Looks interesting.
I recently came across this newer platform Blankly with similar goals, it has great docs and easy to get started
-
Project mention: surpriver: Machine learning algo to detect anomaly in equities data. Uses sklearn [IsolationForest](https://scikit-learn.org/stable/modules/generated/sklearn.ensemble.IsolationForest.html) model and price/volume based technical signals as features us | reddit.com/r/algoprojects | 2023-04-01
-
-
Binance-News-Sentiment-Bot
This is a fully functioning Binance trading bot that takes into account the news sentiment for the top 100 crypto feeds. If you like this project consider donating though the Brave browser to allow me to continuously improve the script.
-
Project mention: Scikit-learn Stock Prediction: using fundamental and pricing data to predict future stock returns. Sklearn's randomforest classifier is trainded and author claimed positive live trading results. Not actively mainained Other Models - star count:1411.0 | reddit.com/r/algoprojects | 2023-04-01
-
robin_stocks
This is a library to use with Robinhood Financial App. It currently supports trading crypto-currencies, options, and stocks. In addition, it can be used to get real time ticker information, assess the performance of your portfolio, and can also get tax documents, total dividends paid, and more. More info at
-
Sonar
Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.
Python Trading related posts
- example-hftish: NEW Extended Research - star count:604.0
- example-hftish: NEW Extended Research - star count:604.0
- example-hftish: NEW Extended Research - star count:604.0
- example-hftish: NEW Extended Research - star count:604.0
- PyBroker: An Algotrading Framework Built for Machine Learning
- example-hftish: NEW Extended Research - star count:604.0
- PyBroker: An Algotrading Framework for Machine Learning
-
A note from our sponsor - Sonar
www.sonarsource.com | 27 May 2023
Index
What are some of the best open-source Trading projects in Python? This list will help you:
Project | Stars | |
---|---|---|
1 | ccxt | 28,302 |
2 | vnpy | 20,926 |
3 | backtrader | 10,750 |
4 | trump2cash | 6,187 |
5 | hummingbot | 5,886 |
6 | jesse | 4,667 |
7 | Crypto-Signal | 4,384 |
8 | backtesting.py | 3,668 |
9 | pandas-ta | 3,633 |
10 | mlfinlab | 3,404 |
11 | vectorbt | 2,867 |
12 | freqtrade-strategies | 2,577 |
13 | ib_insync | 2,196 |
14 | OctoBot | 2,073 |
15 | coinbasepro-python | 1,774 |
16 | cryptofeed | 1,770 |
17 | gym-anytrading | 1,636 |
18 | blankly | 1,609 |
19 | surpriver | 1,588 |
20 | alpaca-trade-api-python | 1,570 |
21 | Binance-News-Sentiment-Bot | 1,525 |
22 | MachineLearningStocks | 1,470 |
23 | robin_stocks | 1,437 |