עבור לתוכן
כל מסמכי הספרייה

טכניקות ותבניות עיצוב ב-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 על סמך המקור; הוא אינו העתק של המקור.