PyPI
pypi.org › project › algorithms
algorithms · PyPI
algorithms/ data_structures/ # Reusable data structure implementations array/ # Array manipulation algorithms backtracking/ # Constraint satisfaction & enumeration bit_manipulation/ # Bitwise operations & tricks compression/ # Encoding & compression schemes dynamic_programming/ # Optimal substructure & memoization graph/ # Graph algorithms (BFS, DFS, shortest path, flow, ...) greedy/ # Greedy strategies heap/ # Heap-based algorithms linked_list/ # Linked list algorithms map/ # Hash-map-based algorithms math/ # Number theory, combinatorics, algebra matrix/ # 2D array & linear algebra operations
» pip install algorithms
Which Python libraries I should use for algo trading?
For the backtesting part, recently I’ve started using https://kernc.github.io/backtesting.py/ . For visualizing I’m using charting library from the TradingView. Also used fastapi to build a webhook to receive some signals from the TradingView Pine scripts. More on reddit.com
Seeking Input for New Algo-Trading Library Development in 2024
i really want a library which will build me a tradingview like interactive interface. Many times i have wanted to plot my own data (renko, dollar bar, etc) and start manual backtesting, or add my custom indicators on it. none of this is possible in tradingview. The nearest thing in python is plotly, but its damn slow and the interface is a nightmare. A spinoff of tradingview in python would be a great great contribution to the open source community. More on reddit.com
Best Python libraries for backtesting and algo trading
Feels like Backtrader works quite well, the only annoying part is the main moderator being unnecessarily rude on the forums
More on reddit.comWhat python libraries and APIs do you need to algorithmic trading?
Try ta_lib.
More on reddit.comVideos
04:46
Top Python Libraries for Machine Learning 🐍 | NumPy and Pandas ...
A Gentle Introduction to Genetic Algorithms with Python and ...
Introduction to Python Libraries and Algorithms for Machine ...
Studying Algorithms in Python
26:10
Genetic Algorithms in Python - Evolution For Optimization - YouTube
20:19
314 - How to code the genetic algorithm in python? - YouTube
Kaggle
kaggle.com › getting-started › 112297
10 Python library for evolutionary and genetic algorithm | Kaggle
pyeasyga : A simple and easy-to-use implementation of a Genetic Algorithm library in Python https://pypi.org/project/pyeasyga/ https://github.com/remiom...
Ml-science
ml-science.com › algorithm-libraries
Algorithm Libraries — The Science of Machine Learning & AI
... Algorithm libraries provide easy access to a wide variety of mathematics, data science, and engineering functions. ... SciKit Learn is s library for Machine Learning built on Python, NumPy, and Matplotlib.
GitHub
github.com › TheAlgorithms › Python
GitHub - TheAlgorithms/Python: All Algorithms implemented in Python · GitHub
All Algorithms implemented in Python. Contribute to TheAlgorithms/Python development by creating an account on GitHub.
Starred by 223K users
Forked by 50.8K users
Languages Python
Turing Post
turingpost.com › p › python-algorithms
A Comprehensive Open-Source Python Library for All Major Algorithms
For easier navigation, you can use this page that conveniently categorizes the algorithms based on their areas of application. ... Every day we post helpful lists and bite-sized explanations on our Twitter. Please join us there: ... This library has 163k stars on GitHub! It includes a ton of algorithms from arithmetic analysis to blockchain to data structures.
Great Learning
mygreatlearning.com › blog › it/software development › top 30 python libraries to know
Top 30 Python Libraries To Know in 2026
January 6, 2025 - One of the best and most well-known machine learning libraries, gradient boosting, aids programmers in creating new algorithms by using decision trees and other reformulated basic models. As a result, specialized libraries can be used to implement this method quickly and effectively. The Python-built Eli5 machine learning library aids in addressing the problem of machine learning model predictions that are frequently inaccurate.
SSSgram
analyticsinsight.net › home › data science › top python libraries for algorithmic trading and finance in 2025
Top Python Libraries for Algorithmic Trading and Finance in 2025
November 18, 2025 - Learn about the best Python libraries for finance in 2025, including Pandas, TA-Lib, Backtrader, yfinance, and their use in algorithmic trading.
StudyX
studyx.ai › homework › 105713263-2-which-python-libraries-are-primarily-algorithmic-libraries-jupyter-regression
2 Which Python libraries are primarily Algorithmic ...
September 24, 2024 - Regression: Not a library; it's a statistical method. Matplotlib, Seaborn: Data visualization libraries, not primarily algorithmic. Pandas, Numpy, SciPy: Primarily algorithmic libraries. Scikit-learn, Statsmodels: Primarily algorithmic libraries. The Python libraries that are primarily Algorithmic ...
TradingBrokers
tradingbrokers.com › home › trading guides › best python libraries for algorithmic trading
Best Python Libraries For Algorithmic Trading - TradingBrokers.com
August 14, 2025 - Algorithmic trading in Python is powered by a diverse ecosystem of libraries that cater to every stage of the trading workflow—from data acquisition and analysis to backtesting, optimization, and live execution. Pandas and NumPy form the backbone for data manipulation and numerical computations, ...
Plain English
plainenglish.io › blog › best-python-libraries-for-algorithmic-trading
Best Python Libraries for Algorithmic Trading
May 18, 2022 - Numerical Python (Numpy) is a fundamental library for performing numerical calculations with Python. It is invaluable in managing data arrays with a large number of functions to generate Ndarray objects. Several other machine learning and neural network libraries utilize Numpy in their operations. In algorithmic trading, Numpy is used to maximize the speed of the core simulation logic.
Gbeced
gbeced.github.io › pyalgotrade
PyAlgoTrade - Python Algorithmic Trading Library
PyAlgoTrade is a Python Algorithmic Trading Library with focus on backtesting and support for paper-trading and live-trading. Let’s say you have an idea for a trading strategy and you’d like to evaluate it with historical data and see how it behaves.
GeeksforGeeks
geeksforgeeks.org › machine learning › best-python-libraries-for-machine-learning
Best Python libraries for Machine Learning - GeeksforGeeks
3 weeks ago - The Machine learning libraries provide pre-built tools and algorithms that simplify model development and improve efficiency. Reduce development time by providing optimized implementations of ML algorithms. Simplify tasks such as preprocessing, feature engineering, training and evaluation. ... NumPy is a fundamental numerical computing library in Python that provides support for large, multi-dimensional arrays and matrices, along with a comprehensive collection of mathematical functions.
Towards Data Science
towardsdatascience.com › home › latest › python+ 101: most useful data structures and algorithms
Python+ 101: Most useful data structures and algorithms | Towards Data Science
March 5, 2025 - Besides having a rich set of the most common data structures, it provides a number of standard libraries that can greatly reduce the burden of developing codes from scratch for a variety of problems pertaining to different fields. In this tutorial, I will focus on some of the most common problems or should I say, encounters, and their solutions using data structures and algorithms of standard python modules.
Interactive Brokers
interactivebrokers.com › campus › ibkr-quant-news › popular-python-libraries-for-algorithmic-trading-part-i
Popular Python Libraries for Algorithmic Trading – Part I
February 13, 2023 - The amount you may lose may be greater than your initial investment. Before trading futures, please read the CFTC Risk Disclosure. A copy and additional information are available at ibkr.com. ... Algo Trading IBKR API IBridgePy Pandas-DataReader Python Python Libraries for Algorithmic Trading yfinance