KMITL Innovation Expo 2026 LogoKMITL 66th Anniversary Logo

Application of Machine Learning, Stochastic Process, and Game Theory in Short-Term Financial Asset Investment Strategies

Abstract

This project focuses on the study and development of a short-term investment framework via gold trading in the foreign exchange market. Machine learning techniques are applied to analyze and forecast pricing trends. Moreover, we develop the system using a stochastic process to determine optimal stop-loss points, with the aim of maximizing expected returns. Additionally, we apply game theory to guide the decision-making process regarding order holding or closure. The system is implemented and tested on the MetaTrader 5 (MT5) platform. This project outlined the clear process that includes data preparation, machine learning model training, probabilistic modeling of gold price movements, stop-loss strategy formulation, strategic decision modeling based on game theory, the development of an automated trading program, and backtesting to evaluate system performance.

Objective

การลงทุนระยะสั้น คือ การพยากรณ์ว่าราคาในอนาคตอันใกล้เพิ่มขึ้นหรือลดลงในปริมาณ เท่าไรและเก็งกำไรจากส่วนต่างของราคาที่จะเกิดขึ้น ยิ่งการพยากรณ์มีความแม่นยำมาก ก็จะยิ่งได้ ผลตอบแทนมากตาม ผู้วิจัยได้รับแรงบันดาลใจจากการศึกษาการลงทุนระยะสั้นในรูปแบบ Price Action ซึ่งตั้งอยู่ บนสมมติฐานที่ว่า ข้อมูลราคาในอดีตมีความเพียงพอในการทำนายแนวโน้มราคาในอนาคต โดยไม่ จำเป็นต้องใช้ตัวชี้วัดทางเทคนิค (indicator) เนื่องจากตัวชี้วัดเหล่านั้นล้วนแล้วแต่คำนวณมาจาก ข้อมูลราคาในอดีตเช่นกัน ด้วยเหตุนี้ ผู้วิจัยจึงมุ่งเน้นที่จะนำเทคโนโลยี Deep Learning มาใช้ในการ สร้างแบบจำลองที่สามารถเรียนรู้จากข้อมูลราคาในอดีตเพื่อทำการพยากรณ์แนวโน้มราคาตลาดใน อนาคต และนำผลลัพธ์ไปประยุกต์ใช้ในการกำหนดจุด take profit อย่างมีประสิทธิภาพ ทั้งนี้ การ เลือกใช้ Deep Learning มีพื้นฐานมาจากคุณสมบัติในการเรียนรู้และประมวลผลข้อมูลเชิงซ้อน รวมถึงความสามารถในการจับความสัมพันธ์เชิงลึกของข้อมูลที่ไม่สามารถมองเห็นได้ด้วยวิธีการทั่วไป นอกจากนั้น ผู้วิจัยยังได้รับแรงบันดาลใจจากการศึกษาแนวคิด Drunkard Walk ซึ่งได้ถูกในไปใช้หา ความน่าจะเป็นที่คนเมาจะเดินกลับถึงบ้านหรือเดินกลับไปที่สถานบันเทิงจากความน่าจะเป็นที่คนเมา จะเดินไปทางซ้ายหรือเดินไปทางขวาและการประยุกต์ใช้ Absorbing Markov Chain เพื่อวิเคราะห์ ความน่าจะเป็นของการเคลื่อนไหวของกราฟราคา โดยแนวคิดนี้สามารถนำมาใช้ในการคำนวณความ น่าจะเป็นที่ราคาจะเคลื่อนที่ไปถึงจุด take profit หรือ stop loss ซึ่งเป็นปัจจัยสำคัญในการกำหนด กลยุทธ์การลงทุน ผู้วิจัยจึงประยุกต์ใช้แนวคิดนี้ในการพัฒนาแบบจำลองที่สามารถคำนวณค่า ผลตอบแทนเฉลี่ยเพื่อช่วยในการกำหนดจุด stop loss ที่เหมาะสม ยิ่งไปกว่านั้น จากประสบการณ์ใน การเทรดจริง ผู้วิจัยได้พบเจอปัญหาในการตัดสินใจเมื่อคำสั่งเทรดยังคงเปิดอยู่และไม่สามารถประเมิน ได้ชัดเจนว่าควรปิดคำสั่งเทรดก่อน หรือรอให้ราคาถึงจุดที่ตั้งไว้ หากปิดคำสั่งก่อนและราคากลับไปถึง จุด stop loss การตัดสินใจนั้นถือว่าถูกต้อง แต่หากราคาถึงจุด take profit การตัดสินใจนั้นก็จะถือ ว่าผิดพลาด ด้วยเหตุนี้ ผู้วิจัยจึงเลือกนำแนวคิดจากทฤษฎีเกม (Game Theory) มาช่วยในการวางกลยุทธ์ การตัดสินใจที่เหมาะสม โดยใช้กลยุทธ์แบบผสม (Mixed Strategy) และการวิเคราะห์การแจกแจง ความน่าจะเป็นของกราฟราคา เพื่อให้สามารถตัดสินใจได้อย่างมีเหตุผลและมีประสิทธิภาพสูงสุด

Other Innovations

Aspect-Based Sentiment Analysis for E-Commerce Product Reviews

คณะวิทยาศาสตร์

Aspect-Based Sentiment Analysis for E-Commerce Product Reviews

In today’s rapidly expanding e-commerce environment, the massive volume of product reviews makes it crucial to summarize user opinions in a way that is both comprehensible and practically applicable. This research presents a system for analyzing product reviews using Aspect-Based Sentiment Analysis (ABSA), a Natural Language Processing (NLP) technique that identifies key aspects of a review (such as shipping, product quality, and packaging) and evaluates the sentiment (positive, negative, or neutral) associated with each aspect, allowing both consumers and merchants to gain more efficient access to in-depth insights. This project focuses on developing AI for Thai-language ABSA by utilizing WangchanBERTa, a model trained on Thai data, and comparing it with various standard approaches such as TF-IDF + Logistic Regression, Word2Vec + BiLSTM, and Multilingual BERT (mBERT/XLM-R) to assess their performance in terms of accuracy, speed, and resource usage. Additionally, a dashboard visualization is provided to help users quickly grasp review trends. The expected outcome is to create an AI tool that can be practically employed in the e-commerce industry, enabling consumers to make easier purchasing decisions and assisting merchants in effectively improving their products and services.

Read more
THE DEVELOPMENT OF DENDROCALAMUS ASPER BLENDED FIBER FOR ECO-FRIENDLY TEXTILE PRODUCT DESIGN

คณะครุศาสตร์อุตสาหกรรมและเทคโนโลยี

THE DEVELOPMENT OF DENDROCALAMUS ASPER BLENDED FIBER FOR ECO-FRIENDLY TEXTILE PRODUCT DESIGN

This research confirms the potential of bamboo fiber as a sustainable raw material for the textile industry, demonstrating exceptional properties that meet both functional requirements and environmental friendliness. The study focuses on integrating sustainability concepts with material innovation, encompassing fiber property analysis, production process development, and product design. The research objectives were to: 1) develop the properties of bamboo fiber for production; 2) study factors in designing environmentally friendly textile products from bamboo fiber; and 3) forecast future prospects for environmentally friendly textile product design using bamboo fiber. The findings revealed that 60-day-old bamboo possessed optimal properties for fiber separation, with an average fiber size of 5.32 μm, smaller than other natural fibers, resulting in superior moisture absorption and ventilation properties. When blended with recycled polyester fiber in a 30:70 ratio, the yarn exhibited strength and unique tactile characteristics. Although the antibacterial properties against Staphylococcus aureus were low, the fibers demonstrated excellent whiteness and softness. Factor analysis identified four key components in product design: Local Materials, Green Products, Healthy, and Sustainability. Consumer satisfaction evaluation of the prototype products showed high levels of acceptance, with the model explaining 84.7% of consumer satisfaction. The developed production process reduced chemical usage and hazardous waste. Furthermore, utilizing fast-growing bamboo minimized long-term environmental impact, contributing to sustainable development in Thailand's rural communities across economic, environmental, and occupational stability dimensions. The research demonstrates that developing bamboo fiber blended with recycled polyester creates sustainable products that meet consumer demands for health consciousness, local material utilization, and green product promotion. Commercial implementation of these products can enhance economic value and promote environmentally friendly product development in the future.

Read more
Organic fertilizer products from horse manure

วิทยาลัยการจัดการนวัตกรรมและอุตสาหกรรม

Organic fertilizer products from horse manure

This research aims to study the waste management process of horse manure, the production process of organic fertilizer from horse waste, and opinions on the use of innovative organic fertilizer from horse manure. A mixed-method approach, combining qualitative and quantitative research, is employed. The organic fertilizer is produced from horse manure, which is a waste that incurs disposal costs. Through the fermentation process, it is transformed into an environmentally friendly fertilizer containing essential nutrients beneficial to plants. According to the laboratory analysis of the organic fertilizer conducted by the Soil Science Laboratory, Faculty of Agricultural Technology, King Mongkut's Institute of Technology Ladkrabang, it was found that organic fertilizer from horse manure contains essential nutrients for plant growth, including macronutrients, secondary nutrients, and micronutrients. This reflects the potential of horse waste management, the production process of organic fertilizer from horse manure, the efficiency of the organic fertilizer, and strategies for adding value to expand its commercialization.

Read more