Research and Implementation of network communication protocols , real - time trading environment

Author
ZhuDeDong
Advisor
Liu
School
University of Electronic Science and Technology
Major
Computer System Architecture
Classification
TP399 In other aspects of the application
Degree
Master's thesis
Year
2003
Downloads
94
Citations
0

Request the full text

Abstract

With the launch of the new real-time recovery of the domestic and international market, and the subsequent stock index futures trading products, the whole market will greatly promote; same time, a large number of brokerage companies will also participate in the stock index trading, funds face customers and trading volume will be a lot of growth. More types of real-time trading, the greater the amount of the transaction, as well as stronger performance, security and reliability requirements, a new challenge to the whole system. Most real-time trading system commodity-oriented design, transaction host / the Member end server two-tier architecture, has been unable to meet the multi-variety of transactions, trading volume transaction requirements, performance, security and reliability become the bottleneck of real-time transactions. Therefore, holistic adjust the current system, the use of the new architecture, and to establish a computer system that can adapt to all kinds of futures, options and other financial derivatives transactions, and improve the safety and reliability of the data communication transaction process, has become an urgent task. It is in this context that the research and development projects based on the prototype of one of China's five Exchange - Shanghai Futures Exchange trading system, study data communication protocol for real-time trading system: the information packaged Agreement XMP (Exchange Message Protocol) and transaction protocol XTP (Exchange Transaction Protocol), and discuss the design and implementation of the agreement. This paper first introduces the model of the prototype system of the latest transaction, the three-layer model of the transaction host, trading the FEP and Member end server architecture. Member-side access FEP as a bridge between the software / transaction terminal transaction host, application isolation, network isolation, link management and load balancing functions play a three-tier client / server model. And then introduce a data communication protocol XMP and XTP suitable for real-time trading system. Mount multiple transactions for a transaction host FEP, a transaction FEP mount more than one member end server architecture as well as the characteristics of the two-way real-time data transmission flow (Flow) mechanism \No. mechanism \Finally, the protocol application programming interface (API) design ideas and realization. Currently, I achieve XMP / XTP data communication system is used in futures trading system of the Shanghai Futures Exchange, running well, and provide a strong guarantee for the performance of the whole system; and has achieved tremendous economic benefits.

Table of contents

Abstract 4-5 ABSTRACT 5-7 directory 7-12 first chapter 12-20 <br / > 1.1 real-time trading system overview 12-14 1.1.1 Introduction 12 1.1.2 two-tier system of real-time trading system model 12-13 <br / > 1.1.3 three-tier architecture model of real-time trading system and 13-14 1.2 network communication system in a real-time trading environment the 14-19 1.2.1 FIX protocol 14-15 1.2.2 SWIFT system the 15-16 1.2.3 OFX protocol 16-17 1.2.4 XMP / XTP protocol 17-19 1.3 to complete the paper work and content arrangements 19-20 Chapter II prototype real-time trading system introduced 20-30 2.1 Introduction 20 2.2 prototype real-time trading system design framework 20-23 2.2.1 design principles 20-21 2.2.2 prototype real-time trading system overall Framework the 21-23 2.3 subsystem design 23-30 2.3.1 central database system 23-24 2.3.2 host system 24-26 2.3.3 pre-transaction (FRONTTRANS) 26-27 2.3.4 front-end the agreement the machine (XTPCOM) 27 <br / > 2.3.5 Member peer protocol machine (MEMBERPROTO) 27 2.3.6 client API layer 27-28 2.3.7 interface design 28 - 29 2.3.8 transmission of heartbeat detection process activities 29-30 Chapter XMP / XTP data communication protocol design 30-48 3.1 Introduction 30-33 3.1.1 XMP / XTP data communication protocol of the introduction 30 3.1.2 XMP / XTP data communication system framework 30-31 < br /> 3.1.3 XMP / XTP data flow diagram of a data communication protocol design 31-33 3.2 XMP protocol 33-35 3.2.1 XMP header 34 3.2.2 Expansion header 34-35 3.2.3 Text 35 3.3 XTP protocol 35-37 3.3.1 XTP header 35-36 3.3.2 the XTP information text 36-37 3.4 data flow information exchange 37 3.4. 1 request error response 37 3.4.2 transaction data streams (Transaction Flow) 37 3.4.3 private data stream (Private Flow) 37 <br / > 3.4.4 Market data stream (Market Flow) and 37 3.5 XMP / XTP communication system data flow diagram 37-38 3.6 packet structure described 38-48 3.6.1 the transaction flow 38-43 3.6.2 private stream 43-45 the 3.6.3 market stream 45 - 48 Chapter Flow (FLOW) mechanism design and realization 48-54 streams 4.1 (and the FLOW) 48-54 4.1.1 Introduction 48 4.1.2 design ideas the 48-50 the 4.1.3 stream classes with protocol integration design flow 50-51 4.1.4 the realization 51-53 4.1.5-flow application settings 53-54 Chapter XMP / XTP communication protocol application layer API design 54 - 69 5.1 Introduction nbsp 54 5.2 API operation mechanism; 54-55 5.2.1 running structure 54-55 5.2. 2 member side implementation 55 5.3 API classification the the 55-56 5.3.1 traders API 55 5.3.2 Transaction Manager API 55-56 5.3.3 system administrator API 56 5.4 API run and design 56-59 5.4.1 API running description 56-58 5.4.2 API description 58-59 5.5 class library design and functional description 59 5.6 API function description 59-69 5.6.1 initialization (init) the 5.6.2 system shut down (the shutdown) 59 59 5.6.3 network off open indication (OnRecvChannelLost) 59-60 5.6.4 Log management the 60-61 5.6.5 traders to modify password / response 61 5.6.6 traders forced exit 61 5.6.7 ordinary declaration processing 61-63 5.6.8 Data Query 63-65 5.6 .9 nbsp market information; 65-69 Chapter Summary and Outlook the 69-71 6.1 summarizes 69-70 6.2 further work Looking 70-71 Reference 71-73 Acknowledgements 73-74

Related dissertations

  1. Research on the Personnel Profession Career Management Optimization of Tangshan Iron and Steel Group Co.LTD
    LiHongWei ·Hebei University of Technology ·2013 ·Master's thesis
  2. Research of Hydrodynamic Noise on3D Rigid Cavity-Cylindrical Convex Body Composite Structure
    ZhuGuang ·Tianjin University ·2012 ·Master's thesis
  3. Analysis of the Flowing Mechanism and Numerical Simulation of Carbon Black in the Dense Phase Pneumatic Conveying System
  4. Research on Structure Design and Hemocompatibility of Hydrodynamic Bearing in Artificial Heart
    HanQing ·Zhejiang University ·2012 ·Doctoral dissertation
  5. Research on Mechanism of the Effect of Ignition Pressurization on a Solid Propellant Grain Crack
  6. Seepage water drive mechanism and gas reservoir simulation theory and method of
    YuJin ·Southwest Petroleum Institute ·2005 ·Doctoral dissertation
  7. Study on Flow Mechanism for Avalanche Soils and Scour and Silting Characteristics of Debris Flows
  8. Inter-regional Capital Flow in China: Theoretical Analysis and Empirical Study
    YanHaoKun ·Zhejiang University ·2008 ·Doctoral dissertation
  9. Experimental and Numerical Study of Fluid Flow Mechanism in Fractured-Vuggy Porous Media
    WangDianSheng ·China University of Petroleum ·2009 ·Doctoral dissertation
  10. Study on Hydraulic Characteristics of Micro-pressure Perforated Flexible Hose
  11. Investigation on the Flow Features and Flowfield Structures of Centrifugal Compressors
  12. Numerical Investigation of the Stall Mechanism and Casing Treatment of Transonic Compressor
    HuangXuDong ·Tsinghua University ·2010 ·Doctoral dissertation
  13. Immersion Flow Mechanism and Its Effect on Lens Element in Immersion Lithography Machine
    ChenZuo ·Zhejiang University ·2011 ·Doctoral dissertation
  14. Research on Civil Servant Flowing Mechanism in China
    ZuoDong ·Jilin University ·2007 ·Master's thesis
  15. A Study on the Flow Mechanism of Civil Servants in China
    LiBing ·East China Normal University ·2007 ·Master's thesis
  16. Spatial Networking Theory and Practice
    CaiBinBin ·Central China Normal University ·1999 ·Master's thesis
  17. Semantic Web -based intelligent search technology research and implementation
  18. High-tech Enterprise Development and Management of Human Capital
    YuChunSheng ·Zhejiang University of Technology ·2001 ·Master's thesis
  19. Professional Entrepreneur and marketization of research
    LiuXiangGuo ·Central South University ·2001 ·Master's thesis
  20. Physical Simulation and Theoretical Study of Fluid Flow in Fractured Media
    LiuHongKe ·China University of Petroleum ·2008 ·Master's thesis