backtesting.py VS TTM

Compare backtesting.py vs TTM and see what are their differences.

TTM

# TTM Stock squeeze detection based on bollinger + keltner channels. Detects which stocks are out after bollinger is inside keltner channel. (by rejithrnath)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
backtesting.py TTM
25 1
4,691 6
- -
0.0 0.0
30 days ago over 2 years ago
Python Jupyter Notebook
GNU Affero General Public License v3.0 -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

backtesting.py

Posts with mentions or reviews of backtesting.py. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-08.
  • Python developers -- what broker and api do you use?
    4 projects | /r/algotrading | 8 Jun 2023
    We chose backtesting.py for a backtesting framework. There are several to choose from but that one seems like the most well-supported and actively worked on at the moment.
  • Anyone here built backtest/alpha visualization/exploration dashboard(s)?
    2 projects | /r/algotrading | 31 Mar 2023
    https://kernc.github.io/backtesting.py/ offers nice way to zoom backtesting. It has some bugs, but good for visualization.
  • Backtest libraries
    3 projects | /r/quant | 15 Jun 2022
    https://kernc.github.io/backtesting.py/ Nice analytics/visualisation but you need to do tricks to buy half a bitcoin. No native support of strategies based on multiple assets.
  • Any advice on where to start?
    2 projects | /r/algotrading | 4 Mar 2022
    Hey, love the learning attitude! Some things to consider include (how are you actually going to write your code). If you want to spend more time experimenting with a signal (which with your background, seems like you do), try using a framework out there like backtesting.py, backtrader, or blankly (the last one is my favorite because I'm able to actually deploy live in one line whereas the others don't). These frameworks have built-in backtesting, data connections, etc. that should help you speed your dev up.
  • Why Building a Trading Algorithm is More Than Just the Algorithm - 3 Things
    4 projects | dev.to | 19 Feb 2022
    It’s super easy to get up and running with code. With the rise of data science as a field, datasets are far and wide. Accessible from just about any venue. Take a look at Kaggle, QuiverQuant, Yahoo Finance, or even directly from the brokerages and exchanges. Developers can easily download data directly as a .csv or .json and quickly get up and running by utilizing frameworks like backtesting.py or vectorbt. “Great, it seems like I can get up and running and I’ll have an awesome money making trading algorithm in no time”.... unfortunately, wrong. Why is this wrong? Well, simulation is NOT the real world. The real world is not a CSV file—the real world is a stream of events. Cause and effect. The real world works in a fashion where new data comes in, you make a decision, and then you figure it out, not “I have all of this data, let me run this all through time and figure it out”. Indeed, the data sources that you get in real-time are almost completely different from the data sources you use in simulation. Rather than .csv you use WebSockets; rather than QuiverQuant you use APIs; rather than backtesting frameworks you use more robust, event driven packages. Without it, you’re stuck duplicating code, rewriting it into an event-based system, and ultimately using that to go into production, and who knows if your code is going to change along the way.
  • Backtesting for Python
    3 projects | /r/algotrading | 1 Sep 2021
    I highly recommend using the Backtesting (https://github.com/kernc/backtesting.py) library. With some small modifications to data, you can quickly backtest any trading strategy.
  • Custom forex backtester
    4 projects | /r/algotrading | 21 Mar 2021
    backtesting.py is a good option. It should be pretty easy to make strategy to suite your needs.

TTM

Posts with mentions or reviews of TTM. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning TTM yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing backtesting.py and TTM you can also consider the following projects:

backtrader - Python Backtesting library for trading strategies

vectorbt - Find your trading edge, using the fastest engine for backtesting, algorithmic trading, and research.

PyTrader-python-mt4-mt5-trading-api-connector-drag-n-drop - Open Source Trading Strategies & End-to-End solution connecting Metatrader4 & Metatrader5 💹 with Python with a simple drag and drop EA. Fully tested bug free & efficient solution for live & paper trading⭐ Full Documentation ready. Lightweight, efficient and stable implementation 🔥 [UnavailableForLegalReasons - Repository access blocked]

ccxt - A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchanges

lumibot - Backtesting and Trading Bots Made Easy for Crypto, Stocks, Options, Futures, FOREX and more

gym-anytrading - The most simple, flexible, and comprehensive OpenAI Gym trading environment (Approved by OpenAI Gym)

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.

ta4j - A Java library for technical analysis.

zipline - Zipline, a Pythonic Algorithmic Trading Library

StockSharp - Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options).

investpy - Financial Data Extraction from Investing.com with Python

td-ameritrade-client - TD Ameritrade Java Client