This post is part of the T4p Series. In the previous post, I introduced you to Candlestick patterns, explaining what they are and discussing a couple of well-known patterns and their implementation in Python. We will be discussing further famous patterns in coming posts but here we will learn how you can come up with your own candlestick patterns and implement them in Python. Ultimately, we will be using our custom and awesome candlestick pattern to generate signals and print money. Custom Pattern So, what would that custom pattern be? Pretty simple: Bullish: If 3 consecutive candles are green, it triggers a SELL signal. Bearish: If 3 consecutive candles are red, it…
-
-
Develop AI Cover letter generator app in Flask using Gemini API
This post is part of the GenAI Series. In the previous post, I discussed creating a recipe generator AI app in PHP using OpenAI APIs. In this post, I will explain how to use Google’s Gemini LLM APIs to create another text-based AI app: an AI cover letter generator. Let’s dive in! If you are in a hurry you may check the demo video below: I introduced you to Google’s LLM API recently. At that time, it was called Bard, which was later rebranded to Gemini. I automated a WordPress blog with Bard APIs to create financial posts. API Key Generation To use Gemini APIs you need an API Key,…
-
Getting Started with Candlesticks Patterns and Python
This post is part of the T4p Series. In the previous post, I briefly introduced candlesticks and how to detect a bearish and bullish candle in Python. In this post, we are going deeper, discussing candlestick patterns, what they are all about, and how to detect and represent them in Python Introduction As you learned in the previous post, there are mainly two types of candles: Bearish and Bullish. The size of the wick and the body determines what kind of bearish and bullish candle it is. Candlestick patterns visually help traders learn about the price movement to interpret the market sentiments. History Candlestick patterns were developed centuries ago by Japanese…
-
Getting Started with Candlesticks and Python
This post is part of the T4p Series. In this post, we will briefly discuss candlesticks, their basics, types, and how you can use OHLC data to identify them. I’ll aim to keep it short and to the point. What is a CandleStick Candlesticks are graphical representations of price movements in financial markets, typically showing the opening, closing, high, and low prices for a specific time period. History of CandleSticks Candlestick charting has a rich history that dates back centuries. It originated in Japan during the 18th century, long before the advent of modern financial markets as we know them today. The story begins with Munehisa Homma, a Japanese rice…
-
An Introduction to OHLC Data in Python
This post is part of the T4P Series. In this post, we will be discussing OHLC data. OHLC is the abbreviation of Open, High, Low, and Close. We will discuss its working, its importance, and how to access it. So let’s start. What is OHLC Data OHLC data is a common way to represent the price movement of an asset, whether it’s a stock, cryptocurrency, or commodity, during a specific time frame (like an hour, a day, or a week). These four values give you a snapshot of how an asset’s price has fluctuated during that time frame. Let’s break it down: Open: This is the price at which the…
-
Scraping HTML Data with BeautifulSoup [2024 Guide]
Have you ever wondered how to pull out useful information from websites without the hassle? BeautifulSoup is your go-to tool for scraping HTML data effortlessly. In this article, we’ll walk you through the basics of web scraping using BeautifulSoup. No prior experience is needed! With its simple syntax and straightforward approach, you’ll quickly grasp the essentials of parsing HTML and extracting data from web pages. Join us as we explore the world of web scraping in a beginner-friendly way. By the end, you’ll be equipped with the skills to gather valuable insights from any website with ease. Let’s dive in and uncover the magic of BeautifulSoup together! BeautifulSoup Overview You…
-
Getting started with OpenAI Assistant APIs and Python
Earlier I had discussed using OpenAI Embeddings API to come up with a product recommendation system. In this post, I am going to discuss Assistant APIs, The APIs OpenAI provided to integrate custom GPTs. I am going to create a blog title generator in Flask that will be generating blog titles in the tech/gadget space. In case you are in a hurry you may want to watch the demo video of it: What is a custom GPT? According to OpenAI: …ChatGPT that combine instructions, extra knowledge, and any combination of skills. Custom GPTs, as the name says, are the customized versions of chatGPT that rely on your own data and…
-
Building an E-commerce Product Recommendation System with OpenAI Embeddings in Python
Earlier I had written a post about using OpenAI APIs to create a stock sentiment analysis by feeding news to GPT models. In this post, I am going to introduce the concepts of Word Embeddings or Embeddings in general. I am going to write a product recommendation system using OpenAI embeddings API that consumes product-related datasets from Kaggle. If you are in hurry or not interested in technical details, check the demo video below: Before I start developing the system itself, allow me to discuss a few words about embeddings and their need. What are embeddings According to Wikipedia: In natural language processing (NLP), a word embedding is a…
-
Create Your First Real Estate Lead-Capturing Chatbot Using Voiceflow and Python Flask
Introduction Chatbots are essential tools because they make communication between people and technology much easier. These clever programs can answer questions, provide helpful information, and even assist with tasks. In various fields like real estate, chatbots play a crucial role by engaging with potential clients, enhancing user experience, and helping businesses capture valuable leads. They’re like smart assistants who work around the clock, making interactions smoother and more efficient for everyone involved. Chatbots come in different levels of complexity, categorized as either stateless or stateful. Stateless chatbots treat each conversation as if it’s a new interaction with a user, while stateful chatbots can remember and consider past exchanges when generating…
-
Automate Your Finance Blog with WordPress and Google Bard in Python
Introduction Earlier I gave you an overview of how you can you GPT APIs to build a stock sentiment analysis system. In this post, I am going to introduce you to Google Bard, Google’s answer to OpenAI’s chatGPT. Bard has been around for a few months but they recently offered APIs to access their LLM. Initially, they introduced PaLM APIs but very recently they have offered Gemini Pro and Gemini Pro Vision APIs which means that like GPT4 Vision, you can now use Bard APIs to process images. We are not going to discuss image processing capabilities at the moment. I am going to offer a use case where I…