4. Financial Markets
▷Vital Governing Sector in Global Economy – Economic Wealth is Presented
▷Early days
Cheque clearing
.Deposit/Withdraw
Today More Complicated Operations
▷Stakeholders & Financial Institutes
Different stakeholder interests
Different Operations
Linked to each other
5. Stakeholder Interests vs Economic Stability
▷History
Enron
2007 2008 Crisis
Greek Crisis
▷Minimize Risk– Effective Derivative Management
▷Computer Science
Big Data
Data Mining
Real Time Analytics
Neural Networks ++
Financial Markets
19. Operations of CCP
▷Rule Book
MX | LCH | CBOT
▷Margin Calculation
Purpose : No Counterparty Default Occur
At the End of Each Business Day
.
▷Possibilities
Dr. Trader Account
Cr. Trader Account
Restate to Initial Margin
Methodology
20. Rule 9102 – Long Option Position
Margin Requirement
.
Methodology
the period to expiry is greater or equal to 9
months, 50% of the option’s time value, else
100% of the option’s time value
Future Cash Flow
.
25. Attempts to Define a Language
▷Lee – Language for Electronics Contracts … Common Logic Model
▷Deursen – Define a Formalized DSL
- Highlight the Implications of such DSL
- Tool Bus Architecture (proposed solutions)
- RISLA
Finance Product Can Describe by it’s Cash Flow
IntroductionResearch Literature
▷LexiFi,
▷HiperFit (http://hiperfit.dk/)
26. Peyton Jones, Marc-Eber, Julian (2000)
▷Fixed, Precisely Specified Set of Combinators
▷Describe a Contract
▷Process a Contract
▷Find Value of a Contract
▷Compositional Nature
Contract Primitives + Observable Primitives
IntroductionResearch Literature
27. Complex Derivatives
▷Mediratta – Credit Default Swap & Power Reverse Dual Currency Swap
▷Valuation – evalC :: Model Contract
- evalO :: Model Contract
More Complex Derivatives Can Compose Using Fixed Set of
Combinators & Observables While
Preserving Uniqueness of the Contract
IntroductionResearch Literature
28. Software Language Approach
▷Peyton – Justify that FP Approach Can Use to Define and Value Derivatives
- Lacking Highlighting SE Language Concepts
- No Unified Approach
▷Gaillourdet – HCCL in a SW Language Point of View
- Provided a Formal Definition for the Language (Syntax)
Syntax of Observables
Syntax of Contract
- Denotational Semantics
Observables
Contracts
IntroductionResearch Literature
29. Environment
▷Facts About Observables and Choices – Symbolic Management of Derivatives
- External to the FC/FD
- Direct impact on the FC/FD
IntroductionResearch Literature
30. Summery
IntroductionResearch Literature
DSL for Finance Sector Has been a Major Requirement Since Early Days
Payton, Eber, Julian HCCL
Mediratta Complex Derivatives
Gaillourdet Software Language Approach
Bahr, Jost, Elsman Symbolic Management of Finance
Contracts & Symbolic Management of
Multiparty Contracts
CCP Operations Have Not Yet Addressed using DSL Approach
35. Rule | Hypothesis IntroductionArchitecture
▷Rule_9102 :: DEPENDENT_FACTORS Contract
▷Factors Identified
- Maturity
- Current Date
- Position
- Options Time Value ++
36. Seed Contract | Outcome of Hypothesis
IntroductionArchitecture
37. Seed Contract | Outcome of Hypothesis
IntroductionArchitecture
43. Completed
▷Research Literature
▷Architecture
▷Constructing Core Level Contracts
(https://github.com/CoolCK/Finance_Contracts_Haskell)
▷Partial Contract Implementation
▷Construction of Rule Using HCCL
▷Finalizing Seed Contract
▷Generate All Possible Results
Progress
Work In Progress