Will the Recession Ever Arrive? A Data-Driven Look at the Yield Curve and Jobless Rate

I’m always monitoring economic data for clues about where the broader market and sentiment might be headed. Since I’m a visual thinker, I like to create charts—like my egg price and median house price charts. In this post, I’ll share my Python code for generating a chart that overlays the 2-year/10-year Treasury yield spread with the current jobless rate, highlighting recession periods for context. I track this chart closely because the 2-year/10-year spread has historically predicted recessions whenever it turns negative. However, the timing of a recession remains uncertain. This is where jobless rates become a crucial indicator—when employers start shedding jobs, the likelihood of a recession increases. ...

Stock Seasonality in Python - A Tutorial

A Python script that evaluates seasonal investing

Rebasing Time Series With Python

Rebasing a time series using Pandas and plotting stock price performance. Then extracting the month and year values.

Seasonal Trading and Investing Strategies

Learn the one seasonal trading and investing strategy that’s made me money for the past 13 years!

30 Year Mortgage Rates Almost at 8%

What’s going on with rising mortgage rates, real estate market trends, and the role of the Federal Reserve in our economic landscape.

Forecast Silver Prices With Neuralprophet Python

Is it possible to forecast silver prices with Python? Yes, and in this tutorial, I will show you how I do it using NeuralProphet and Python. If you want to just grab all the code right away, just navigate down to the Silver Prices Forecasting NeuralProphet Model Code section. Before we begin, we need to make sure we have all the right Python libraries loaded into our environment. Aside from the standard matplotlib, pandas, and numpy libraries, you will need to install yfinance and neuralprophet. ...

Installing WriteFreely on AWS LightSail

Writefreely is a minimalistic blogging software that lets you create publications.

How To Install Python On Your Computer — The Easy Way

This is a simple installation tutorial and guide to get Python on your machine.

Boost Passive Income with Hugo CMS

This short post is just a way to get my thoughts down on “paper” about using Hugo to hyper-scale niche websites. I’ve been researching niche websites and their ability to capture niche traffic to generate passive income. Yes, the name of the game is to build up a net monthly passive income of around $10,000. To get to that level of income I need to find a niche topic that will allow me to capture long-tail keyword traffic, then monetize each page, and optimize SEO. Out of the box, Hugo is very SEO friendly but you still need to work at it. On top of that, you’ll need to tweak a lot of its themes. The thing with Hugo is that it does include the batteries but you kind of need to know where to put them and in what order. ...

FB Prophet Forecasting

This tutorial will show you how many followers you should expect in the coming days and weeks using the Facebook Prophet (FBProphet) python package. This is a perfect example of what python can be used for. You can use it to forecast your medium followers or sales revenues. It can be any time series related problem, but first you must install FBProphet. Install FBProphet My code is simple, and the FB Prophet documentation is written very well. In fact, most of the code I share below has been cobbled together from the examples the documentation provides. ...