خوارزميات التداول المتكاملة مع إدارة المخاطر التكيفية: تقييم تجريبي متعدد الأصول Forecast-Integrated Trading Algorithms with Adaptive Risk Management: Multi-Asset Empirical Evaluation

شارك:
المجلة: FinTech، المجلد: 5، العدد: 3
DOI: https://doi.org/10.3390/fintech5030082
تاريخ النشر: 2026-09-15
المؤلف: László Vancsura وآخرون
الموضوع الرئيسي: طرق التنبؤ بسوق الأسهم

نظرة عامة

تبحث الدراسة في فعالية استراتيجيات التداول المدفوعة بتعلم الآلة عبر ظروف السوق المختلفة وفئات الأصول، وخاصة الأسهم والسلع والعملات الأجنبية والعملات المشفرة. تستخدم الدراسة إطار عمل تداول مدفوع بالتنبؤ، يتم تحسينه ديناميكيًا، والذي يستفيد من توقعات الأسعار اليومية من الشبكات العصبية المتكررة (RNN) وذاكرة المدى الطويل والقصير (LSTM) ووحدات التكرار المغلقة (GRU) والهياكل الهجينة. تم اختبار الإطار عبر ثلاث أنظمة سوقية متميزة: سوق هادئ في عام 2018، وأزمة COVID-19 في عام 2020، والصدمة الجيوسياسية من النزاع الروسي الأوكراني في عام 2022. تكشف النتائج أن هذه الاستراتيجيات المعتمدة على التنبؤ تفوقت بشكل كبير على معيار الشراء والاحتفاظ في 86-92% من الحالات، مع أداء وسطي يتجاوز حوالي 15 نقطة مئوية في العائد التراكمي ونحو نقطتين في نسبة شارب. ومن الجدير بالذكر أن فلتر متوسط الخطأ المطلق المتحرك (MAPE) كان فعالًا بشكل خاص في التخفيف من الخسائر خلال الفترات المضطربة، مما يبرز أهمية إدارة المخاطر بالتزامن مع دقة التنبؤ.

تخلص الدراسة إلى أن أداء استراتيجيات التداول المعتمدة على تعلم الآلة لا يعتمد فقط على دقة التنبؤ، بل يتأثر بشكل كبير بأطر إدارة المخاطر المستخدمة. تشير النتائج إلى تباين كبير في فعالية الاستراتيجية عبر فئات الأصول المختلفة وظروف السوق، حيث أثبت فلتر MAPE أنه الأكثر فائدة في أسواق العملات المشفرة، بينما أظهرت الاستراتيجية الأساسية استقرارًا أكبر في أسواق العملات الأجنبية. تؤكد التحليل على ضرورة تخصيص المعلمات حسب الأصول لتحسين أداء التداول وتبرز أن آليات اتخاذ القرار التكيفية ضرورية خلال فترات التقلبات العالية. بشكل عام، تدعو الأبحاث إلى نهج شامل يدمج توقعات تعلم الآلة مع استراتيجيات إدارة المخاطر القوية، مقترحة أن المستثمرين المؤسسيين والمتقدمين يجب أن يعطوا الأولوية للضوابط المعدلة حسب التقلبات على دقة التنبؤ البسيطة لتحقيق نجاح تداول مستدام.

مقدمة

تتناول مقدمة ورقة البحث تعقيدات التنبؤ بأسواق المال، مع تسليط الضوء على قيود النظريات الكلاسيكية مثل فرضية السوق الفعالة، التي تفترض أن أسعار الأصول تتبع مسارًا عشوائيًا. كشفت الدراسات التجريبية الحديثة عبر أسواق مختلفة، بما في ذلك الأسهم والعملات المشفرة، عن أنماط تدعم تطبيق تقنيات تعلم الآلة (ML). تحدد الورقة اتجاهين رئيسيين في استراتيجيات التداول المدفوعة بالتنبؤ: استخدام نماذج التعلم العميق، مثل ذاكرة المدى الطويل والقصير (LSTM) والشبكات العصبية التلافيفية (CNN)، التي تتفوق في تحديد الأنماط الزمنية، وأطر التعلم المعزز التي تتكيف مع ظروف السوق المتغيرة.

تهدف الدراسة إلى تطوير استراتيجية تداول مدفوعة بالتنبؤ تتضمن إشارات تبديل المراكز بناءً على التباين بين الأسعار المتوقعة والملاحظة، إلى جانب آليات إدارة المخاطر المعتمدة على التقلبات. تسعى للإجابة على ثلاثة أسئلة بحثية تتعلق بأداء هذه الاستراتيجيات عبر أنظمة السوق المختلفة، وثبات مزاياها، ومساهمة إضافات إدارة المخاطر في الأداء العام. تعد الأبحاث بتحسين فهم استراتيجيات التداول المعتمدة على تعلم الآلة من خلال استخدام إطار إحصائي صارم لتقييم فعاليتها عبر فئات الأصول المختلفة وظروف السوق، مما يساهم في الأدبيات حول إدارة المخاطر التكيفية في التداول المالي.

الطرق

توضح قسم “المواد والطرق” تصميم التجربة والإجراءات المستخدمة في الدراسة. تفصل المواد المستخدمة، بما في ذلك الكواشف المحددة والمعدات وأي عينات بيولوجية، مما يضمن إمكانية تكرار التجارب. تشمل المنهجية التقنيات المطبقة لجمع البيانات وتحليلها، بما في ذلك الأساليب الإحصائية وأي أدوات حسابية مستخدمة.

بالإضافة إلى ذلك، يصف القسم البروتوكولات التجريبية بطريقة خطوة بخطوة، مع تسليط الضوء على الضوابط والمتغيرات لضمان صحة النتائج. يسمح هذا النهج الصارم بفهم واضح لكيفية اشتقاق النتائج، مما يسهل المزيد من البحث والتطبيق في المجال المعني.

النتائج

يقيم قسم النتائج في ورقة البحث أداء خوارزميات التداول المختلفة عبر ظروف السوق المختلفة وفئات الأصول، مع تسليط الضوء على فعالية الاستراتيجيات المعتمدة على تعلم الآلة مقارنة بأساليب الشراء والاحتفاظ التقليدية. في ظروف السوق الهادئة (2018)، تفوقت استراتيجيات تعلم الآلة بشكل كبير على طرق الشراء والاحتفاظ، خاصة في فئات الأصول المتقلبة مثل العملات المشفرة، حيث كان عائد الشراء والاحتفاظ لبيتكوين -73.38%، بينما حققت الاستراتيجية الأساسية أكثر من 86.69%. لوحظت اتجاهات مماثلة في أسواق المعادن الثمينة وأسواق العملات الأجنبية، على الرغم من أن سوق النفط قدم تحديات للنماذج التنبؤية.

خلال جائحة COVID-19 (2020)، أصبحت مزايا الاستراتيجيات التكيفية أكثر وضوحًا، حيث كان عائد الشراء والاحتفاظ لمؤشر S&P 500 -5.65% مقارنة بعائد تراكمي قدره 74.26% من الاستراتيجية الأساسية. كما تفوقت النماذج التنبؤية في المعادن الثمينة، محققة عوائد تزيد عن 23% للذهب، بينما استمر سوق النفط في كونه استثناءً، حيث كانت استراتيجيات الشراء والاحتفاظ تؤدي بشكل أفضل. في سياق التوترات الجيوسياسية لعام 2022، قدمت استراتيجيات تعلم الآلة حماية فعالة من الجانب السلبي، حيث أظهر مؤشر S&P 500 عائدًا قدره -22.42% مقابل عائد إيجابي قدره 13.49% من الاستراتيجية الأساسية. بشكل عام، تشير النتائج إلى أن الاستراتيجيات المعتمدة على تعلم الآلة قدمت أداءً متفوقًا باستمرار من حيث المخاطر المعدلة عبر فئات الأصول المختلفة، خاصة في ظروف السوق المضطربة، بينما ظل سوق النفط استثناءً ملحوظًا.

المناقشة

تسلط قسم المناقشة في الورقة الضوء على الاهتمام المتزايد في تطبيق نماذج التنبؤ على استراتيجيات التداول، خاصة في أسواق الأسهم والعملات المشفرة. يتم مراجعة عدة دراسات، تعرض أساليب مبتكرة تجمع بين التعلم العميق والتعلم المعزز (RL) مع التحليل الفني لتعزيز أداء التداول. على سبيل المثال، اقترح Pourahmadi وزملاؤه إطار عمل معدل للتعلم المعزز Actor-Critic يدمج المؤشرات الفنية، محققًا عائدًا سنويًا متوسطًا قدره 11.23% مقارنة بـ 1.57% فقط من استراتيجية الشراء والاحتفاظ. بالمثل، قدم Zhou وزملاؤه إطار عمل دمج التنبؤ التدريجي-التعلم العميق المعزز (IFF-DRL)، الذي حقق عوائد سنوية مثيرة للإعجاب قدرها 103.19% لمؤشر هانغ سنغ، مما يوضح فعالية آليات التنبؤ التكيفية في الأسواق المتقلبة.

تناقش الورقة أيضًا تطبيق الشبكات العصبية ذاكرة المدى الطويل والقصير (LSTM)، التي أظهرت إمكانات كبيرة في تحقيق عوائد زائدة عبر أسهم مختلفة. على سبيل المثال، أفاد Ju وShen وNi بعائد سنوي قدره 41.26% لتيسلا، متفوقًا بشكل كبير على استراتيجية الشراء والاحتفاظ. بالإضافة إلى ذلك، كشفت الدراسات حول استراتيجيات تداول العملات المشفرة، مثل تلك التي أجراها Jing وKang، أن نماذج التعلم المعزز العميق يمكن أن تستفيد بشكل فعال من البيانات المرئية من مخططات الشموع، محققة عوائد قدرها 26.12% مقارنة بـ 18.54% من الاستراتيجيات التقليدية. بشكل عام، تؤكد النتائج على مزايا دمج نماذج التنبؤ المتقدمة مع المؤشرات الفنية، مما يشير إلى أن مثل هذه المنهجيات يمكن أن تحسن بشكل كبير نتائج التداول عبر فئات الأصول المختلفة.

القيود

تسلط القيود في هذه الدراسة الضوء على عدة مجالات حاسمة قد تؤثر على قوة وملاءمة النتائج. أولاً، تتجاهل التحليل تكاليف المعاملات والضرائب وفروق الأسعار والانزلاق وقيود السيولة، مما يؤدي إلى مقاييس أداء إجمالية للعوائد التراكمية ونسب شارب قد لا تعكس الأداء الصافي في سيناريوهات التداول الواقعية. ثانيًا، كانت تحسين المعلمات يعتمد فقط على تعظيم نسبة شارب من خلال بحث شبكي داخل العينة، مما قد يكون حساسًا للعوائد المتطرفة والتوزيعات غير الطبيعية الشائعة في أسواق العملات المشفرة. يثير هذا مخاوف بشأن قابلية تعميم أدلة القوة المقدمة، حيث قد تتأثر بالعينة المحددة بدلاً من أن تكون سمة خالية من المعلمات للإطار.

بالإضافة إلى ذلك، تعالج الاختبارات الإحصائية التي أجريت خلايا الأصول والفترات ككيانات مستقلة، وهو أمر مشكوك فيه نظرًا للاحتمالات المحتملة بين الفترات الفرعية المتداخلة وفئات الأصول. يشير هذا إلى أن حجم العينة الفعالة للاستدلال أصغر مما تم الإبلاغ عنه، مما يتطلب الشك بشأن القيم p المتطرفة. كما أن الاعتماد على البيانات اليومية يحد من التحليل من خلال استبعاد الديناميات داخل اليوم وتأثيرات التداول عالي التردد. أخيرًا، تستند نتائج مستوى المحفظة إلى محافظ ثابتة ومتساوية الوزن، مما يترك السؤال مفتوحًا حول ما إذا كانت استراتيجية تخصيص نشطة يمكن أن تحقق نتائج أفضل. تشمل اتجاهات البحث المستقبلية تحسين المعلمات من خلال إجراءات خارج العينة، ودمج تكاليف المعاملات والبيانات عالية التردد، ودمج المتغيرات الاقتصادية الكلية، وتوسيع حجم العينة، واستكشاف تحسين المحفظة المعتمد على تعلم الآلة لتعزيز استخراج القيمة بما يتجاوز الإطار الحالي.

Journal: FinTech, Volume: 5, Issue: 3
DOI: https://doi.org/10.3390/fintech5030082
Publication Date: 2026-09-15
Author(s): László Vancsura et al.
Primary Topic: Stock Market Forecasting Methods

Overview

The research investigates the efficacy of machine learning-driven trading strategies across various market conditions and asset classes, specifically equities, commodities, foreign exchange, and cryptocurrencies. The study employs a prediction-driven, dynamically optimized trading framework that utilizes daily price forecasts from recurrent neural networks (RNN), long short-term memory (LSTM), gated recurrent units (GRU), and hybrid architectures. The framework is tested across three distinct market regimes: a calm market in 2018, the COVID-19 crisis in 2020, and the geopolitical shock from the Russian-Ukrainian conflict in 2022. The findings reveal that these prediction-based strategies significantly outperformed the buy-and-hold benchmark in 86-92% of cases, with a median outperformance of approximately 15 percentage points in cumulative return and nearly two points in Sharpe ratio. Notably, the rolling-Mean Absolute Percentage Error (MAPE) filter was particularly effective in mitigating losses during turbulent periods, emphasizing the importance of risk management in conjunction with predictive accuracy.

The study concludes that the performance of machine learning-based trading strategies is not solely dependent on predictive accuracy but is significantly influenced by the risk management frameworks employed. The results indicate substantial variability in strategy effectiveness across different asset classes and market conditions, with the MAPE filter proving most beneficial in cryptocurrency markets, while the base strategy showed greater stability in foreign exchange markets. The analysis underscores the necessity for asset-specific parameterization to optimize trading performance and highlights that adaptive decision mechanisms are crucial during periods of heightened volatility. Overall, the research advocates for a comprehensive approach that integrates machine learning forecasts with robust risk management strategies, suggesting that institutional and sophisticated retail investors should prioritize volatility-adjusted controls over mere predictive accuracy to achieve consistent trading success.

Introduction

The introduction of the research paper addresses the complexities of financial market forecasting, highlighting the limitations of classical theories like the Efficient Market Hypothesis, which posits that asset prices follow a random walk. Recent empirical studies across various markets, including equities and cryptocurrencies, have revealed patterns that support the application of machine learning (ML) techniques. The paper outlines two primary directions in prediction-driven trading strategies: the use of deep learning models, such as Long Short-Term Memory (LSTM) and Convolutional Neural Networks (CNN), which excel in identifying temporal patterns, and reinforcement learning frameworks that adapt to changing market conditions.

The study aims to develop a prediction-driven trading strategy that incorporates position-switching signals based on the divergence between predicted and observed prices, alongside volatility-based risk management mechanisms. It seeks to answer three research questions regarding the performance of these strategies across different market regimes, the consistency of their advantages, and the contribution of risk-management overlays to overall performance. The research promises to enhance the understanding of ML-based trading strategies by employing a rigorous statistical framework to evaluate their effectiveness across multiple asset classes and market conditions, thus contributing to the literature on adaptive risk management in financial trading.

Methods

The “Materials and Methods” section outlines the experimental design and procedures employed in the study. It details the materials used, including specific reagents, equipment, and any biological samples, ensuring reproducibility of the experiments. The methodology encompasses the techniques applied for data collection and analysis, including statistical methods and any computational tools utilized.

Additionally, the section describes the experimental protocols in a step-by-step manner, highlighting controls and variables to ensure the validity of the results. This rigorous approach allows for a clear understanding of how the findings were derived, facilitating further research and application in the relevant field.

Results

The results section of the research paper evaluates the performance of various trading algorithms across different market conditions and asset classes, highlighting the effectiveness of machine learning-based strategies compared to traditional buy-and-hold approaches. In calm market conditions (2018), machine learning strategies significantly outperformed buy-and-hold methods, particularly in volatile asset classes like cryptocurrencies, where Bitcoin’s buy-and-hold return was -73.38%, while the Base Strategy yielded over 86.69%. Similar trends were observed in precious metals and foreign exchange markets, although the oil market presented challenges for predictive models.

During the COVID-19 pandemic (2020), the advantages of adaptive strategies became even more pronounced, with the S&P 500’s buy-and-hold return at -5.65% contrasted by a cumulative return of 74.26% from the Base Strategy. Predictive models also excelled in precious metals, achieving returns above 23% for gold, while the oil market continued to be an outlier, with buy-and-hold strategies performing better. In the context of the geopolitical tensions of 2022, machine learning strategies provided effective downside protection, with the S&P 500 showing a return of -22.42% against a positive return of 13.49% from the Base Strategy. Overall, the findings indicate that machine learning-based strategies consistently delivered superior risk-adjusted performance across various asset classes, particularly in turbulent market conditions, while the oil market remained a notable exception.

Discussion

The discussion section of the paper highlights the growing interest in applying forecasting models to trading strategies, particularly in equity and cryptocurrency markets. Several studies are reviewed, showcasing innovative approaches that combine deep learning and reinforcement learning (RL) with technical analysis to enhance trading performance. For instance, Pourahmadi et al. proposed a modified Actor-Critic RL framework that integrates technical indicators, achieving an average annual return of 11.23% compared to a mere 1.57% from a buy-and-hold strategy. Similarly, Zhou et al. introduced the Incremental Forecast Fusion-Deep Reinforcement Learning (IFF-DRL) framework, which yielded impressive annualized returns of 103.19% for the Hang Seng Index, demonstrating the efficacy of adaptive forecasting mechanisms in volatile markets.

The paper also discusses the application of Long Short-Term Memory (LSTM) networks, which have shown significant potential in generating excess returns across various equities. For example, Ju, Shen, and Ni reported an annualized return of 41.26% for Tesla, significantly outperforming the buy-and-hold strategy. Additionally, studies on cryptocurrency trading strategies, such as those by Jing and Kang, revealed that deep reinforcement learning models could effectively leverage visual data from candlestick charts, achieving returns of 26.12% compared to 18.54% from traditional strategies. Overall, the findings underscore the advantages of integrating advanced forecasting models with technical indicators, suggesting that such methodologies can substantially improve trading outcomes across different asset classes.

Limitations

The limitations of this study highlight several critical areas that could impact the robustness and applicability of the findings. Firstly, the analysis omits transaction costs, taxes, bid-ask spreads, slippage, and liquidity constraints, leading to gross performance measures for cumulative returns and Sharpe ratios that may not reflect net performance in real-world trading scenarios. Secondly, the parameter optimization was solely based on maximizing the Sharpe ratio through an in-sample grid search, which may be sensitive to extreme returns and non-normal distributions typical in cryptocurrency markets. This raises concerns about the generalizability of the robustness evidence presented, as it may be influenced by the specific sample rather than being a parameter-free characteristic of the framework.

Additionally, the statistical tests conducted treat asset-period cells as independent, which is questionable given the potential correlations among overlapping sub-periods and asset classes. This suggests that the effective sample size for inference is smaller than reported, warranting skepticism regarding the extreme p-values. The reliance on daily data further limits the analysis by excluding intraday dynamics and high-frequency trading effects. Lastly, the portfolio-level results are based on fixed, equally weighted portfolios, leaving open the question of whether an active allocation strategy could yield superior outcomes. Future research directions include optimizing parameters through out-of-sample procedures, incorporating transaction costs and higher-frequency data, integrating macroeconomic variables, expanding the sample size, and exploring machine learning-based portfolio optimization to enhance value extraction beyond the current framework.