skip to main content
10.1145/3575882.3575937acmotherconferencesArticle/Chapter ViewAbstractPublication Pagesic3inaConference Proceedingsconference-collections
research-article

Trading Simulation Using Python and Visualization on Streamlit with Machine Learning Decision Tree

Published:27 February 2023Publication History

ABSTRACT

Nowadays, people are starting to have much interest in investing in the stock market and cryptocurrencies to profit. However, at the beginning of 2022, many fraudulent investments, such as illegal trading robots, are persuaded by big profits. People cause a significant loss when trading with the wrong strategies and decisions. Therefore, we need a system that can help simulate trading using technical indicator analysis and machine learning decision trees. Tests carry on several JCI stocks and cryptocurrencies. The simulation result data display as table data and graphs. As a result, the benefits obtained from trading simulations with machine learning decision trees are more than using only technical indicators.

Skip Supplemental Material Section

Supplemental Material

References

  1. Dea Alverina, Antonius Rachmat Chrismanto, and R Gunawan Santosa. 2018. Perbandingan Algoritma C4. 5 dan CART dalam Memprediksi Kategori Indeks Prestasi Mahasiswa. Jurnal Teknologi dan Sistem Komputer 6, 2 (2018), 76–83.Google ScholarGoogle Scholar
  2. Ni Putu Winda Ardiyanti, Irma Palupi, and Indwiarti Indwiarti. 2021. Trading Strategy on Market Stock by Analyzing Candlestick Pattern using Artificial Neural Network (ANN) Method. JURNAL MEDIA INFORMATIKA BUDIDARMA 5, 4 (2021), 1273–1282.Google ScholarGoogle ScholarCross RefCross Ref
  3. Azri Azrul Azmer, Norlida Hassan, Shihab Hamad Khaleefah, Salama A Mostafa, and Azizul Azhar Ramli. 2021. Comparative analysis of classification techniques for leaves and land cover texture. International Journal of Advances in Intelligent Informatics 7, 3(2021), 357–367.Google ScholarGoogle ScholarCross RefCross Ref
  4. Nurkholis Bayan. [n. d.]. Keakuratan indikator analisis teknikal moving average convergence divergence, stochastic oscillator, bollinger band dalam menentukan sinyal jual dan sinyal beli saham (studi pada perusahaan yang terdaftar dalam indeksidx SMC liquid periode Februari 2018-Juli 2018). B.S. thesis. Jakarta: Fakultas Ekonomi Dan Bisnis UIN Syarif Hidayatullah.Google ScholarGoogle Scholar
  5. Ni Nyoman Mira Cahyani and Luh Putu Mahyuni. 2020. Akurasi Moving Average Dalam Prediksi Saham LQ45 di Bursa Efek Indonesia. Jurnal Manajemen 9, 7 (2020).Google ScholarGoogle Scholar
  6. Bintang Aryo Dharmawan and Jondri Jondri. 2020. Analisis Dan Implementasi Sistem Trading Otomatis Bitcoin Dengan Menggunakan Recurrent Reinforcement Learning. eProceedings of Engineering 7, 1 (2020).Google ScholarGoogle Scholar
  7. Fakhrul Fadillah, Suryo Adhi Wibowo, and Gelar Budiman. 2020. Perancangan Dan Implementasi Prediksi Harga Saham Pada Aplikasi Berbasis Android Menggunakan Metode Support Vector Regression. eProceedings of Engineering 7, 2 (2020).Google ScholarGoogle Scholar
  8. Revo Gilang Firdaus. 2021. Analisis Teknikal Saham Menggunakan Indikator RSI dan Bollinger Bands pada Saham Konstruksi. Jurnal Pasar Modal Dan Bisnis 3, 1 (2021), 15–26.Google ScholarGoogle ScholarCross RefCross Ref
  9. Aurélien Géron. 2019. Hands-on Machine Learning with Scikit-Learn, Keras, and TensorFlow: Unsupervised learning techniques. O’Reilly Media, Incorporated.Google ScholarGoogle Scholar
  10. Gavin Hackeling. 2017. Mastering Machine Learning with scikit-learn. Packt Publishing Ltd.Google ScholarGoogle Scholar
  11. INSANI HASANAH. 2021. Implementasi Decision Tree C4. 5 Untuk Klasifikasi Cara Keluar Pasien Ginjal Kronis Berdasarkan Rekam Medis Bpjs Kesehatan Di Rsuam. (2021).Google ScholarGoogle Scholar
  12. Iis Teguh Imano and Nugroho Eko Budiyanto. 2019. SISTEM TRADING FOREX OTOMATIS MENGGUNAKAN INDIKATOR RSI DAN MA DENGAN METODE MARTINGALE DI METATRADER 4. Jurnal Informatika dan Rekayasa Perangkat Lunak 1, 1 (2019).Google ScholarGoogle Scholar
  13. VanderPlas Jake. 2016. Python Data Science Handbook. Essential Tools for Working with Data.Google ScholarGoogle Scholar
  14. Retnani Latifah, Emi Setia Wulandari, and Priadhana Edi Kreshna. 2019. Model Decision Tree Untuk Prediksi Jadwal Kerja Menggunakan Scikit-Learn. Prosiding Semnastek (2019).Google ScholarGoogle Scholar
  15. Eryk Lewinson. 2020. Python For Finance Cookbook(1 ed.). Packt Publishing, Birmingham, UK.Google ScholarGoogle Scholar
  16. Negnevitsky Michael. 2005. Artificial intelligence a guide to intelligent systems.Google ScholarGoogle Scholar
  17. NumPy. 2022. NumPy documentation., 1 pages. https://numpy.org/doc/stable/Google ScholarGoogle Scholar
  18. V. F. Ochkov, A. A. Sutchenkov, and A. I. Tikhonov. 2021. Python Computational Web Apps for STEM Engineering Education. International Journal of Education and Information Technologies 15 (7 2021), 130–136. https://doi.org/10.46300/9109.2021.15.13Google ScholarGoogle ScholarCross RefCross Ref
  19. Plotly. 2022. Plotly Open Source Graphing Libraries., 1 pages. https://plotly.com/graphing-libraries/Google ScholarGoogle Scholar
  20. Agung B Prasetijo, Takdir A Saputro, Ike P Windasari, and Yudi E Windarto. 2017. Buy/sell signal detection in stock trading with bollinger bands and parabolic SAR: With web application for proofing trading strategy. In 2017 4th International Conference on Information Technology, Computer, and Electrical Engineering (ICITACEE). IEEE, 41–44.Google ScholarGoogle ScholarCross RefCross Ref
  21. Jan Wira Gotama Putra. 2019. Pengenalan konsep pembelajaran mesin dan deep learning. Tokyo. Jepang (2019).Google ScholarGoogle Scholar
  22. Agustinus Adi Santoso and Sukmawati Sukamulja. 2020. Penggunaan Kombinasi Indikator Sma, Ema, Macd, Rsi, Dan Mfi Untuk Menentukan Keputusan Beli Dan Jual Pada Saham-Saham Di Sektor Lq45 Bei Tahun 2018. Modus 32, 2 (2020), 159–174.Google ScholarGoogle ScholarCross RefCross Ref
  23. scikit. 2022. 1.10. Decision Trees., 1 pages. https://scikit-learn.org/stable/modules/tree.htmlGoogle ScholarGoogle Scholar
  24. Fiqi Ruli Setiawan, Rian Febrian Umbara, and Aniq Atiqi Rohmawati. 2018. Prediksi Pergerakan Harga Saham Dengan Metode Support Vector Machine (svm) Menggunakan Trend Deterministic Data Preparation (Studi Kasus Saham Perusahaan Pt Astra International Tbk, Pt Garuda Indonesia Tbk, Dan Pt Indosat Tbk). eProceedings of Engineering 5, 3 (2018).Google ScholarGoogle Scholar
  25. Inc. TradingView. 2022. Perusahaan Indonesia dengan kapitalisasi pasar tertinggi., 1 pages. https://id.tradingview.com/markets/stocks-indonesia/market-movers-large-cap/Google ScholarGoogle Scholar
  26. Teguh Wahyono. 2018. Fundamental of Python for Machine Learning: Dasar-Dasar Pemrograman Python untuk Machine Learning dan Kecerdasan Buatan. Yogyakarta: Penerbit Gava Media(2018).Google ScholarGoogle Scholar

Index Terms

  1. Trading Simulation Using Python and Visualization on Streamlit with Machine Learning Decision Tree

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in
          • Published in

            cover image ACM Other conferences
            IC3INA '22: Proceedings of the 2022 International Conference on Computer, Control, Informatics and Its Applications
            November 2022
            415 pages
            ISBN:9781450397902
            DOI:10.1145/3575882

            Copyright © 2022 ACM

            © 2022 Association for Computing Machinery. ACM acknowledges that this contribution was authored or co-authored by an employee, contractor or affiliate of a national government. As such, the Government retains a nonexclusive, royalty-free right to publish or reproduce this article, or to allow others to do so, for Government purposes only.

            Publisher

            Association for Computing Machinery

            New York, NY, United States

            Publication History

            • Published: 27 February 2023

            Permissions

            Request permissions about this article.

            Request Permissions

            Check for updates

            Qualifiers

            • research-article
            • Research
            • Refereed limited
          • Article Metrics

            • Downloads (Last 12 months)45
            • Downloads (Last 6 weeks)2

            Other Metrics

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader

          HTML Format

          View this article in HTML Format .

          View HTML Format