Using The Python Programming Language

Image for post
Image for post

Disclaimer: The material in this article is purely educational and should not be taken as professional investment advice. Invest at your own discretion.

What Are Stock Market Technical Indicators ?

Stock market technical indicators are signals used to interpret stock or financial data trends to attempt to predict future price movements within the market. Stock indicators help investors to make trading decisions.

Types of Technical Indicators

Simple Moving Average (SMA): A simple moving average is a technical trend indicator that can aid in determining if an asset price will continue or if it will reverse a bull or bear trend. A simple moving average can be enhanced as an exponential moving average (EMA) that is more heavily weighted on recent price action. …


Web scraping to get the price of cryptocurrencies (bitcoin, litecoin, etc.)

Image for post
Image for post

In this article, I will show you how to get the price of cryptocurrencies in real time using the python programming language. Cryptocurrencies like Bitcoin, Litecoin, and Etherium are digital assets designed to work as a medium of exchange on a widely distributed database that doesn’t belong to one specific person or company.

Their are many free available API’s on the web that you can use as an alternative to scraping the web to get the price of cryptocurrencies, but we won’t be using any of those free API’s in this article. …


Algorithmic Trading Using the DEMA indicator

Image for post
Image for post

Disclaimer: The material in this article is purely educational and should not be taken as professional investment advice. Invest at your own discretion.

The Double Exponential Moving Average or DEMA for short is a technical indicator that uses two exponential moving averages (EMA) to get rid of lag. It was brought to light in an article by Patrick Mulloy called “Smoothing Data With Faster Moving Averages”.

How To Calculate DEMA ?

To Calculate DEMA, you can use a simple formula. The formula Gets the Exponential Moving Average for N-look back periods, let’s call this EMA1. …


Build a fake /real news data set !

Image for post
Image for post

In this article, I will show you how to create your very own data set that contains false/fake and true/real news by scraping a political website called PolitiFact.com using python ! You can later use this data set for other projects like creating models to detect fake news.

Fake news is information that is untrue represented as news. Many times it is used and created to damage the reputation of a person or entity, or to make money. It would be nice to be able to detect fake news using a simple model, but before that can happen, I need data to train my model on, hence this article. …


What are the top 5 highest paying programming languages ?

Image for post
Image for post

Becoming a developer and learning different programming languages can be a lucrative profession. Most developer jobs pay well, but I want to focus on the programming languages that pays developers exceptionally well, so in this article I will be naming what I believe to be the top 5 highest paying programming languages that you should learn if you are interested in obtaining a high paying job.

Mind you the 5 programming languages that I am listing are my opinion based off of some facts through research and personal experiences. …


Using The Python Programming Language

Image for post
Image for post

Have you ever wanted to take a PDF file that you were reading and simply give it to some program and have that program read the contents of the PDF file to you ? Well, if you are like me and you wanted a program like this, then you are in luck because in this article, I will attempt to convert a PDF file to an audio book using the python programming language.

So, exactly what is a PDF file ? Well PDF stands for Portable Document Format and it is a file format developed by Adobe. It was used to present documents (text & images) that could not be modified but still easily shared and printed. …


Scrape the web using Python

Image for post
Image for post

As with most interesting projects, this one started with a simple question: where can I get all of the stock symbols and company names for my portfolio? Well, the obvious answer was to gather the data myself from the web !

This brings us to this article where I will show you how to gather stock symbols/tickers and their associated company names from the web.

Understanding The Thought Process Before Programming

First, I need to find a website that contains the data I want. A website that has some of the data I want to scrape is:(https://www.advfn.com/nyse/newyorkstockexchange.asp?companies=A)

This site seems like it would have a good amount of stock symbols/tickers and the associated company name. But looking at the website, I can see that it is missing some data from the New York Stock Exchange (NYSE), but that’s okay as this is just a small project and it doesn’t need to be perfect and contain every single stock from the stock exchange. …


How the worlds largest restaurant chain has been using technology and data to increase speed, profit, reduce labor & increase sells

Image for post
Image for post

McDonald’s Corporation is an American fast food company, founded in 1940 as a restaurant operated by Richard and Maurice McDonald, in San Bernardino, California, United States. They rechristened their business as a hamburger stand, and later turned the company into a franchise, with the Golden Arches logo being introduced in 1953 at a location in Phoenix, Arizona. In 1955, Ray Kroc, a businessman, joined the company as a franchise agent and proceeded to purchase the chain from the McDonald brothers. McDonald’s had its original headquarters in Oak Brook, Illinois, but moved its global headquarters to Chicago in June 2018. …


Use Bollinger Bands to Determine When To Buy & Sell Stock

Image for post
Image for post

Disclaimer: The material in this article is purely educational and should not be taken as professional investment advice. Invest at your own discretion.

A Bollinger Band is a technical analysis tool defined by a set of trendlines plotted two standard deviations (positively and negatively) away from a moving average like a simple moving average (SMA) of a security’s price, this can be adjusted to a users preference however.-investepdia.com

Bollinger Bands: Three Main Components

  • Upper Band: The upper band is just two standard deviations above the moving average of a stock’s price.
  • Middle Band: The middle band is just the moving average of the stock’s price. There are many different types of moving averages, for this article I will be using a Simple 20-day Moving Average. …


Build A Monty Hall Problem Simulation Using Python

Image for post
Image for post

In this article, I will show you how to create a python program that simulates a popular problem called the Monty Hall problem to show once and for all that the problem solved by Steve Selvin is indeed correct.

The Monty Hall problem is a brain teaser, in the form of a probability puzzle, loosely based on the American television game show Let’s Make a Deal and named after its original host, Monty Hall.

The problem was originally posed (and solved) in a letter by Steve Selvin to the American Statistician in 1975 (Selvin 1975a), (Selvin 1975b). It became famous as a question from a reader’s letter quoted in Marilyn vos Savant’s
“Ask Marilyn” column in Parade magazine in 1990 (vos Savant 1990a)
—…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store