ML-HFT
High frequency trading (HFT) framework built for futures using machine learning and deep learning techniques.
bradleyboyuyang/ML-HFT is ranked 16,090 with 612 stars.
bradleyboyuyang/ML-HFT is ranked 16,090 among these 8 peers; cpaczek/any-buddy is ranked 16,091.
| Name | Rank | Metrics |
|---|---|---|
| abielzulio/chatgpt-raycast | 16,066 |
|
| mololab/json-translator | 16,071 |
|
| reriiasu/speech-to-text | 16,075 |
|
| sdcb/chats | 16,076 |
|
| cpaczek/any-buddy | 16,091 |
|
| criptogus/HermesOffice | 16,092 |
|
| daniel3303/ClaudeCodeStatusLine | 16,095 |
|
| saimj7/People-Counting-in-Real-Time | 16,108 |
|
| Parameter | Value |
|---|---|
| Language | Jupyter Notebook |
| Category | Applications |
| Subcategory | Specialists |
| Keywords | Finance, Trading |
| Stars | 612 |
| Forks | 144 |
| Contributors | 1 |
| Created date | 2022-03-14 |
| Updated date | 2026-10-12 |
| Stars in 1 day | 0 |
| Stars in 7 days | -1 |
| Rank | 16,090 |
| Previous rank | 15,888 |
| Rank change | -202 |
| 7-day stars rank | 17,855 |
| Previous 7-day stars rank | 17,808 |
| 7-day stars rank change | -47 |
| Total stars rank | 16,517 |
| Previous total stars rank | 16,497 |
| Total stars rank change | -20 |
| Country | USA |
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. 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.
How many stars and forks are recorded?
bradleyboyuyang/ML-HFT has 612 stars and 144 forks.
What is the repository rank?
bradleyboyuyang/ML-HFT is ranked 16,090.
What language and category are recorded?
bradleyboyuyang/ML-HFT has 612 stars, uses Jupyter Notebook and belongs to Applications.
Which repository is closest in rank?
bradleyboyuyang/ML-HFT is compared with cpaczek/any-buddy, ranked 16,091 with 612 stars.