Implementation of Python-Based Topsis Method for Best Stock Selection Analysis Using Yahoo Finance
English
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.
Downloads
References
C. G. Pratama and E. Jaelani, “Perlindungan Hukum Terhadap Investor Dalam Investasi Reksa Dana,” Binamulia Hukum, vol. 12, no. 2, pp. 369–379, Nov. 2023, doi: 10.37893/jbh.v12i2.429.
A. Harmaen and B. Santoso, “VALUASI SAHAM MENGGUNAKAN METODE DIVIDEN DISCOUNT MODEL UNTUK MENENTUKAN NILAI INTRINSIK PADA INDEKS LQ45,” Journal of Economic, Business and Accounting, vol. 7, no. 6, pp. 544–557, 2024, doi: https://doi.org/10.31539/costing.v7i6.12549.
Gusni, “Studi Tentang Pentingnya Analisis Fundamental Saham,” 2015. [Online]. Available: http://www.stiestembi.ac.id
Ibnu Syamsi, “Pengambilan keputusan dan sistem informasi,” Bumi Aksara, pp. 1–212, 2015.
H. Pasolong, Teori Pengambilan Keputusan, 1st ed. ALFABETA, 2023. [Online]. Available: www.cvalfabeta.com
I. G. I. Sudipa et al., Sistem Pendukung Keputusan, 1st ed. PT. Mifandi Mandiri Digital, 2023.
M. M. Yusufy and A. A. Mutaqqin, “ANALISIS FAKTOR-FAKTOR YANG MEMPENGARUHI KEPUTUSAN INVESTASI SAHAM SYARIAH: STUDI KASUS MAHASISWA DI MALANG,” Jul. 2024. [Online]. Available: https://jurnal.kolibi.org/index.php/neraca/article/view/2820/2724
Z. Yani, D. Gusmita, and N. Pohan, “SISTEM PENDUKUNG KEPUTUSAN PENERIMAAN KARYAWAN MENGGUNAKAN METODE TOPSIS,” vol. 2, pp. 205–210, Jun. 2022, [Online]. Available: http://jurnal.goretanpena.com/index.php/JSSR
C. Wijayanto and Y. A. Susetyo, “IMPLEMENTASI FLASK FRAMEWORK PADA PEMBANGUNAN APLIKASI SISTEM INFORMASI HELPDESK (SIH),” Sep. 2022. doi: https://doi.org/10.29100/jipi.v7i3.3161.
Y. T. Bota and N. Setiyawati, “Pengembangan Sistem Informasi Perantara Bisnis Menggunakan Framework Flask,” Aug. 2022. [Online]. Available: https://journal-computing.org/index.php/journal-ita/index
A. M. Yudha and A. B. Cahyono, “Pengembangan Back End Menggunakan Laravel Lumen (Studi Kasus: Teknologi.id Event),” Aug. 2022. [Online]. Available: https://journal.uii.ac.id/AUTOMATA/article/view/24200/14020
C. Chastro and E. Darmawan, “Perbandingan Pengembangan Front End Menggunakan Blade Template dan Vue Js,” Nov. 2020. [Online]. Available: https://strategi.itmaranatha.org/index.php/strategi/article/view/181/88
A. Andaru, “PENGERTIAN DATABASE SECARA UMUM,” 2018.
M. Aswiputri, “LITERATURE REVIEW DETERMINASI SISTEM INFORMASI MANAJEMEN: DATABASE, CCTV DAN BRAINWARE,” JEMSI, vol. 3, no. 3, pp. 312–322, Jan. 2022, doi: 10.31933/jemsi.v3i3.
J. M. Hasan, L. D. Septiningrum, A. R. F. Chaery, T. A. Abdurachman, and A. L. Prawirayudha, “Hal (118-125) @Prodi Manajemen Fakultas Ekonomi Universitas Pamulang,” vol. 2, no. 1, Jan. 2021, [Online]. Available: https://core.ac.uk/download/pdf/387552251.pdf
R. Laipaka, “PENERAPAN TEKNOLOGI INFORMASI PEMBELAJARAN E-LEARNING MENGGUNAKAN ADDIE MODEL,” Apr. 2017. doi: https://doi.org/10.5281/zenodo.3411828.
R. Rohmanto and T. Setiawan, “Perbandingan Efektivitas Sistem Pembelajaran Luring dan Daring Menggunakan Metode Use case dan Sequence Diagram,” INTERNAL (Information System Journal, vol. 5, no. 1, pp. 53–62, Jun. 2022, doi: 10.32627.
T. Arianti, A. Fa’izi, S. Adam, and M. Wulandari, “PERANCANGAN SISTEM INFORMASI PERPUSTAKAAN MENGGUNAKAN DIAGRAM UML (UNIFIED MODELLING LANGUAGE),” Feb. 2022. [Online]. Available: https://download.garuda.kemdikbud.go.id/article.php?article=3053203&val=27786&title=PERANCANGAN%20SISTEM%20INFORMASI%20PERPUSTAKAAN%20MENGGUNAKAN%20DIAGRAM%20UML%20UNIFIED%20MODELLING%20LANGUAGE
A. R. Putri, A. Hafizhah, F. H. Rahmah, R. Muslikhah, and S. Nabila, “Pemodelan Diagram UML Pada Perancangan Sistem Aplikasi Konsultasi Hewan Peliharaan Berbasis Android (Studi Kasus: Alopet),” Jurnal Ilmu Komputer dan Bisnis, vol. 12, no. 2, pp. 130–139, Nov. 2021, doi: https://doi.org/10.47927/jikb.v12i2.150.
Harliana and W. Widayani, “ANALISIS DEMPSTER SHAFER PADA SISTEM PAKAR PENDETEKSI PENYAKIT ISPA,” Feb. 2019. doi: https://doi.org/10.61805/fahma.v17i2.97.
C. N. Paradis, M. R. Yusuf, M. Farhanudin, and M. A. Yaqin, “Analisis dan Perancangan Software Pengukuran Metrik Skala dan Kompleksitas Diagram Class,” Jun. 2022. doi: https://doi.org/10.47134/jacis.v2i1.40.
K. ’Afiifah, Z. F. Azzahra, and A. D. Anggoro, “Analisis Teknik Entity-Relationship Diagram dalam Perancangan Database: Sebuah Literature Review,” JURNAL INTECH, vol. 3, no. 1, pp. 8–11, May 2022, [Online]. Available: http://journal.unbara.ac.id/index.php/INTECH
F. S. Halim and T. Gantini, “Model Perancangan Aplikasi Konsultasi Pengobatan Herbal,” Nov. 2021. [Online]. Available: https://mail.strategi.it.maranatha.edu/index.php/strategi/article/view/290/194
W. Firgiawan, N. Zulkarnaim, and S. Cokrowibowo, “Komparasi Algoritma SAW, AHP, dan TOPSIS dalam Penentuan Uang Kuliah Tunggal (UKT),” JCIS (Journal of Computer and Information System), vol. 1, no. 2, pp. 1–11, Oct. 2019, doi: 10.31605/jcis.v2i1.
Derisma, Firdaus, and P. R. Yusya, “PERANCANGAN IKAT PINGGANG ELEKTRONIK UNTUK TUNANETRA MENGGUNAKAN MIKROKONTROLLER DAN GLOBAL POSITIONING SYSTEM (GPS) PADA SMARTPHONE ANDROID,” Jurnal Teknik Elektro ITP, vol. 5, no. 2, Jul. 2016.
Y. Miftahuddin, S. Umaroh, and F. R. Karim, “PERBANDINGAN METODE PERHITUNGAN JARAK EUCLIDEAN, HAVERSINE, DAN MANHATTAN DALAM PENENTUAN POSISI KARYAWAN,” Jurnal Tekno Insentif, vol. 14, no. 2, pp. 69–77, Oct. 2020, doi: 10.36787/jti.v14i2.270.
T. Kristiana, “Sistem Pendukung Keputusan Dengan Menggunakan Metode TOPSIS Untuk Pemilihan Lokasi Pendirian Grosir Pulsa,” no. 1, Mar. 2018.
Copyright (c) 2024 Kristian Gunawan, Ikrimach Ikrimach
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
This is an open-access article distributed under the terms of the Creative Commons Attribution-ShareAlike 4.0 International License which permits unrestricted use, distribution, and reproduction in any medium. Users are allowed to read, download, copy, distribute, search, or link to full-text articles in this journal without asking by giving appropriate credit, provide a link to the license, and indicate if changes were made. All of the remix, transform, or build upon the material must distribute the contributions under the same license as the original.