PyQuant News 🐍 Profile picture
Dec 16 22 tweets 7 min read Twitter logo Read on Twitter
Google "algorithmic trading" and get 88,300,000 results.

Google "python tutorial" and get 717,000,000 results.

Utterly exhausting.

Impossible to navigate.

So I took 805,300,000 search results, added in 22+ years of experience, and had a baby.

This is what I named it: Image
Getting Started With Python for Quant Finance.

Get up and running with Python fast:

• Copy-paste code to apply immediately
• Help to debug code and ask questions
• Practical experience you can use now
• Get the Python Quant Stack installed

Here's what's packed inside:
On top of $4,500 in BONUSES, you'll:

• Install the Python quant stack
• Get the Python basics right
• Assess trading strategies
• Compete in algo trading
• Backtest strategies
• Automate trades
• Engineer alpha

And here are some of the Notebooks:
The details of the live sessions, notebooks, and schedule are here:

bit.ly/GSWPFQF
Backtest a trading strategy

When you're ready, use a backtesting framework to analyze the risk and performance metrics of your strategy.

This Notebook shows you how to backtest a strategy. Image
Price options with the Edgeworth model

Pricing models assume stock returns are normally distributed. They're not. The Edgeworth model introduces skew and kurtosis.

This Notebook shows you how to price an option with the Edgeworth model. Image
Use GARCH to forecast volatility

Quants use volatility forecasting to find market mispricings. Most volatility forecasts start with GARCH.

This Notebook shows you how you find market mispricings. Image
Python basics tutorial and walkthrough

If you're just getting started with Python, you need a good walkthrough of the basics.

This Notebook shows you how to get started with Python. Image
pandas tutorial and walkthrough

Working with data starts with pandas. It's the standard tool for data manipulation in Python. It was started by a hedge fund.

This Notebook walks through the most important parts of pandas. Image
SciPy tutorial and walkthrough

The statistical functions like probability distributions that underpin quant finance are in SciPy.

This Notebook shows you what you need to use SciPy for quant finance. Image
yfinance tutorial and walkthrough

To build trading algorithims, you need stock and options data. yfinance is your gateway to free market data.

This Notebook walks you through the basics of using yfinance. Image
Theta Data tutorial and walkthrough

Historic and real time options data is expensive and hard to find. Theta Data gives you an API to access historic and real time options data.

This Notebook shows you how to use the API. Image
Riskfolio-Lib tutorial and walkthrough

Teams of Ph.D.s spent decades refining the portfolio optimization. Riskfolio-Lib wraps up dozens of portfolio and risk optimizations in one library.

This Notebook walks you through an example of how to use it. Image
QuantStats tutorial and walkthrough

Don't rebuild the statistical functions you need for risk and performance reporting. QuantStats gives you a library of common risk and performance metrics ready to use.

This Notebook outlines common use cases. Image
Connect to Interactive Brokers with Python

The first step in automatic execution is connecting to your broker.

This Notebook gives you the code to make the connection. Image
Risk management with value at risk

Hedge funds and trading firms value at risk to capture probability of losing money. You can use it too.

This Notebook shows you how to build your own value at risk measure. Image
Risk management with drawdown analysis

Drawdown is an important factor to consider when analyzing trading strategies. It's used to help undertand risk of going broke.

This Notebook calculates drawdown for a stock or portfolio. Image
Simulate stock prices with Geometric Brownian Motion

The foundation of all derivative pricing is asset price simulation. One of the most common methods is Geometric Brownian Motion.

This Notebook shows you how to simulate stock prices. Image
Simple order execution on Interactive Brokers with Python

Once you connect, you need to test simple trade execution.

This Notebook shows you how to send simple buy orders to Interactive Brokers. Image
Advanced algo trading on Interactive Brokers with Python

Once you get the connection set and a trade done, add complexity to your trading algorithms.

This Notebook demonstrates an advanced trading strategy executing on Interactive Brokers. Image
Store real time market data from Interactive Brokers with Python

All quants need data. The free sources are ok, but if you need something more complex, save it from Interactive Brokers.

This Notebook shows you how to save market data directly from the market. Image
Enrollment is open!

DM me with any questions.

bit.ly/GSWPFQF

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with PyQuant News 🐍

PyQuant News 🐍 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @pyquantnews

Dec 14
Hedge funds are secretive about their strategies.

This PDF exposes their most successful ones.

Grab it here: Image
The paper discusses two types of strategies:

1. Arbitrage strategies
2. Macro fund strategies

Here are the details:
Arbitrage-Type Strategies

These strategies involve profiting from price discrepancies in two instruments that are expected to converge in value at maturity or expiry.

Key takeaways:

• Exploit misalignments
• Two-transaction approach
• Model-based valuation

Next are macros:
Read 5 tweets
Dec 9
I learned MATLAB and Octave (wtf?) during my master's degree.

So I studied 82,112 Python code repos and taught myself Python.

99.9% of them were a complete waste of time.

But these 9 are worth more than my $90,000 master's degree:
Notebooks that replicate original quantitative finance papers from Emanuel Derman.

github.com/MarcosCarreira…
Many Jupyter Notebooks to verify theoretical ideas and practical methods of quantitative finance interactively.

github.com/rsvp/fecon235
Read 12 tweets
Dec 2
The Python Quant Stack:

1. Research environments
2. Numerical computing & stats
3. Data acquisition & manipulation
4. Risk, pricing, & optimization
5. Backtesting & trading

The $0 cost Python Quant Staci: Image
1. Research environments

Where you go to find and test ideas.

• Jupyter Notebook
• OpenBB Terminal
2. Numerical computing & stats

The foundation tools for array manipulation and statistics.

• SciPy
• NumPy
• StatsModels
Read 8 tweets
Nov 21
I've been coding Python for 12+ years.

These are the 7 best backtesting libraries you've never heard of:
Zipline Reloaded

Key strength:

Extensive support for various data sources and tight integration with the Python Quant Stack, making it suitable for advanced algorithmic trading strategies. Image
VectorBT

Key strength:

Offers high performance and flexibility, enabling users to build, test, and optimize trading algorithms with ease through its extensive use of NumPy and Numba. Image
Read 11 tweets
Nov 16
The net worth of Jim Simons founder of Renaissance Technologies:

$30.7 billion.

His quant trading firm generated $100 BILLION in profits for investors.

He's returned 66%, per year, for 30 years.

The story of the CIA math genius who won the market: Image
1/20
Investing just $100 in Jim Simons' Medallion Fund back in 1988 would result in over $400 million today.

In comparison:

A $100 investment in the S&P 500 during the same period would only yield about $2,000 by 2022.

That's not it: Image
2/20
The Medallion fund, over a span of 30 years, has maintained an extraordinary annual return rate of 66%.

Buffet's yearly return rate averages around 20%.

Such returns are unheard of for many funds over their entire lifetimes.

Even during the 2008 financial crisis... Image
Read 22 tweets
Nov 14
The number 1 reason traders lose $:

Emotions.

There are 21 cognitive biases that will sabotage your trading.

Here's how to beat them: Image
Put your ego aside and attribute early trading success to luck. Image
The first rule of finance:

No risk, no reward.

Trading is not eliminating risk, it's managing it. Image
Read 23 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(