Implementation of Python-Based Topsis Method for Best Stock Selection Analysis Using Yahoo Finance

  • Gunawan K
  • Ikrimach I
N/ACitations
Citations of this article
15Readers
Mendeley users who have this article in their library.

Abstract

This study developed a web-based application implementing the TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) method for stock investment analysis and recommendations. The application was built using the Flask framework and integrated with the Yahoo Finance API for real-time stock data retrieval. The TOPSIS method evaluated stock alternatives based on criteria such as closing price, P/E ratio, revenue growth, and dividend per share. Testing included functional evaluation, response time analysis, and simulations of three investor scenarios: High Risk-High Return, Low Risk-Low Return, and Balanced. Results indicate that the application effectively delivers stock recommendations aligned with investor preferences, achieving an average response time of 1–4 seconds per feature. Simulations highlight its adaptability in adjusting criteria weights to match different risk profiles. Despite limitations due to external API dependencies, the application demonstrates effectiveness as a decision support tool for stock investment, offering accessibility and flexibility to investors.

Cite

CITATION STYLE

APA

Gunawan, K., & Ikrimach, I. (2024). Implementation of Python-Based Topsis Method for Best Stock Selection Analysis Using Yahoo Finance. JURNAL TEKNOLOGI DAN OPEN SOURCE, 7(2), 125–137. https://doi.org/10.36378/jtos.v7i2.3873

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free