KMITL 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

Innovation in Cotylelobium lanceolatum Craib Extract in the Form of Nano Silver for Diabetic Wound Healing

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

Innovation in Cotylelobium lanceolatum Craib Extract in the Form of Nano Silver for Diabetic Wound Healing

Diabetes is a significant global health issue, particularly due to complications related to diabetic wounds. Studies indicate that approximately 15-25% of diabetic patients develop foot ulcers, with more than 50% of severe cases leading to amputation. This results in a substantial decline in the quality of life for patients. Current treatments for diabetic wounds face challenges such as antibiotic-resistant bacterial infections and delayed wound healing, highlighting the need for innovative solutions to accelerate the healing process and reduce the risk of limb loss. Cotylelobium lanceolatum Craib, a medicinal plant long utilized in traditional Thai medicine, is known for its anti-inflammatory and wound-healing properties. This study focuses on developing an extract from Cotylelobium lanceolatum Craib in the form of nano silver (Nano Silver) to enhance the effectiveness of diabetic wound treatment. Nano silver technology enables deeper penetration into the skin, provides potent antibacterial activity, and promotes wound healing by reducing inflammation and stimulating tissue regeneration. The development of nano silver derived from Cotylelobium lanceolatum Craib extract is expected to help reduce chronic wounds in diabetic patients, lower the risk of infection, and decrease the incidence of limb amputation and mortality associated with diabetic wound complications. This research represents a significant step toward creating a safer and more effective treatment alternative for diabetic wound care.

Read more
Bacteriocinogenomic analysis and anti-pathogenic activity of potential Lactococcus lactis TKP1-5 isolated from the feces of Anas platyrhynchos

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

Bacteriocinogenomic analysis and anti-pathogenic activity of potential Lactococcus lactis TKP1-5 isolated from the feces of Anas platyrhynchos

Bacteriocins are microbial peptides that demonstrate potency against pathogens. This study evaluated the inhibitory effects on pathogens and characterized the bacteriogenomic profile of strain TKP1-5, isolated from the feces of Anas platyrhynchos domesticus. Strain TKP1-5 was characterized using phenotypic traits, 16S rRNA sequencing, and Whole-Genome Sequencing (WGS). It exhibited growth in the presence of 2-6% NaCl, temperatures of 25-45°C, and pH levels ranging from 3 to 9. Based on ANIb, ANIm, and dDDH values, strain TKP1-5 was identified as Lactococcus lactis. Whole genome analysis revealed that strain TKP1-5 harbors the Nisin Z peptide gene cluster with a bit-score of 114.775. The antimicrobial spectrum of bacteriocin TKP1-5 showed inhibitory effects against pathogenic bacteria including Pediococcus pentosaceus JCM5885, Listeria monocytogenes ATCC 19115, Enterococcus faecalis JCM 5803T, Salmonella Typhimurium ATCC 13311ᵀ, Aeromonas hydrophila B1 AhB1, Streptococcus agalactiae 1611 and Streptococcus cowan I. Genomic analysis confirmed L. lactis TKP1-5 as a non-human pathogen without antibiotic resistance genes or plasmids. Furthermore, L. lactis TKP1-5 contains potential genes associated with various probiotic properties and health benefits. This suggests that L. lactis TKP1-5, with its antibacterial activity and probiotic potential, could be a promising candidate for further research and application in the food industry.

Read more
Development of synbiotic tepache for health

คณะอุตสาหกรรมอาหาร

Development of synbiotic tepache for health

Tepache is a traditional Mexican fermented beverage commonly made using pineapple peels, which naturally contain sugars and the enzyme bromelain. These components contribute to its distinctive aroma and unique flavor. This project aims to develop a health-enhancing tepache by fermenting pineapple peels with probiotic yeast and lactic acid bacteria. Additionally, prebiotics, including inulin and xylo-oligosaccharides, are incorporated as nutrients to support probiotic growth. The resulting synbiotic tepache promotes gut microbiota balance, exhibits antioxidant properties, and enhances the immune system, making it a functional and beneficial beverage for consumers.

Read more