Quantastic Research https://quantasticresearch.com/ Quantitative & Technical Data Analysis Mon, 02 Dec 2024 21:24:25 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 https://quantasticresearch.com/wp-content/uploads/2024/03/cropped-cropped-QR-Logo-e1709730945962-32x32.png Quantastic Research https://quantasticresearch.com/ 32 32 Probabilities of Up and Down Days in the S&P500 https://quantasticresearch.com/python/probabilities-of-up-and-down-days/ Sat, 23 Nov 2024 19:51:55 +0000 https://quantasticresearch.com/?p=820 [Last Updated: 11/24/2024] In this post we’ll be calculating the probabilities and statistics of up days and down days. First, I’ll use daily S&P 500 (Ticker: SPY) data to obtain probabilities of up and down days. Next, we’re going to look at various other related topics such as: The Probability of Up and Down Days […]

The post Probabilities of Up and Down Days in the S&P500 appeared first on Quantastic Research.

]]>
Automated Stock Alerts Using the Notion API and Python https://quantasticresearch.com/python/automated-stock-alerts-using-the-notion-api-and-python/ Wed, 20 Mar 2024 23:19:15 +0000 https://quantasticresearch.com/?p=791 I recently wrote an article on using Windows Task Manager to periodically run Python scripts. I currently have a couple scripts automated to run every day at 10:00PM using this method. Theoretically, you could use this method to update a Notion database. So in this post, I will cover how to use Python to generate […]

The post Automated Stock Alerts Using the Notion API and Python appeared first on Quantastic Research.

]]>
Using Center of Mass to Detect Hammer Patterns in Candlestick Charts https://quantasticresearch.com/technical-analysis/using-center-of-mass-to-detect-hammer-patterns-in-candlestick-charts/ Tue, 19 Mar 2024 19:01:38 +0000 https://quantasticresearch.com/?p=765 [Last Updated: 3/19/2024] This post will document the development and usage of a new proposed candlestick parameter called Center of Mass. The Center of Mass value is based on OHLC price values of single candlesticks. You can use the Center of Mass value as an indicator – either with raw calculated values, or you can […]

The post Using Center of Mass to Detect Hammer Patterns in Candlestick Charts appeared first on Quantastic Research.

]]>
Automating Python Scripts using Windows Task Scheduler https://quantasticresearch.com/python/automating-python-scripts-using-windows-task-scheduler/ Wed, 13 Mar 2024 11:35:19 +0000 https://quantasticresearch.com/?p=749 If you landed here, you’re probably interested in having a script run automatically at specified times on your PC. Specifically, a Python script on Windows machines. The solution below came from a failed attempt at building an Apache Airflow data pipeline solution with Windows Subsystem for Linux 2 (WSL2). The SQLite database that I’ve been […]

The post Automating Python Scripts using Windows Task Scheduler appeared first on Quantastic Research.

]]>
A Comprehensive Guide for Creating NumPy Arrays https://quantasticresearch.com/python/a-comprehensive-guide-for-creating-numpy-arrays/ Wed, 06 Mar 2024 10:42:03 +0000 https://quantasticresearch.com/?p=623 NumPy (short for numerical Python) is a useful library for mathematics and data science, specifically for working with arrays of data. In this post I want to detail, with examples, some common ways to create NumPy arrays. These range from creating arrays with Python lists to using built-in NumPy commands for standard arrays (like ones […]

The post A Comprehensive Guide for Creating NumPy Arrays appeared first on Quantastic Research.

]]>
Working with TOML Files in Python https://quantasticresearch.com/python/working-with-toml-files-in-python/ Tue, 27 Feb 2024 18:06:54 +0000 https://quantasticresearch.com/?p=593 TOML files (Tom’s Obvious Minimal Language) are the brain-child of Mr. Tom Preston-Werner. They were developed as an alternative configuration file format that is easily readable by humans. The dictionary-like structure lends itself to usage with the Python programming language. In this article we’ll explore the basics of working with TOML files using Python. Specifically, […]

The post Working with TOML Files in Python appeared first on Quantastic Research.

]]>