IdeaCredIdeaCred

galafis/ml-trading-signals

70

Machine learning system for generating trading signals using XGBoost, LightGBM, and ensemble methods. Features 40+ technical indicators, MLflow tracking, and FastAPI inference API.

What's novel

Machine learning system for generating trading signals using XGBoost, LightGBM, and ensemble methods. Features 40+ technical indicators, MLflow tracking, and FastAPI inference API.

Code Analysis

5 files read · 2 rounds

A Python-based machine learning system that ingests historical data for Brazilian stocks, applies technical indicators, trains models (XGBoost/RF), and serves predictions via a FastAPI endpoint.

Strengths

Clear separation of concerns between feature engineering, model training, and API serving. The codebase is well-structured with distinct modules for data preparation, indicator calculation, and pipeline orchestration. Good use of standard libraries (pandas, scikit-learn) and MLflow for experiment tracking.

Weaknesses

Lack of comprehensive unit tests; error handling is basic (e.g., generic try/except blocks without specific exception types). The novelty is limited as it follows a standard ML pipeline pattern without unique algorithmic contributions. Some data preprocessing steps (scaling, target engineering) are somewhat generic.

Score Breakdown

Innovation
3 (25%)
Craft
66 (35%)
Traction
14 (15%)
Scope
74 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+0

Craft

Ci-1
Tests+8
Polish+1
Releases+0
Has License+5
Code Quality+19
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+2
Has Dependency Mgmt+5

Traction

Forks+6
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+2

Scope

Commits+7
Languages+5
Subsystems+10
Bloat Penalty+0
Completeness+7
Contributors+6
Authored Files+12
Readme Code Match+3
Architecture Depth+5
Implementation Depth+8

Evidence

Commits

26

Contributors

2

Files

31

Active weeks

5

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

1

License

MIT