Carousel Studio

Repurpose X Threads into LinkedIn & Instagram Carousels

Canvas & Ratio

Choose your destination platform format


Layout Template

Choose a content structure for your slides


Preset Themes


Typography & Sizing

Title Font Size36px
Body Font Size18px
Header & Footer Size12px

Brand Kit Customization

AGENCY

Configure brand assets for headers & footers

MULTI-PROFILES (AGENCY)
AGENCY
SAVE PRESETS (AGENCY)

Outro Slide CTA

Customize your closing call-to-action slide

#1
#2
#3

Background Pattern

Source Content

Build Your Carousel

Drag and drop any post card below onto a slide, or use the quick buttons to insert content/images instantly!

Drag Post #1
PyQuant News 🐍
@pyquantnews

The recession. The news talks about it. Investors cry over it. And in the end, we’re the ones that lose money. But you can prepare. Here’s how:

Drag Post #2
PyQuant News 🐍
@pyquantnews

Analyze the yield curve. The yield curve plots the yield of US treasuries against their maturity. “Inverted” yield curves have been shown to reliably predict recessions. It’s key to understanding investors’ predictions about the economy. But what’s an inverted yield curve?

Drag Post #3
PyQuant News 🐍
@pyquantnews

The inverted yield curve: • Normally, longer-dated treasuries yield more than shorter-dated ones • The market expects the Fed to lower rates to fight recessions • Longer-dated maturities yield less than shorter-dated ones Let’s check it out in Python.

Drag Post #4
PyQuant News 🐍
@pyquantnews

Start with importing NumPy, Matplotlib, and the OpenBB SDK. You can use the OpenBB SDK to get yield curve data for the St. Louis Fed’s data portal (FRED).

Apply Image
Drag Post #5
PyQuant News 🐍
@pyquantnews

Then set up the bond maturities you want to use to build the yield curve. There are conventions about which maturities to use, but there is no “right” answer. The point is to get a good representation across the maturities.

Apply Image
Drag Post #6
PyQuant News 🐍
@pyquantnews

With Matplotlib, you can animate a chart. Animated charts offer a great way to visualize how data changes through time. First, set up the plots.

Apply Image
Drag Post #7
PyQuant News 🐍
@pyquantnews

Next, build the animation functions. The `animate` function grabs the data to plot, then changes the curve color to red when the yield curve is inverted and sets the data. The `FuncAnimation` function then loops through each row of data, creates the plot, and displays it.

Apply Image
Drag Post #8
PyQuant News 🐍
@pyquantnews

Animating the chart makes it easy to visualize the evolution of the yield curve through time. You can change which maturities to use for the yield curve, adjust the time frame, and experiment with different maturities to use to define inverted.

VIDEO
Apply Image
Drag Post #9
PyQuant News 🐍
@pyquantnews

By reading this thread: • You have a reliable predictor of recessions • Can get the data from the OpenBB SDK • Animate a plot of the yield curve All without an expensive research department or spending a dollar.

Drag Post #10
PyQuant News 🐍
@pyquantnews

To come back to this step-by-step guide later: • Click the link below • Retweet the top tweet That's it! <a target="_blank" href="https://twitter.com/pyquantnews/status/1717513967247974667" color="blue">x.com/pyquantnews/st…</a>