Quant Science Profile picture
Develop profitable trading strategies, build a systematic trading process, and trade your ideas with Python—even if you’ve never done it before.
12 subscribers
Oct 12 11 tweets 4 min read
🚨BREAKING: A new Python library for algorithmic trading.

Introducing TensorTrade: An open-source Python framework for trading using Reinforcement Learning (AI) Image TensorTrade is an open source Python framework for building, training, evaluating, and deploying robust trading algorithms using reinforcement learning leveraging:

- numpy
- pandas
- gym
- keras
- tensorflow
Oct 8 10 tweets 4 min read
How to make a simple algorithmic trading strategy with a 472% return using Python.

A thread. 🧵 Image This strategy takes advantage of "flow effects", which is how certain points in time influence the value of an asset.

This strategy uses a simple temporal shift to determine when trades should exit relative to their entry for monthly boundary conditions. Image
Oct 7 9 tweets 3 min read
A 23-page research paper reveals the number 1 method Hedge Funds use to beat the market:

Time Series Momentum

This is how: 🧵 Image 1. What Is Time Series Momentum?

Time Series Momentum (TSMOM) bets on trends continuing. If a stock’s up, buy more; if down, sell. A 2011 study of 58 assets proved it works! Image
Oct 7 11 tweets 4 min read
Build an End-to-End Python Algorithmic Trading System (complete roadmap + skills + tools)

Bookmark this. Image 1) Foundations (1–2 weeks)

Learn these:

1. Python basics → data/ML
2. Pandas (data wrangling)
3. Scikit-learn (ML)
4. SQLAlchemy (DB access) Image
Oct 1 9 tweets 3 min read
Stock Prediction AI: Using Machine Learning and Deep Learning to predict stock price movements in Python.

The Python code is 100% free on GitHub.

Let's dive in (bookmark this): Image 1. The Python Machine Learning and Deep Learning Libraries:

- mxnet
- gluon
- sklearn
- xgboost Image
Sep 30 4 tweets 2 min read
Things you don’t need to start quant trading:

• Complex algorithms
• PhD in math
• $10,000,000

Things you do need to start quant trading:

• A $500 laptop
• Interactive Brokers
• Python

Want to learn how? Image 🚨 LIVE Python Algo Trading Workshop: Learn how we built our hedge fund

• QSConnect: Build your quant research database
• QSResearch: Research and run machine learning strategies
• Omega: Automate trade execution with Python

👉 Get the system: learn.quantscience.io/become-a-pro-q…Image
Sep 30 5 tweets 2 min read
OpenBB: A free alternative to the $20,000 Bloomberg Terminal

Available 100% free on GitHub: Image Get OpenBB on Github here: github.com/OpenBB-finance…Image
Sep 27 9 tweets 3 min read
Python is wild for finance.

You can get FinViz in Python for free (this is how):

(a thread) Image 1. What is finvizfinance?

finvizfinance is a package that collects financial information from FinViz website. It has:

- Stock charts, fundamental & technical information
- Insider information
- Stock news
- Forex charts
- Crypto charts

Here's some examples of what you can do: Image
Sep 26 8 tweets 3 min read
🚨BREAKING: Microsoft open-sourced an AI Quant investment platform in Python

This is what you need to know:

(a thread) Image 1. What is Qlib?

Qlib is an open-source, AI-oriented quantitative investment platform that aims to realize the potential, empower research, and create value using AI technologies in quantitative investment, from exploring ideas to implementing production. Image
Sep 25 10 tweets 4 min read
99% of beginners struggle with learning algorithmic trading.

Let's fix that.

Here's a free 6-step roadmap to learning algo trading: (thread) Image Step 1: Understand Quant Trading Basics (1 week)

Learn what makes quant trading tick: systematic, data-driven strategies.

Read QuantStart's intro:

Key concepts: Data, backtesting, risk management, execution.quantstart.com/articles/Begin…
Sep 25 10 tweets 4 min read
🚨BREAKING: Python's Newest Algorithmic Trading Tool.

Introducing Nautilus Trader. 100% free.

Here's what it does (and how to get started in under 3 minutes): Image Nautilus Trader is an open-source Python library for production-grade algorithmic trading.

- Fast: made with Rust for blazing speed
- Natively runs with Python
- Risk management
- Backtesting
- Highly extendable Image
Sep 24 13 tweets 5 min read
Portfolio optimization with AI

A hands-on 6-step guide for using AI for trading, prediction, risk management, and optimization: (a thread) Image Step 1: Set Up Your Python Environment (1 day)
Python dominates—grab libraries for data and ML.

Install: NumPy, Pandas (data), Scikit-learn (ML basics), TensorFlow/PyTorch (deep learning)—all free via pip.

Resource: Official TensorFlow quickstart: tensorflow.org/tutorials/quic…
Sep 24 10 tweets 4 min read
Automate your trading strategies in Python

How to build your first trading bot:

(a thread) Image 1. What is a trading bot?

A trading bot is a software program that automates buying and selling financial assets like stocks and cryptocurrencies based on pre-defined strategies and rules.

These automated systems can manage portfolios without human intervention, operating 24/7.
Sep 23 10 tweets 4 min read
Step-by-Step Guide: Intro to Python for Financial Analysis

(No Courses Needed!)

A thread: Image Want to dive into Python for finance?

Here's a self-paced, free process using official docs, tutorials, and practice:
Sep 23 11 tweets 3 min read
343+ Quant and Algorithmic Trading Projects in Python

This is how to get your hands on them for free.

(a thread) Image 1. If you're into quantitative finance, check out this insane collection of libraries, packages, and resources.

Covers Python, R, Matlab, Julia, and more—perfect for data gathering, trading, backtesting, and beyond.
Sep 21 6 tweets 2 min read
The secret hedge funds use to detect market regimes...

A 37 page PDF reveals everything: Image This paper presents an unsupervised learning algorithm for clustering financial time series into temporal segments (aka market regimes).

The method is called Wasserstein Distance K-Means Algorithm. Image
Sep 21 10 tweets 4 min read
🚨BREAKING: A new Python library for algorithmic trading.

Introducing TensorTrade: An open-source Python framework for trading using Reinforcement Learning (AI) Image TensorTrade is an open source Python framework for building, training, evaluating, and deploying robust trading algorithms using reinforcement learning leveraging:

- numpy
- pandas
- gym
- keras
- tensorflow
Sep 20 5 tweets 2 min read
Python is insane for algorithmic trading.

Example: Microsoft open-sourced this AI quant investment platform 100% for free

Here's what it does: Image Introducing Qlib: An AI-oriented Quantitative Investment Platform Image
Sep 19 8 tweets 3 min read
🚨BREAKING: A new open-source multi-agent LLM trading framework in Python

It's called TradingAgents.

Here's what it does (and how to get it for FREE): 🧵 Image 1. What is TradingAgents

TradingAgents is a multi-agent trading framework that mirrors the dynamics of real-world hedge funds.
Sep 16 5 tweets 2 min read
Python is mind-boggling for finance.

Case in point: There's a Finance database of 300,000 tickers.

Available 100% for free: Image It's called the Finance Database.

And you can get it on GitHub here: github.com/JerBouma/Finan…
Sep 13 10 tweets 3 min read
Can AI be used for quant financial analysis?

A 54-page PDF. Image Abstract:

OpenAI's new flagship model, ChatGPT-4o, released on May 13, 2024, offers enhanced natural language understanding and more coherent responses.