• Generate Stunning Avatars Using OpenAI APIs

    This post is part of the GenAI Series. So far in the series, we have created AI apps that generate text. In this post, I will introduce OpenAI’s image generation APIs, which can convert a textual prompt into an image and perform many other tasks related to images. I am going to make an app called AvatarAI. It will generate an avatar based on different parameters. Avatars are very common in the digital world. People use them mainly as profile pictures for forums, depicting their digital version. In case you are just interested in watching the demo, you can see it below: Prompt Engineering Like before, we will first create a prompt that…

  • Custom Candlestick patterns

    Design Custom Candlestick Patterns for Signal Generation Using Python

    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…

  • Tracking Ethereum Wallet Balance with GetBlock.io

    In this guide, we’re going to demonstrate how to write and run the simplest script for tracking Ethereum wallet balance with GetBlock’s RPC API. What is Token Ownership? Token ownership is just a digital version of holding an asset. It is similar to holding stocks, currencies, or commodities like gold or silver. Each token is linked to an account (or wallet address), and the balance of tokens in that account reflects ownership.  When you acquire tokens, whether you are buying them on an exchange through trading, getting them as staking rewards, or someone giving you as a gift, they are transferred to the respective wallet addresses and you become their…

  • AI Cover letter generator app

    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,…

  • Candlesticks Pattern Tutorial

    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…

  • Develop a Recipe Generator AI App in PHP Laravel using OpenAI

    This post is part of the GenAI series. Alright, so the first text-based GenAI app that I am going to build is actually an AI-based recipe generator in PHP Laravel using OpenAI APIs. The app will ask about the ingredients and cuisine type and will generate a recipe for you. If you are in a hurry, you can watch the demo of the app below: To build this app, you will need to install Laravel and generate OpenAI API keys. Development Setup To make this app work you need three things: OpenAI API key generation Laravel installation OpenAI Integration OpenAI API Key generation Go to the API Keys section of…

  • 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…

  • Prompt Engnineering Introduction

    Introduction to prompt engineering

    This post is part of the GenAI Series The only way we can interact with an LLM model is by passing an instruction to retrieve a response. That instruction is called a prompt. In this post, we are going to discuss what a prompt is and what prompt engineering entails What is a Prompt A prompt is simply the instruction or question you give to an AI or language model to get a response. Think of it as a way to guide the AI toward the answer or output you want. Imagine you’re talking to a super-smart friend who’s always eager to help but needs a little guidance on what…

  • 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…