The Science and Information (SAI) Organization
  • Home
  • About Us
  • Journals
  • Conferences
  • Contact Us

Publication Links

  • IJACSA
  • Author Guidelines
  • Publication Policies
  • Outstanding Reviewers

IJACSA

  • About the Journal
  • Call for Papers
  • Editorial Board
  • Author Guidelines
  • Submit your Paper
  • Current Issue
  • Archives
  • Indexing
  • Fees/ APC
  • Reviewers
  • Apply as a Reviewer

IJARAI

  • About the Journal
  • Archives
  • Indexing & Archiving

Special Issues

  • Home
  • Archives
  • Proposals
  • ICONS_BA 2025

Computer Vision Conference (CVC)

  • Home
  • Call for Papers
  • Submit your Paper/Poster
  • Register
  • Venue
  • Contact

Computing Conference

  • Home
  • Call for Papers
  • Submit your Paper/Poster
  • Register
  • Venue
  • Contact

Intelligent Systems Conference (IntelliSys)

  • Home
  • Call for Papers
  • Submit your Paper/Poster
  • Register
  • Venue
  • Contact

Future Technologies Conference (FTC)

  • Home
  • Call for Papers
  • Submit your Paper/Poster
  • Register
  • Venue
  • Contact
  • Home
  • Call for Papers
  • Editorial Board
  • Guidelines
  • Submit
  • Current Issue
  • Archives
  • Indexing
  • Fees
  • Reviewers
  • RSS Feed

DOI: 10.14569/IJACSA.2025.0161268
PDF

Feature Engineering for Machine Learning-Based Trading Systems Using Decision Tree, Random Forest, and Gradient Boosting

Author 1: Nugroho Agus Haryono
Author 2: Yuan Lukito
Author 3: Aditya Wikan Mahastama

International Journal of Advanced Computer Science and Applications(IJACSA), Volume 16 Issue 12, 2025.

  • Abstract and Keywords
  • How to Cite this Article
  • {} BibTeX Source

Abstract: Machine learning-based trading systems require the selection and creation of features that crucially determine the performance level of the trading system. This study introduces an asset-specific, correlation-based feature selection approach for machine learning–based stock trading models. The research conducts a systematic evaluation of the influence of lookup period, the number of features from technical analysis, and feature selection on the performance of trading systems using tree-based algorithms: Decision Tree, Random Forest, and Gradient Boosting. The performance of the trading system was measured using the backtesting method, with metrics such as total return, win rate ratio, and profit factor. The research steps included selecting stocks with the largest market capitalization in the financial sector, which are included in the banking index. Historical data on the prices of these stocks was obtained from Yahoo! Finance for the years 2014-2025. The historical data was then divided into two parts, namely the in-sample dataset (2014-2024 time period) and the out-of-sample dataset (2025 time period). Each part of the data was supplemented with features from technical analysis and several other additional features. Trading signals are determined based on a profit target of +4% and a loss limit of –2% in a lookup period of 2 to 10 days. The results show that the ML strategy consistently outperforms the buy-and-hold strategy, with Gradient Boosting generating the highest return (37.443%). Spearman correlation-based feature selection per stock improves the performance of the strategy compared to uniform features.

Keywords: Feature engineering; machine learning; trading system; decision tree; Random Forest; Gradient Boosting

Nugroho Agus Haryono, Yuan Lukito and Aditya Wikan Mahastama. “Feature Engineering for Machine Learning-Based Trading Systems Using Decision Tree, Random Forest, and Gradient Boosting”. International Journal of Advanced Computer Science and Applications (IJACSA) 16.12 (2025). http://dx.doi.org/10.14569/IJACSA.2025.0161268

@article{Haryono2025,
title = {Feature Engineering for Machine Learning-Based Trading Systems Using Decision Tree, Random Forest, and Gradient Boosting},
journal = {International Journal of Advanced Computer Science and Applications},
doi = {10.14569/IJACSA.2025.0161268},
url = {http://dx.doi.org/10.14569/IJACSA.2025.0161268},
year = {2025},
publisher = {The Science and Information Organization},
volume = {16},
number = {12},
author = {Nugroho Agus Haryono and Yuan Lukito and Aditya Wikan Mahastama}
}



Copyright Statement: This is an open access article licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, even commercially as long as the original work is properly cited.

IJACSA

Upcoming Conferences

Computer Vision Conference (CVC) 2026

21-22 May 2026

  • Amsterdam, The Netherlands

Computing Conference 2026

9-10 July 2026

  • London, United Kingdom

Artificial Intelligence Conference 2026

3-4 September 2026

  • Amsterdam, The Netherlands

Future Technologies Conference (FTC) 2026

15-16 October 2026

  • Berlin, Germany
The Science and Information (SAI) Organization
BACK TO TOP

Computer Science Journal

  • About the Journal
  • Call for Papers
  • Submit Paper
  • Indexing

Our Conferences

  • Computer Vision Conference
  • Computing Conference
  • Intelligent Systems Conference
  • Future Technologies Conference

Help & Support

  • Contact Us
  • About Us
  • Terms and Conditions
  • Privacy Policy

The Science and Information (SAI) Organization Limited is a company registered in England and Wales under Company Number 8933205.