Curiosity...



Photo by James Burnett

Stream live video with Python and RTSP

The following code will stream live video into usable frames within a Python program. OpenCV contains a VideoCapture feature that lets you ea

Photo by James Burnett

Book Review: Can’t Hurt Me.

David Goggins's book, Can't Hurt Me, is a fundamentally "must read" book. David Goggin's is a retired Navy Seal and currently an ultra-marathon r

Photo by James Burnett

Installing a Python development environment in Linux.

Python is one of the best, if not the best, programming language for developing cross-platform software. There are so many pre-programmed l

Photo by James Burnett

Can you do CrossFit on the Carnivore Diet?

The Carnivore Diet is a meat only diet. Technically speaking you are only allowed to have meat, eggs and water on the carnivore diet. When I star

Photo by James Burnett

$3000 profit SPY strategy discovered via Python back-testing.

I was making a youtube video about a strategy I heard about on twitter and some other stock market chat rooms. The strategy consisted of buying a

Photo by James Burnett

Calculate the Relative Strength Index (RSI) with Python.

The Relative Strength Index of a stock can be calculated with Python with a simple function. The function utilizes a time series dataframe provid

Photo by James Burnett

Simple code to place a stock order with Alpaca and Python.

I'm loving Alpaca more and more for back-testing and automated trading. One of the first items on my to-do list was to create very simply code fo

Photo by James Burnett

Download stock data with Python and Alpaca.

This is a very basic code snippet for downloading data using the Alpaca API. You can get a free API for paper-trading through alpaca which will g

Photo by James Burnett

Review: A Beginner’s Guide To Day Trading Online.

A Beginner's Guide To Day Trading Online 2nd Edition is one of the better books I have read on trading the stock market. The author, Toni Turner,

Photo by James Burnett

Forecast stocks with Python and FbProphet.

Forecasting stocks with Python is actually really easy to do with the fbProphet model developed by Facebook. The following code will download