Back To Top

Dynamic Triangular Currency Arbitrage
October 7, 2024

Dynamic Triangular Currency Arbitrage

Automating Currency Arbitrage Triangular Currency Arbitrage exploits price discrepancies across three currency pairs. Traders can profit by executing a series of currency exchanges that loop back to the original currency to take advantage of small
Forecasting Volatility with a GARCH-VAR Model
September 23, 2024

Forecasting Volatility with a GARCH-VAR Model

Volatility Predictions with External Variables and Confidence Intervals Volatility forecasting is highly beneficial when pricing derivatives and or making risk management decisions. In this article, we apply a hybrid GARCH-VAR model specifically designed for forecasting rolling
Calculate The Fair Value of Stocks Using DCF with Public Data
August 23, 2024

Calculate The Fair Value of Stocks Using DCF with Public

Estimating Instrinsic Value Programmatically with Yahoo Finance Calculating the fair value of stocks is an essential part of an investor’s due diligence toolkit. The Discounted Cash Flow model allows analysts to estimate a company’s intrinsic
Identifying a Volatility Squeeze Algorithmically
August 20, 2024

Identifying a Volatility Squeeze Algorithmically

Signal Generation Using Bollinger Bands and Keltner Channels As a trader, one of the patterns to look for is a volatility squeeze. This occurs when market volatility tightens, often shown by the Bollinger Bands and
Speech Emotion Recognition with SpeechBrain
August 1, 2024

Speech Emotion Recognition with SpeechBrain

A Practical Approach to Analyzing Emotions Over Time in Speech With the upcoming release of advanced voice methods by OpenAI, we’d like to explore what open-source technology is currently available for speech emotion recognition. Specifically, 
Estimating Conditional Probability of Price Movements
July 18, 2024

Estimating Conditional Probability of Price Movements

Probability Of Price Changes Occurring Conditional On Initial Price Changes Conditional probability helps us understand the likelihood of an event occurring, given that another event has already occurred. In the context of assets prices, this
Multi-objective Portfolio Optimization
July 15, 2024

Multi-objective Portfolio Optimization

Portfolio optimization across multiple factors – Dividends, Returns, Volatility, CVaR, and more Multi-objective Portfolio optimization  considers multiple objectives simultaneously, such as maximizing returns, minimizing risk, and enhancing diversification, to build a portfolio that aligns with
U.S. Treasury Yield Curve as a Key Economic Indicator
July 9, 2024

U.S. Treasury Yield Curve as a Key Economic Indicator

Yield Data Retrieval, Curve Interpretation, Spreads, Correlations, and Regime Shifts The yield curve, a plot of Treasury bond yields across different maturities, serves as a crucial economic indicator. It reflects investor expectations about future interest
Automatic Pairs Trading and Identification
June 17, 2024

Automatic Pairs Trading and Identification

Identify and Trade Cointegrated Pairs Pairs trading is a market-neutral trading strategy that involves matching a long position with a short position in two assets with a high correlation. This strategy aims to exploit relative
Fine-tuning Idefics2 VLM for Document VQA
June 10, 2024

Fine-tuning Idefics2 VLM for Document VQA

An Open State-of-the-Art Vision-Language Foundation Model Idefics2, the latest iteration, builds on the success of Idefics1 with enhanced Optical Character Recognition (OCR) abilities, improved architecture, and superior performance on Visual Question Answering (VQA) benchmarks. With
Can YOLO Predict Stock Market Ups and Downs?
May 30, 2024

Can YOLO Predict Stock Market Ups and Downs?

Exploring the Application of YOLO for predicting Market Ups and Downs Predicting market movements is crucial for traders and analysts. Traditional methods often fall short due to their manual and error-prone nature. The application of
Financial Due Diligence with LLMs and AI
May 23, 2024

Financial Due Diligence with LLMs and AI

Accelerating Business Knowledge Acquisition For Investments Financial due diligence is crucial for making informed investment decisions. Traditionally, this process involved labor-intensive manual analysis of financial documents. However, integrating Large Language Models (LLMs) can transform financial
Candlestick Pattern Recognition with YOLO
May 21, 2024

Candlestick Pattern Recognition with YOLO

Implementation of a Fine-tuned YOLOv8 for Stock Price Patterns Identification Candlestick pattern recognition is a useful tool in technical analysis for traders. However, the manual identification of these patterns is time-consuming and prone to human
Introduction to Large Action Models – The Next AI Frontier
May 12, 2024

Introduction to Large Action Models – The Next AI Frontier

Large Action Models for Automation Conventional language models extend their capabilities through Large Action Models (LAMs) incorporating mechanisms that enable direct interaction with digital and physical environments. Sectors like healthcare, finance, and customer service would
Tracking Congress Stock Trades in Python
May 3, 2024

Tracking Congress Stock Trades in Python

Who, What, and When: Transactional-Level Analysis of Senators’ Trades with Accuracy Measuremenets and Trends Through the FMP API and the SEC website Members of the U.S. Congress trade stocks, potentially leading to conflicts of interest. For
Fine-Tuning Phi-3 with Hugging Face
May 2, 2024

Fine-Tuning Phi-3 with Hugging Face

A Highly Capable Language Model Fine-tuning Phi-3, a compact yet powerful AI model, has emerged as a powerful technique. Fine-tuning allows Phi-3 to specialize for specific tasks and domains. The Phi-3 series targets efficient AI
Fine-Tuning LayoutLMv2 for Document Question Answering
April 20, 2024

Fine-Tuning LayoutLMv2 for Document Question Answering

A Step-by-Step Guide to Optimizing LayoutLMv2 for Enhanced Domain-Specific Document Question Answering Efficiency Document question answering (DQA) plays a key role in various tasks, allowing us to efficiently retrieve information from documents. However, traditional DQA
Automating Scientific Knowledge Retrieval with AI in Python
April 12, 2024

Automating Scientific Knowledge Retrieval with AI in Python

End-to-End Guide for Developing a Research Chatbot with OpenAI functions Capable of Semantic Search Across Arxiv The vast amount of scientific publications today challenges effective knowledge retrieval. Researchers, academics, and professionals need innovative methods to stay updated.
Optimizing Portfolios with Hierarchical Risk Parity
March 26, 2024

Optimizing Portfolios with Hierarchical Risk Parity

Advanced Strategy to Account for Correlations, Risk, and Returns in your Portfolio Leveraging Hierarchical Structures Portfolio managers have traditionally used Markowitz’s Mean-Variance Optimization, the backbone of modern portfolio theory. Yet, as the investment landscape changes,
Top 9 Volume Indicators in Python
March 15, 2024

Top 9 Volume Indicators in Python

End-to-end Implementation with buy and sell signals. Indicators include VPT, VROC, CMF, Klinger Oscillator and VROC In this article, we delve into the practical application of various key volume indicators, providing a complete end-to-end implementation in
Top 6 Momentum Indicators in Python
March 15, 2024

Top 6 Momentum Indicators in Python

End-to-end Implementation with buy and sell signals. Indicators include Awesome Oscillator, RSI, ROC, CCI and Stochastic Oscillator Momentum trading, which hinges on the continuation of existing market trends, has always been very popular among financial
Top 6 Trend Indicators in Python
March 13, 2024

Top 6 Trend Indicators in Python

End-to-end Implementation with buy and sell signals Trend indicators, a key component in technical analysis, offer insights into market directions and strength, allowing traders to make informed decisions. While the theoretical understanding of these indicators
AI Image Analysis with BLIB, YOLOv9, ViT, and CLIP
March 13, 2024

AI Image Analysis with BLIB, YOLOv9, ViT, and CLIP

Image Analysis with AI by Automating Captions, Detection and Similarity Search in Python Recently, image analysis with AI has witnessed significant advancements, particularly driven by the rapid evolution of artificial computational technologies. As a result,
Top 6 Volatility Indicators in Python
March 8, 2024

Top 6 Volatility Indicators in Python

End-to-end Implementation with buy and sell signals. Indicators include Keltner Channels, Relative Volatility Index, and more Understanding volatility is crucial in the financial markets. It not only signals potential risks but also opens up opportunities for
Cloning Yourself on WhatsApp with AI in Python
February 27, 2024

Cloning Yourself on WhatsApp with AI in Python

Integrating OpenAI and Twilio for Chatbot Interactions Which Mimic Your Chatting Style and Understands Image Inputs Have you ever wished you could clone yourself to keep up with all the WhatsApp messages from your friends, family,
The Art of Crossing Over Moving Averages in Python
February 19, 2024

The Art of Crossing Over Moving Averages in Python

Exploring Different Moving Average Methods and Time Frame Variations for Strategic Advantage Optimization Moving Averages are cornerstone concepts in technical analysis, yet their simplicity belies a deeper utility in trading. Moving averages, in their simplest
8 Trading Indicators in Python you Never Heard of
February 19, 2024

8 Trading Indicators in Python you Never Heard of

Effective Lesser-Known Trading Indicators Implemented - Choppiness, Disparity, Awesome, Three Way, RVI and More Popular indicators often dominate discussions. Yet, lesser-known indicators provide unique market insights. This article explores these obscure but effective trading indicators. Each tool offers
Automating 61 Candlestick Trading Patterns in Python
February 18, 2024

Automating 61 Candlestick Trading Patterns in Python

Towards Real-Time Automated Pattern Recognition using TA-Lib for Precision Pattern Scanning with Historical Accuracy Measures Candlestick patterns, formed by the movement of stock prices over time, offer a visual representation of market sentiment and potential price
Acquiring and Analyzing Earnings Announcements Data in Python
February 17, 2024

Acquiring and Analyzing Earnings Announcements Data in Python

Identifying Today’s Stock Pattern in Historical Data Considering Current Market Conditions and Visualizing Future Movements in Python Earnings announcements provide valuable insights into a company’s financial health and future prospects, swaying market sentiments and shaping
Mining Patterns in Stocks with PCA and DTW
February 17, 2024

Mining Patterns in Stocks with PCA and DTW

Identifying Today’s Stock Pattern in Historical Data Considering Current Market Conditions and Visualizing Future Movements in Python Previously, we showed how Dynamic Time Warping (DTW) could be used in mining patterns from recurring price movements in
Predicting Market Crashes With Topology in Python
February 15, 2024

Predicting Market Crashes With Topology in Python

Beyond Traditional Indicators for Insights Into Market Behavior Every trader dreads market crashes, those moments when the market unexpectedly plunges. One minute everything is smooth, and the next, portfolios turn red. Hours are spent analyzing
Does the Stock Market Overreact, Still?
February 15, 2024

Does the Stock Market Overreact, Still?

Buying Losers and Selling Winners In Python in the Modern Digital Era Have you ever overreacted to something, later reflecting and thinking, ‘Maybe I went a bit overboard’? Now, imagine the stock market — a
Dynamic Risk Management Using Rolling Stock Price Metrics
February 15, 2024

Dynamic Risk Management Using Rolling Stock Price Metrics

15 Time-varying Techniques for Proactive Risk Analytics in Python [Part 1/2] Dynamic risk management, at its core, is the identification, assessment, and prioritization of risks followed by coordinated and economical application of resources to minimize,
Modelling Extreme Stock Market Events With Copulas in Python
February 15, 2024

Modelling Extreme Stock Market Events With Copulas in Python

How Would Your Stocks React to the Next Market Drop? Estimating Portfolio Movements in Different Market Scenarios Traditionally, we’ve leaned on correlation matrices for understanding inter-asset dynamics. Yet, as market crashes of the past have
Identify Key Market Shifts with the Volatility Ratio
February 14, 2024

Identify Key Market Shifts with the Volatility Ratio

Can Volatility Analysis Unveil the Market’s Mood Swings? 1. Introduction We’ve all been there — staring at a stock chart, trying to make sense of those wild price jumps, or just wondering why there’s a
Visualizing Herding Behavior in the Stock Market with Python
February 14, 2024

Visualizing Herding Behavior in the Stock Market with Python

4 Methods for Quantifying the Collective Moves in Stocks An intriguing phenomenon, deeply rooted in behavioral finance, is the concept of ‘herding behavior’. This is where individual investors mimic the actions of the larger crowd, sometimes even
Hurst Exponent on a Rolling Basis in Python
February 13, 2024

Hurst Exponent on a Rolling Basis in Python

Charting Market Rhythms: The Rolling Hurst Exponent in Python Ever tried catching the rhythm of the stock market? If you have, you’d know trends aren’t just about rising and falling arrows on a graph. They’re
Interactive Stock Price Movement Probabilities with Python
February 12, 2024

Interactive Stock Price Movement Probabilities with Python

Dynamic Price Movement Probability 1. Introduction When diving into the financial world, understanding stock price movements is a significant advantage. Here, we present an interactive method that offers insights into the likelihood of stock prices
Interactive Data Analytics in Python with Microsoft LIDA
January 19, 2024

Interactive Data Analytics in Python with Microsoft LIDA

Automatically Going From Raw Data to Insight, Empowering Data-Driven Decisions Much Quicker This article explores LIDA, Microsoft’s innovative tool for interactive data visualization. Uniquely, LIDA harnesses large language models, transforming complex datasets into insightful visual representations.
Uniting LLMs with Knowledge Graphs for Fact-Based Chatbots
January 18, 2024

Uniting LLMs with Knowledge Graphs for Fact-Based Chatbots

An In-Depth End-to-End Tutorial for Structuring Raw Data into Knowledge-Driven AI Chatbots In this article, we skillfully combine the structured, relationship-focused architecture of knowledge graphs with the sophisticated language understanding abilities of LLMs. Knowledge graphs