← Search

Data · dataset · 2025

Replication data for: study of economic variables for stock market trend prediction via machine learning

Listed in REDU - Unicamp Institutional Research Data Repository

This package contains the input datasets, experimental results, and source codes developed during the scientific initiation research project entitled Study of Economic Variables for Stock Market Trend Prediction via Machine Learning, funded by FAPESP and conducted at the Universidade Estadual de Campinas (UNICAMP).

Description

The following files are included: File Data_ExperimentalInputs.zip: contains all the input datasets used throughout the research.

This includes historical stock price data (obtained via the Yahoo Finance API), macroeconomic indicators (e.g., SELIC, IPCA, PIB), and microeconomic indicators (e.g., ROE, P/L, VPA) used as features in the machine learning models. This data is already preprocessed and ready for use. File Data_ExperimentalResults.zip: includes the complete experimental results, such as model evaluation metrics (MAE, MSE, RMSE, R²), prediction graphs, comparison tables of different strategies (including the proposed method and the buy-and-hold approach), and return simulations.

Read the rest (3 more)

File SourceCodes.zip: contains all the Python source codes used in the study, structured into the following subfolders: CodigosExperimentoFeatures: scripts and notebooks implementing the main experiments using different combinations of input features (price only, macro, micro, and combined). ExperimentoKfold: same experiments as above, but with K-Fold cross-validation to assess the generalization capacity of the models.

ExperimentosPadrao: baseline models trained only with previous stock prices, used as a reference point for performance comparisons. CodigosTrade: scripts used to simulate the investment strategy based on the model forecasts and to calculate portfolio performance. Resultados: output files generated by the code, including result tables, CSVs, and graphical analyses.

This organization ensures full transparency and reproducibility of all the steps of the research, from data preparation to each strategy evaluation.

Links

Where it is published

Catalogue records · 1

Topics

Provenance · 1 source records, 10 field assertions
SourceKeyLast seenRaw
REDU - Unicamp Institutional Research Data Repositorydoi:10.25824/redu/LISCF212 d agoJSON v1
FieldAssertionExtractorEvidence
concepts[field].anzsrc:group:4611mapping · redu unicamp brvocabulary-mapper@1.0.0keywords['Machine learning']
concepts[field].dataverse_subject:computer-and-information-sciencesource · redu unicamp brconnector:redu_unicamp_br@1.0.0/subjects
concepts[field].local:field:computer-science-aimapping · redu unicamp brconnector:redu_unicamp_br@1.0.0/subjects
concepts[field].local:field:economics-financemapping · redu unicamp brconnector:redu_unicamp_br@1.0.0/subjects
created_datesource · redu unicamp brconnector:redu_unicamp_br@1.0.0
descriptionsource · redu unicamp brconnector:redu_unicamp_br@1.0.0/description
publication_datesource · redu unicamp brconnector:redu_unicamp_br@1.0.0
titlesource · redu unicamp brconnector:redu_unicamp_br@1.0.0/name
updated_datesource · redu unicamp brconnector:redu_unicamp_br@1.0.0
version_labelsource · redu unicamp brconnector:redu_unicamp_br@1.0.0