Skip to content

This project explores the impact of transaction costs on profitability in high-frequency trading (HFT) and passive investment strategies.

Notifications You must be signed in to change notification settings

andreaonorato/Transaction-Cost-Analysis-in-High-Frequency-Trading

Repository files navigation

Transaction Cost Analysis in High-Frequency Trading

Overview

This project explores the impact of transaction costs on profitability in high-frequency trading (HFT) and passive investment strategies. Using a dataset of 1-second trading data for Bitcoin (BTC), Ethereum (ETH), and Cardano (ADA) over a 2-week period, the study analyzes market microstructure, network fees, and trading strategy performance in decentralized exchanges (DEXs).

Key insights include:

  • The influence of trading fees, slippage, and network costs on net profitability.
  • A comparative study of active (HFT) vs passive strategies.
  • The role of market microstructure dynamics and the Epps effect in trading decisions.

Datasets

The study uses high-frequency cryptocurrency limit order book data sourced from Kaggle (https://www.kaggle.com/datasets/martinsn/high-frequency-crypto-limit-order-book-data) While regarding fees the dataset has been built starting from these data:


Results

Key findings:

  • HFT profitability is sensitive to transaction costs, favoring BTC for tighter spreads.
  • Passive strategies perform better under high network congestion due to lower frequency.
  • Correlation insights from the Epps effect can inform portfolio optimization.

How to Use

  1. Clone the repository:
    git clone https://github.com/andreaonorato/Transaction-Cost-Analysis-in-High-Frequency-Trading.git
    cd Transaction-Cost-Analysis-in-High-Frequency-Trading
  2. Install required libraries:
pip install -r requirements.txt

About

This project explores the impact of transaction costs on profitability in high-frequency trading (HFT) and passive investment strategies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •