← 开源
bradleyboyuyang

ML-HFT

High frequency trading (HFT) framework built for futures using machine learning and deep learning techniques

ApplicationsSpecialistsJupyter Notebook
在 GitHub 打开
增长势头
+024 小时新增 Star0.0%
612
Star
144
Fork
+-1
本周
1
贡献者
创建于 2022-03-14 · 更新于 2026-10-12 · 今日第 16090 名
主要开发者

bradleyboyuyang/ML-HFT 排名第 16,090,有 612 个星标。

同类别比较

bradleyboyuyang/ML-HFT 排名第 16,090,此处有 8 个同类条目;cpaczek/any-buddy 排名第 16,091。

同类别比较
名称排名指标
abielzulio/chatgpt-raycast16,066
语言:
TypeScript
星标数:
613
分叉数:
50
简介:
ChatGPT raycast extension
mololab/json-translator16,071
语言:
TypeScript
星标数:
613
分叉数:
81
简介:
jsontt 💡 - AI JSON Translator with GPT / Gemma / Mixtral / llama + other FREE translation modules to translate your json/yaml files into other languages ✅ Check Readme ✌ Supports GPT / Gemma / Mixtral / llama / DeepL / Google / Bing / Libre / Argos
reriiasu/speech-to-text16,075
语言:
HTML
星标数:
613
分叉数:
99
简介:
Real-time transcription using faster-whisper
sdcb/chats16,076
语言:
C#
星标数:
613
分叉数:
110
简介:
A powerful and flexible frontend & AI gateway for large language models, supporting 21+ mainstream AI model providers.
cpaczek/any-buddy16,091
语言:
TypeScript
星标数:
612
分叉数:
54
简介:
Hack Claude Code to get any buddy you want
criptogus/HermesOffice16,092
语言:
TypeScript
星标数:
612
分叉数:
83
daniel3303/ClaudeCodeStatusLine16,095
语言:
Shell
星标数:
612
分叉数:
64
简介:
Custom status line for Claude Code showing model, tokens, rate limits, and git info in real-time
saimj7/People-Counting-in-Real-Time16,108
语言:
Python
星标数:
612
分叉数:
283
简介:
People Counting in Real-Time with an IP camera.
关键参数与规格
关键参数与规格
参数值
语言Jupyter Notebook
类别Applications
子类别Specialists
关键词Finance, Trading
星标数612
分叉数144
贡献者1
创建日期2022-03-14
更新日期2026-10-12
1 天星标数0
7 天星标数-1
排名16,090
上次排名15,888
排名变化-202
7 天星标排名17,855
上次 7 天星标排名17,808
7 天星标排名变化-47
总星标排名16,517
上次总星标排名16,497
总星标排名变化-20
国家USA
README 摘录

Target Extract trading signals from level-II orderbook data Predict orderbook dynamics using machine learning and deep learning techniques Data The SGX FTSE CHINA A50 INDEX Futures (新加坡交易所FTSE中国A50指数期货) tick depth data are used.

常见问题

记录了多少星标和分叉?

bradleyboyuyang/ML-HFT 有 612 个星标和 144 个分叉。

仓库排名是多少?

bradleyboyuyang/ML-HFT 排名第 16,090。

记录的语言和类别是什么?

bradleyboyuyang/ML-HFT 有 612 个星标,语言为 Jupyter Notebook,类别为 Applications。

哪个仓库排名最接近?

bradleyboyuyang/ML-HFT 与 cpaczek/any-buddy 比较,后者排名第 16,091,有 612 个星标。

README

High Frequency Trading Framework with Machine/Deep Learning

In this project, we provide a framework/pipeline for high frequency trading using machine/deep learning techniques. More advanced feature engineering (with depth trade and quote data) and models (such as pre-trained models) can be applied in this framework.

Target

  • Extract trading signals from level-II orderbook data
  • Predict orderbook dynamics using machine learning and deep learning techniques

Data

The SGX FTSE CHINA A50 INDEX Futures (新加坡交易所FTSE中国A50指数期货) tick depth data are used.

Strategy Pipline

Orderbook Signals

We use limit orderbook data to develop trading signals, including Depth Ratio, Rise Ratio, and Orderbook Imbalance (OBI).

Price Series

Feature Engineering & HFT Factors Design

  • Simple average depth ratio and OBI:

  • Weighted average depth ratio, OBI, and rise ratio:

Model Fitting

  • Basic Models:

    • RandomForestClassifier
    • ExtraTreesClassifier
    • AdaBoostClassifier
    • GradientBoostingClassifier
    • Support Vector Machines
    • Other classifiers: Softmax, KNN, MLP, LSTM, etc.
  • Hyperparameters:

    • Training window: 30min
    • Test window: 10sec
    • Prediction label: 15min forward

Performance Metrics

  • Prediction accuracy:

  • Prediction Accuracy Series:

  • Cross Validation Mean Accuracy:

  • Best Model:

PnL Visualization

Improvements

Feature Engineering

Other potentially useful signals:

  • volume imbalance signal
  • trade imbalance signal
  • technical indicators of bid and ask series (RSI, MACD...)
  • WAP/WPR, weighted average price, VWAP, TWAP
  • .....

Signal generating techniques:

  • consider different weights on different level of orderbook data for a particular signal
  • consider moving average with period n (hyperparameter)
  • consider weighted average of signals, such as weighted average of trade imbalance and orderbook imbalance
  • Lasso regression, genetic programming
  • .....

Models

This project only provides a baseline. More advanced models are welcomed:

  • CNN
  • GRU/LSTM
  • XGBoost, AdaBoost, GBDT, LightGBM
  • Attention, Auto-encoder
  • TabNet
  • Pre-trained models
  • .....

Performance Metrics

The performance metrics are subject to amendment, including the PnL calculation, commission fee consideration, etc.

排名相邻
同类项目