الانتقال إلى المحتوى
جميع مستندات المكتبة

تقنيات وأنماط تصميم C++ لأنظمة التداول منخفضة الكمون

مقال arXiv papers · المؤلف: Paul Bilokon et al.

الملخص

يبحث هذا العمل طرق خفض زمن الاستجابة في تطبيقات C++ الحساسة للأداء، مع اتخاذ التداول عالي التردد سياقًا رئيسيًا. ويصف مستودعًا برمجيًا يضم أمثلة خضعت للقياس المعياري، واستراتيجية محسّنة للمراجحة الإحصائية بين الأزواج ومحايدة للسوق، وتنفيذًا بلغة C++ لنمط Disruptor لتنسيق العمل المتزامن.

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

الأفكار الرئيسية

  • يجمع العمل أمثلة عملية لتحسين C++ مع قياس معياري إحصائي للتطبيقات الحساسة لزمن الاستجابة.
  • يطبق تقنيات انخفاض زمن الاستجابة على استراتيجية مراجحة إحصائية بين الأزواج ومحايدة للسوق.
  • يُعرض نمط Disruptor بوصفه بديلًا أسرع من أساليب الاصطفاف التقليدية.
  • يُذكر أن تهيئة الذاكرة المخبئية وconstexpr فعالان خصوصًا في خفض زمن الاستجابة.
  • يظل التداول الفعلي واختبار النظام المتكامل عملًا مستقبليًا.

الوسوم

النص الكامل
# C++ Design Patterns for Low-latency Applications Including High-frequency Trading


# C++ Design Patterns for Low-latency Applications Including High-frequency Trading









This work aims to bridge the existing knowledge gap in the optimisation of latency-critical code, specifically focusing on high-frequency trading (HFT) systems. The research culminates in three main contributions: the creation of a Low-Latency Programming Repository, the optimisation of a market-neutral statistical arbitrage pairs trading strategy, and the implementation of the Disruptor pattern in C++. The repository serves as a practical guide and is enriched with rigorous statistical benchmarking, while the trading strategy optimisation led to substantial improvements in speed and profitability. The Disruptor pattern showcased significant performance enhancement over traditional queuing methods. Evaluation metrics include speed, cache utilisation, and statistical significance, among others. Techniques like Cache Warming and Constexpr showed the most significant gains in latency reduction. Future directions involve expanding the repository, testing the optimised trading algorithm in a live trading environment, and integrating the Disruptor pattern with the trading algorithm for comprehensive system benchmarking. The work is oriented towards academics and industry practitioners seeking to improve performance in latency-sensitive applications.

يُعرض النص كاملًا مع نسبه إلى مصدره وفقًا لترخيصه. الترخيص: abstract CC0

أعدّ وكيل الأبحاث في Stratmill هذا الملخص استنادًا إلى المصدر الأصلي؛ وهو ليس نسخة منه.