學術產出-學位論文
文章檢視/開啟
書目匯出
-
題名 以區塊鏈與智能合約實作外匯交易及擔保品支付系統
Implementing Foreign Exchange Trading and Collateral Payment using Blockchain and Smart Contracts作者 黃韋琪
Huang, Wei-Chi貢獻者 陳恭
Chen, Kung
黃韋琪
Huang, Wei-Chi關鍵詞 區塊鏈
外匯交易
擔保品支付
Blockchain
Hyperledger Fabric
Foreign Exchange
Collateral Payment II 政 h 治 立 大 學 國 ‧ ‧ N y t a i s t r i o e v n i n a U i日期 2019 上傳時間 7-八月-2019 17:08:22 (UTC+8) 摘要 因目前外匯結算不利於即時取得交易比對確認結果,且保證金存在增提追繳 的爭議與風險。本研究以外匯交易、交易市價評估 (Marked to Market,MTM) 計算、擔保品計算以及擔保品支付等模組化架構,透過 Hyperledger Fabric 分散式賬本實作「外匯交易及擔保品支付系統」,解決交易結算時間、保證金徵提爭議等缺點,並提升保證交易合法性與安全性,降低風險。在此研究中,以分散式賬本數據庫管理外匯交易與擔保品支付,利用智能合約減少交易延遲與跨時區的結算時間,並且採用區塊鏈安全性的監控管理,提供監管單位即時性的瞭解交易市場變化,亦可透過交易後數據分析,實現金融市場快速、穩健的發展。
Nowadays, the traditional ways of foreign exchange settlement jeopardize the speed of acquiring the result of comparison of transaction. In addition, traditional foreign exchange settlements need to withdrawal security deposit also occurring the debate of recovering of security deposit. Therefore, this thesis combined existing foreign exchange trading module, trading MTM computing module and collateral calculation module with Hyperledger Fabric blockchain technology to reconstruct the 「Foreign exchange trading and collateral payment system」to solve the disadvantages of traditional foreign exchange settlement.In this thesis, distributed ledger data base was used to manage foreign exchange trading and collateral payment. Also, by utilizing smart contract advantage which blockchain technology brings, transition delay and cross-time-zone settlement time can be reduced significantly. In addition, by using the high security monitoring management which block chain technology brings, financial regulators can get the market trend in a real-time manner. Last but not least, by analyzing the data which transactions bring, the legitimacy and security can be secured and help the financial market developing stably.參考文獻 [1] 陳恭博士,(2018),區塊鏈的新金融發展研究-期末報告書。[2] 財團法人台北外匯市場發展基金會,外匯市場交易準則,Retrived May 10 2019,from:http://www.tpefx.com.tw/uploads/download/tw/principle.pdf[3] 蕭俊傑,區塊鏈技術之發展現況與趨勢,Retrived May 10 2019,from:https://webline.sfi.org.tw/download/edd_ftp/Doc/20180525/PM1.pdf[4] 簡堅訓,(2005),衍生性商品與 ISDA 合約法務控管實務手冊,台灣:秀威資訊。[5] 簡堅訓,(2012),司法判決實務案例分析看 ISDA 合約法律風險控管功能,證券櫃檯雙月刊,第 160 期第 108 頁。[6] 链块学院,超级账本实践——链码开发,Retrived May 10 2019,from:http://www.liankuai.tech/technology/197.html[7] Accenture, (2018), UNLOCKING INFINITE VALUE BLOCKCHAIN IN COLLATERAL MANAGEMENT[8] Araf Karsh Hamid, (2018), Blockchain Hyper Ledger Fabric : Bangkok Conference[9] Elli Androulaki, Christian Cachin, Angelo De Caro, Konstantinos Christidis, Chet Murthy, Binh Nguyen, Alessandro Sorniotti, and Marko VukolićNext Consensus Architecture Proposal, Next Consensus Architecture Proposal, Retrived May 10 2019, from:http://wutongtree.github.io/translations/Next-Consensus-Architecture- Proposal_zh#section2[10] Hyperledger Fabric, Retrived May 10 2019, from:https://openblockchain.readthedocs.io/en/latest/[11] KC Tam, An Implementation Example of Notarization in Hyperledger Fabric, Retrived May 10 2019, from:https://medium.com/@kctheservant/an-implementation-example -of-notarization-in-hyperledger-fabric-e66fab155fdb[12] LuckScout Team, Understanding the Over the Counter Trading or OTC in Forex Market, Retrived May 10 2019, from:https://www.luckscout.com/over-the-counter- trading/[13] Margaret Rouse, smart contract, Retrived May 10 2019, from:https://searchcompliance. techtarget.com/definition/smart-contract[14] Markmlickprivateequity, BITCOIN VS. FOREX TRADING: UNDERSTANDING THE DIFFERENCE, Retrived May 10 2019, from: https://www.markemlickprivateequity. com/news/bitcoin-vs-forex-trading- understanding-the-difference[15] Masterthecrypto.com, Guide to Smart Contract: What are Smart Contracts, Retrived May 10 2019, from:https://masterthecrypto.com/what-are-smart-contracts-guide/[16] Moses Sam Paul, Hyperledger — Chapter 10| Blockchain Application on Hyperledger Fabric, Retrived May 10 2019, from:https://medium.com/swlh/hyperledger-chapter- 10-blockchain-application-on-hyperledger-fabric-2e34f3f430b[17] Muntasir Mamun, How does Hyperledger Fabric works? Retrived May 10 2019, from: https://medium.com/coinmonks/how-does-hyperledger-Fabric-works-cdb68e6066f5[18] Muntasir Mamun, How does Hyperledger Fabric works? Retrived May 10 2019, from:https://medium.com/coinmonks/how-does-hyperledger-Fabric-works-cdb68e6066f5[19] Nitin Gaur, Luc Desrosiers, Petr Novotny, Venkatraman Ramakrishna, Anthony O`Dowd, Salman A. Baset, (2018), Hands-On Blockchain with Hyperledger[20] Selwyn Halbertsma, A ‘Smart’ Approach to Blockchain for Collateral Management, Retrived May 10 2019, from:https://coinidol.com/smart-approach-to-blockchain-for - collateral-management/[21] Sharon Cocco, Gari Singh, Top 6 technical advantages of Hyperledger Fabric for blockchain networks, Retrived May 10 2019, from:https://developer.ibm.com/tutorials /cl-top-technical-advantages-of-hyperledger-fabric-for-blockchain-networks/ 描述 碩士
國立政治大學
資訊科學系碩士在職專班
106971024資料來源 http://thesis.lib.nccu.edu.tw/record/#G0106971024 資料類型 thesis dc.contributor.advisor 陳恭 zh_TW dc.contributor.advisor Chen, Kung en_US dc.contributor.author (作者) 黃韋琪 zh_TW dc.contributor.author (作者) Huang, Wei-Chi en_US dc.creator (作者) 黃韋琪 zh_TW dc.creator (作者) Huang, Wei-Chi en_US dc.date (日期) 2019 en_US dc.date.accessioned 7-八月-2019 17:08:22 (UTC+8) - dc.date.available 7-八月-2019 17:08:22 (UTC+8) - dc.date.issued (上傳時間) 7-八月-2019 17:08:22 (UTC+8) - dc.identifier (其他 識別碼) G0106971024 en_US dc.identifier.uri (URI) http://nccur.lib.nccu.edu.tw/handle/140.119/125047 - dc.description (描述) 碩士 zh_TW dc.description (描述) 國立政治大學 zh_TW dc.description (描述) 資訊科學系碩士在職專班 zh_TW dc.description (描述) 106971024 zh_TW dc.description.abstract (摘要) 因目前外匯結算不利於即時取得交易比對確認結果,且保證金存在增提追繳 的爭議與風險。本研究以外匯交易、交易市價評估 (Marked to Market,MTM) 計算、擔保品計算以及擔保品支付等模組化架構,透過 Hyperledger Fabric 分散式賬本實作「外匯交易及擔保品支付系統」,解決交易結算時間、保證金徵提爭議等缺點,並提升保證交易合法性與安全性,降低風險。在此研究中,以分散式賬本數據庫管理外匯交易與擔保品支付,利用智能合約減少交易延遲與跨時區的結算時間,並且採用區塊鏈安全性的監控管理,提供監管單位即時性的瞭解交易市場變化,亦可透過交易後數據分析,實現金融市場快速、穩健的發展。 zh_TW dc.description.abstract (摘要) Nowadays, the traditional ways of foreign exchange settlement jeopardize the speed of acquiring the result of comparison of transaction. In addition, traditional foreign exchange settlements need to withdrawal security deposit also occurring the debate of recovering of security deposit. Therefore, this thesis combined existing foreign exchange trading module, trading MTM computing module and collateral calculation module with Hyperledger Fabric blockchain technology to reconstruct the 「Foreign exchange trading and collateral payment system」to solve the disadvantages of traditional foreign exchange settlement.In this thesis, distributed ledger data base was used to manage foreign exchange trading and collateral payment. Also, by utilizing smart contract advantage which blockchain technology brings, transition delay and cross-time-zone settlement time can be reduced significantly. In addition, by using the high security monitoring management which block chain technology brings, financial regulators can get the market trend in a real-time manner. Last but not least, by analyzing the data which transactions bring, the legitimacy and security can be secured and help the financial market developing stably. en_US dc.description.tableofcontents 第一章 緒論 1 1.1 研究背景 1 1.2 研究動機 1 1.3 研究目的 3 1.4 論文架構 4第二章 相關研究與技術背景 5 2.1 區塊鏈 5 2.2 區塊鏈共識 5 2.3 智能合約 6 2.4 Hyperledger Fabric 技術探討 7 2.4.1 Hyperledger Fabric 架構 82.4.2 Hyperledger Fabric 交易流程 10 2.5 外匯交易 12 2.6 ISDA 合約 13 2.7 SWIFT 電文 15 2.8 匯率與市價評估 15 2.9 追繳保證金 16第三章 系統架構與設計 17 3.1 系統設計理念 17 3.2 系統架構 18 3.3 系統流程 20 3.3.1 外匯交易模組 20 3.3.2 擔保品支付模組 21 3.4 交易比對機制 23 3.5 MTM 市價評估計算機制 23 3.6 擔保品計算機制 24 3.7 第三方資訊源報價機制 25 3.8 智能合約 26 3.8.1 Counterparty 模組 26 3.8.2 外匯交易模組 26 3.8.3 擔保品支付模組 27第四章 系統實作與展示 28 4.1 實作語言與工具 28 4.2 測試個案 29 4.3 測試個案執行時間 33 4.4 系統實作展示 33 4.4.1 登入頁面 34 4.4.2 FX 交易功能頁面 35 4.4.3 MTM 市價評估功能頁面 38 4.4.4 報價功能頁面 39 4.4.5 擔保品功能頁面 41 4.5 系統實作效益分析 43 4.6 系統實作問題探討 45 4.6.1 CouchDB 資料一致性問題 45 4.6.2 第三方報價資訊源 48第五章 結論與建議 51 5.1 結論 51 5.2 未來研究方向 52參考文獻 53 zh_TW dc.source.uri (資料來源) http://thesis.lib.nccu.edu.tw/record/#G0106971024 en_US dc.subject (關鍵詞) 區塊鏈 zh_TW dc.subject (關鍵詞) 外匯交易 zh_TW dc.subject (關鍵詞) 擔保品支付 zh_TW dc.subject (關鍵詞) Blockchain en_US dc.subject (關鍵詞) Hyperledger Fabric en_US dc.subject (關鍵詞) Foreign Exchange en_US dc.subject (關鍵詞) Collateral Payment II 政 h 治 立 大 學 國 ‧ ‧ N y t a i s t r i o e v n i n a U i en_US dc.title (題名) 以區塊鏈與智能合約實作外匯交易及擔保品支付系統 zh_TW dc.title (題名) Implementing Foreign Exchange Trading and Collateral Payment using Blockchain and Smart Contracts en_US dc.type (資料類型) thesis en_US dc.relation.reference (參考文獻) [1] 陳恭博士,(2018),區塊鏈的新金融發展研究-期末報告書。[2] 財團法人台北外匯市場發展基金會,外匯市場交易準則,Retrived May 10 2019,from:http://www.tpefx.com.tw/uploads/download/tw/principle.pdf[3] 蕭俊傑,區塊鏈技術之發展現況與趨勢,Retrived May 10 2019,from:https://webline.sfi.org.tw/download/edd_ftp/Doc/20180525/PM1.pdf[4] 簡堅訓,(2005),衍生性商品與 ISDA 合約法務控管實務手冊,台灣:秀威資訊。[5] 簡堅訓,(2012),司法判決實務案例分析看 ISDA 合約法律風險控管功能,證券櫃檯雙月刊,第 160 期第 108 頁。[6] 链块学院,超级账本实践——链码开发,Retrived May 10 2019,from:http://www.liankuai.tech/technology/197.html[7] Accenture, (2018), UNLOCKING INFINITE VALUE BLOCKCHAIN IN COLLATERAL MANAGEMENT[8] Araf Karsh Hamid, (2018), Blockchain Hyper Ledger Fabric : Bangkok Conference[9] Elli Androulaki, Christian Cachin, Angelo De Caro, Konstantinos Christidis, Chet Murthy, Binh Nguyen, Alessandro Sorniotti, and Marko VukolićNext Consensus Architecture Proposal, Next Consensus Architecture Proposal, Retrived May 10 2019, from:http://wutongtree.github.io/translations/Next-Consensus-Architecture- Proposal_zh#section2[10] Hyperledger Fabric, Retrived May 10 2019, from:https://openblockchain.readthedocs.io/en/latest/[11] KC Tam, An Implementation Example of Notarization in Hyperledger Fabric, Retrived May 10 2019, from:https://medium.com/@kctheservant/an-implementation-example -of-notarization-in-hyperledger-fabric-e66fab155fdb[12] LuckScout Team, Understanding the Over the Counter Trading or OTC in Forex Market, Retrived May 10 2019, from:https://www.luckscout.com/over-the-counter- trading/[13] Margaret Rouse, smart contract, Retrived May 10 2019, from:https://searchcompliance. techtarget.com/definition/smart-contract[14] Markmlickprivateequity, BITCOIN VS. FOREX TRADING: UNDERSTANDING THE DIFFERENCE, Retrived May 10 2019, from: https://www.markemlickprivateequity. com/news/bitcoin-vs-forex-trading- understanding-the-difference[15] Masterthecrypto.com, Guide to Smart Contract: What are Smart Contracts, Retrived May 10 2019, from:https://masterthecrypto.com/what-are-smart-contracts-guide/[16] Moses Sam Paul, Hyperledger — Chapter 10| Blockchain Application on Hyperledger Fabric, Retrived May 10 2019, from:https://medium.com/swlh/hyperledger-chapter- 10-blockchain-application-on-hyperledger-fabric-2e34f3f430b[17] Muntasir Mamun, How does Hyperledger Fabric works? Retrived May 10 2019, from: https://medium.com/coinmonks/how-does-hyperledger-Fabric-works-cdb68e6066f5[18] Muntasir Mamun, How does Hyperledger Fabric works? Retrived May 10 2019, from:https://medium.com/coinmonks/how-does-hyperledger-Fabric-works-cdb68e6066f5[19] Nitin Gaur, Luc Desrosiers, Petr Novotny, Venkatraman Ramakrishna, Anthony O`Dowd, Salman A. Baset, (2018), Hands-On Blockchain with Hyperledger[20] Selwyn Halbertsma, A ‘Smart’ Approach to Blockchain for Collateral Management, Retrived May 10 2019, from:https://coinidol.com/smart-approach-to-blockchain-for - collateral-management/[21] Sharon Cocco, Gari Singh, Top 6 technical advantages of Hyperledger Fabric for blockchain networks, Retrived May 10 2019, from:https://developer.ibm.com/tutorials /cl-top-technical-advantages-of-hyperledger-fabric-for-blockchain-networks/ zh_TW dc.identifier.doi (DOI) 10.6814/NCCU201900601 en_US