Responsive image
博碩士論文 etd-0826112-125843 詳細資訊
Title page for etd-0826112-125843
論文名稱
Title
程式交易之雲端金融計算服務設計
The Design of Cloud-Economical Computing Services for Program Trading
系所名稱
Department
畢業學年期
Year, semester
語文別
Language
學位類別
Degree
頁數
Number of pages
73
研究生
Author
指導教授
Advisor
召集委員
Convenor
口試委員
Advisory Committee
口試日期
Date of Exam
2012-07-20
繳交日期
Date of Submission
2012-08-26
關鍵字
Keywords
SLURM、Xinetd、程式交易、雲端運算、叢集運算
cluster computing, cloud computing, SLURM, Xinetd, program trading
統計
Statistics
本論文已被瀏覽 5638 次,被下載 328
The thesis/dissertation has been browsed 5638 times, has been downloaded 328 times.
中文摘要
程式交易是近幾年來財經界關注的焦點之一,根據統計在2005 年美國股市單日交易量有56.3%使用程式交易進行,至2009 年更增加至73%。隨著程式交易的普及,亦越來越多人著手發開和研究這塊領域。
本論文之目的在於建構出一套完整的程式交易開發平台,供程式開發人員開發或研究程式交易服務。本論文除了開發平台外亦提供服務執行環境,包含三大部分:
1. 工作排程功能
2. 高度伺服器擴充性
3. 開發平台
本論文使用SLURM作為資源管理平台,SLURM 常被用來做為大型伺服器叢集的資源管理工具,因此擁有非常強大的資源擴充性,但缺少簡易的外部介面,無法直接提供給使用者使用,我們將Xinetd作為其外部介面,並實作程
式交易之開發平台與SLURM 連結,提供程式開發人員建構程式交易服務。
從測試結果看來,使用Xinetd 修改而來的排程子系統以及外部介面,雖然增加了等待資源的時間,但可以有效的控制伺服器的資源並增加服務的可靠度。
Abstract
Program Trading has gotten more popular recent years. According to thestatistics, there was about 53.6% of daily volume in the United States, and increased to 73% in 2009. With the universal of program trading, more people have begun to research program trading.
The purpose of this paper is constructing a developed platform of program trading for researching or developing. In addition to developed platform, we provide the run-time environment, and three main functions:
1. The job scheduler
2. The high scalability
3. The developed platform
In this paper, we use SLURM to implement an economical computing service for program trading. SLURM is a resource management software for some large clusters.
However it lacked for an easy interface to the ended users. We modify Xinetd as the external interface for SLURM, and implement the program trading development platform for researching or developing.
According to the result, using our scheduler and the external interface that modify from Xinetd can be effective in controlling the server resource and increase the availability.
目次 Table of Contents
第一章導論 1
1.1 研究動機 1
1.2 研究目的 2
1.3 論文架構 2
第二章研究背景 3
2.1 動態載入 3
2.1.1 建立動態連結函式庫 4
2.2 Xinetd 簡介 5
2.2.1 Configuration File 7
2.2.2 Xinetd 程式架構 9
2.2.3 Xinetd 自訂服務範例 10
2.3 Slurm 簡介 13
2.4 Protocol Buffers 簡介 16
2.5 Libev 簡介 17
2.5.1 Libevent 17
2.5.2 I/O Multiplexing 18
2.5.2.1 Select 20
2.5.2.2 Epoll 21
2.6 相關文獻 21
第三章系統實 22
3.1 系統簡 22
3.1.1 操作環 25
3.1.2 系統功能需 25
3.1.3 操作概念 26
3.1.4 設計與實現設限 27
3.2 控制節點 28
3.2.1 排程子系統 28
3.2.1.1 解析使用者登入封包 29
3.2.1.2 使用者登入管理 30
3.2.1.3 流量控管 31
3.2.1.4 製作SBATCH敘述 32
3.3 工作派送子系統 33
3.3.1 資源設定 33
3.4 節點子系統 34
3.4.1 服務框架實作 35
3.4.2 金融計算服務實作 37
3.4.2.1 歷史資料 38
3.4.2.2 User Script 39
3.5 使用者管理介面 45
第四章效能分析與調校 47
4.1 實驗設計 47
4.2 實驗步驟 48
4.3 實驗結果 49
第五章結論 52
Reference 53
Appendix 56
參考文獻 References
1.“SLURM - Simple Linux Utility for Resource Management”,https://computing.llnl.gov/linux/slurm/
2.“Xinetd”, http://www.xinetd.org/
3. 李易珊(2010)。蛛網投資策略績效之研究–以台灣50 指數ETF為例。未出版碩士論文,國立台灣科技大學, pp.18.
4. 姜林杰祐, “程式交易系統設計與建構”, 新陸書局出版, 2007.
5.“Program Trading Continues to Increase,” Elkin McSherry LLC, October, 2005.
6. SEC runs eye over high-speed trading,” Financial Times, July 29, 2009.
7. I. Aldridge, High-Frequency Trading. New Jersey: Wiley, 2010.
8. L. Zhang and Q. Zhou, “CCOA: Cloud Computing Open Architecture”, IEEE International Conference on Web Services,2009
9. R. Chow, P. Golle, M. Jakobsson , E. Shi, J. Staddon, R. Masuoka and J. Molina.“Controlling Data in Cloud: Outsourcing Computation Without Outsourcing Control”, Proc. Of the 2009 ACM workshop on Cloud Computing Security, Conf. on Computer and Communications Security, Chicago, IL, pp. 85-90.
10.“The inetd Super-Server”,http://www.freebsd.org/doc/zh_TW/books/handbook/network-inetd.html
11. R. Droms, “Dynamic Host Configuration Protocol”, RFC 2131, March 1997.
12. K. Sollins, “THE TFTP PROTOCOL (REVISION 2)”, RFC 783, July 1992.
13. J. Postel, J. Reynolds, “FILE TRANSFER PROTOCOL (FTP)”, RFC 959, October 1985.
14.“Introduction to EasyLanguage”,http://www.tradestation.com/en/education/events/live-webcasts/easylanguage/introduction-to-easylanguage
15. Andy B. Yoo, Morris A. Jette and Mark Grondona, “SLURM: Simple Linux Utility for Resource Management”, pp.49.
16.“POSIX (Portable Operating System Interface for UNIX) - What is POSIX (Portable Operating System Interface for UNIX)”,http://linux.about.com/cs/linux101/g/POSIX__Portable.htm
17. W. Richard Stevens and Stephen A. Rago, “Advanced I/O,” Advanced Programing in the UNIX Environment, 2nd Edition, pp.474-479.
18. Andy B. Yoo, Morris A. Jette and Mark Grondona ,”SLURM: Simple Linux Utility for Resource Management, in Job Scheduling Strategies for Parallel Processing”, L. Rudolph and U. Schwiegelshohn, Editors. 2003, SpringerVerlag. p. 46
19. Carsten Ernemann, Martin Krogmann, Joachim Lepping and Ramin Yahyapour,“Scheduling on the Top 50 Machines.”
20. Morris Jette, Mark Grondona, “SLURM: Simple Linux Utility for Resource Management”. 2003, p.6
21.“Message Passing Interface”, http://www.mcs.anl.gov/research/projects/mpi/
22.“protobuf - Protocol Buffers - Google's data interchange format - Google Project Hosting”, http://code.google.com/p/protobuf/
23.“ThirdPartyAddOns - protobuf - Links to third-party add-ons. - Protocol Buffers - Google's data interchange format - Google Project Hosting”,http://code.google.com/p/protobuf/wiki/ThirdPartyAddOns
24.“Developer Guide - Protocol Buffers — Google Developers”, https://developers.google.com/protocol-buffers/docs/overview
25.“Libev”, http://software.schmorp.de/pkg/libev.html
26.“Libevent”, http://libevent.org/
27.“poll(2) - Linux man page”, http://linux.die.net/man/2/poll
28.“epoll(4) - Linux man page”, http://linux.die.net/man/4/epoll
29.“kqueue(2) Mac OS X Developer Tools Manual Page”, http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man2/kqueue.2.html
30.“man pages section 7: Device and Network Interfaces- poll(7d)”, http://docs.oracle.com/cd/E19253-01/816-5177/6mbbc4g9n/index.html
31. Aiwu Shi, Youfu Xia and Haiyan Zhan, “Applying Cloud Computing in Financial Service Industry “, International Conference on Intelligent Control and Information Processing, 2010.
32. Gianni Fenu and Simone Surcis, “A Cloud Computing based Real Time Financial System”, Eighth International Conference on Networks, 2009.
33. Arden Agopyan, Emrah Sener, and Ali Beklen, “Financial Business Cloud for High-Frequency Trading”, CLOUD COMPUTING ,2010
34. Terrence Hendershott, Charles M. Jones, and Albert J. Menkveld, “Does Algorithmic Trading Improve Liquidity?”
35. Ernest P. Chen, “Quantitative Trading”, 2008.
36.“Network File System (NFS) version 4 Protocol”, S. Shepler,, B. Callaghan, D. Robinson, R. Thurlow, C. Beame, M. Eisler, D. Noveck, RFC 3530, April 2003
37. Craig A. Ellis, , Simon A. Parbery, “Is smarter better? A comparison of adaptive, and simplemovingaverage trading strategies”. Research in International Business and Finance, September 2005, pp. 399–411.
38. 樓禎祺,何培基, “股價移動平均線之理論與實證-以台灣股市模擬投資操作為例”. 育達研究叢刊, 2003 年11 月, pp. 36.
電子全文 Fulltext
本電子全文僅授權使用者為學術研究之目的,進行個人非營利性質之檢索、閱讀、列印。請遵守中華民國著作權法之相關規定,切勿任意重製、散佈、改作、轉貼、播送,以免觸法。
論文使用權限 Thesis access permission:自定論文開放時間 user define
開放時間 Available:
校內 Campus: 已公開 available
校外 Off-campus: 已公開 available


紙本論文 Printed copies
紙本論文的公開資訊在102學年度以後相對較為完整。如果需要查詢101學年度以前的紙本論文公開資訊,請聯繫圖資處紙本論文服務櫃台。如有不便之處敬請見諒。
開放時間 available 已公開 available

QR Code