Hexagonal Architecture
in Fintech
Presented By: Jasmine Kaur
Software Consultant
Knoldus Software Pte. Ltd.(Singapore)
About Knoldus
Knoldus is a technology consulting firm with focus on modernizing the digital systems
at the pace your business demands.
DevOps
Functional. Reactive. Cloud Native
Agenda
Components of Hexagonal Architecture
Advantages of Hexagonal Architecture
Challenges in Fintech application
Overview of trading life cycle
About Hexagonal Architecture
Agenda
Demo
Overview of sample trading app
How Hexagonal Architecture fix this challenge
About Hexagonal Architecture
The hexagonal architecture, or ports and adapters architecture, is an architectural
pattern used in software design. It aims at creating loosely coupled application
components that can be easily connected to their software environment by means of
ports and adapters. This makes components exchangeable at any level.
Components of Hexagonal Architecture
● Application Core: This is one of the important
component of the architecture which handles the
core business logic of the application.
● Ports and Interfaces: This is the middle layer
component of this architecture which resides
between application core and the adapters
● Adapters: This is the outermost layer of this
architecture. The job of each adapter varies
depending upon their need and utility.
Advantages of Hexagonal Architecture
● All the components under this architecture are
completely independent.
● It is best used in multi-service oriented application
i.e. where any application needs multiple service
components to accommodate their business needs.
● Due its completely independent nature of this
architecture, it is easy to maintain and develop.
Overview of trading life cycle
In the financial market, “trade” means to buy and/or sell securities/financial
products. To explain it further, a trade is the conversion of an order placed on the
exchange which results in pay-in and pay-out of funds and securities. The trade
ends with the settlement of the order placed. All the steps involved in a trade,
from the point of order receipt (where relevant) and trade execution through to
settlement of the trade, are commonly referred to as the ‘trade lifecycle’.
Overview of trading life cycle
Challenges in Fintech application
● The biggest requirement and challenge of a Fintech application is that each of
the components of such a multi-service oriented application should work in
isolation as well as perform in unity with other components to achieve the
required functionality of the application so that the business logic remains
intact even if any of the component goes down.
● Each component of our multi-service oriented application should be flexible
enough to make changes from time to time. For example, if trade reporting
service replace the existing database such as Cassandra with Elasticsearch,
then there should not be any impact on any other component as well as the
entire business logic.
How Hexagonal Architecture fix this challenge ?
1. The first problem was how to make a component truly independent of each
other?
2. The second problem revolves around if we need to make any major
infrastructure change like replacing existing database with another.
Overview of sample trading app
1. Matching Engine - It just accepts the trades from multiple input sources like
REST and FIX and then performs matching based upon the criterias.
2. Trade Booking service - It accepts the Matched trade and transforms it into a
transaction report request and sends to TxReporting service.
3. TxReporting service - Only responsible to report the transactions and persist
into the DB.
Overview of sample trading app
DEMO
Hexagonal architecture in Fintech
FIX Message for NewOrderSingle(MsgType = 35)
Tag Number Field Name Examples(if exists)
11 ClOrdID
54 Side Buy/Sell
44 Price
38 OrderQty
460 Product Commodity, Corporate
167 SecurityType Future, Swaps
FIX Message for Execution Report (MsgType = 8)
Tag Number Field Name Examples(if exists)
37 OrderID
17 ExecID
150 ExecType New, Rejected, Expired
39 OrdStatus Accepted for bidding, Rejected, Expired
54 Side Buy, Sell
151 LeavesQty
14 CumQty
6 AvgPx
References:
● https://en.wikipedia.org/wiki/Hexagonal_architecture_(software)
● https://blog.knoldus.com/introduction-to-the-trade-life-cycle/
● https://blog.knoldus.com/hexagonal-architecture/
Thank You!
jasmine.kaur@knoldus.com
https://www.linkedin.com/in/jasmine-k
aur-033021102/

More Related Content

PDF
Adding Liveliness to Banking Experiences
PDF
2007 12 - gsma - pay-buy - business opportunty analysis
PDF
Open Banking via API Connect & DataPower
PPTX
CWIN17 Frankfurt / ibm_watson_io_t_platform_and_blockchain_v4
PDF
What's New With WSO2 Open Banking
PDF
CWIN17 Utrecht / cg u services - frank van der wal
PDF
Big Data Helsinki v 3 | "What you should know about PSD2 APIs?" - Joonas Tomperi
PDF
CWIN17 Singapore / Kalyan madala ibm
Adding Liveliness to Banking Experiences
2007 12 - gsma - pay-buy - business opportunty analysis
Open Banking via API Connect & DataPower
CWIN17 Frankfurt / ibm_watson_io_t_platform_and_blockchain_v4
What's New With WSO2 Open Banking
CWIN17 Utrecht / cg u services - frank van der wal
Big Data Helsinki v 3 | "What you should know about PSD2 APIs?" - Joonas Tomperi
CWIN17 Singapore / Kalyan madala ibm

What's hot (20)

PDF
Making Blockchain Real for Business at the "z Systems Agile Enterprise Develo...
PDF
apidays LIVE London 2021 - Leveraging Webauthn for Payments by Chris Wood
PPT
Open Standards For Social Business Apps
PDF
ブロックチェーンの実用化に向けたネットワーク・スケーリング
PPSX
Mobile Suite Presentation English
PPT
How Blockchain & Cryptocurrencies Redefining Financial Instruments in Finance
PDF
ING microServices
PDF
[Workshop] Business Benefits and Digital Transformation through Open Banking
PDF
Banking is Now More Open: Open Banking Update
PDF
apidays LIVE India - The future of financial services is invisible by Bharat ...
PDF
[WSO2Con EU 2018] WSO2 Open Banking, So Good I Bought it Twice
PDF
[EIC 2021] The Rise of the Developer in IAM
PDF
Blockchain with iot
PDF
Blockchain. exploring the unexplored
PDF
20170425 making blockchain_real_logistics
PDF
apidays LIVE Helsinki & North - From APIs and platform business towards API e...
PDF
ThoughtWorks: Monetising Open Banking
PPTX
The Global Influence of Open Banking, API Security, and an Open Data Perspective
PDF
Fortinet's Secure SD-WAN: Gartner Peer Insights Reviews
PDF
Constellation Labs - Business Whitepaper
Making Blockchain Real for Business at the "z Systems Agile Enterprise Develo...
apidays LIVE London 2021 - Leveraging Webauthn for Payments by Chris Wood
Open Standards For Social Business Apps
ブロックチェーンの実用化に向けたネットワーク・スケーリング
Mobile Suite Presentation English
How Blockchain & Cryptocurrencies Redefining Financial Instruments in Finance
ING microServices
[Workshop] Business Benefits and Digital Transformation through Open Banking
Banking is Now More Open: Open Banking Update
apidays LIVE India - The future of financial services is invisible by Bharat ...
[WSO2Con EU 2018] WSO2 Open Banking, So Good I Bought it Twice
[EIC 2021] The Rise of the Developer in IAM
Blockchain with iot
Blockchain. exploring the unexplored
20170425 making blockchain_real_logistics
apidays LIVE Helsinki & North - From APIs and platform business towards API e...
ThoughtWorks: Monetising Open Banking
The Global Influence of Open Banking, API Security, and an Open Data Perspective
Fortinet's Secure SD-WAN: Gartner Peer Insights Reviews
Constellation Labs - Business Whitepaper
Ad

Similar to Hexagonal architecture in Fintech (20)

DOCX
Microsoft BizTalk server seen by the programmer’s eyes
PDF
Driving the Telecom Digital Transformation through Open Digital Architecture
PPTX
Microsoft Mimarisi
PDF
Microservices best practices: Integration platforms, APIs, and more
PPTX
From Components To Services
PDF
PDF
Refactoring to Microservice Architecture
PDF
An E-Business Integration And Collaboration Platform For B2B E-Commerce
PDF
Digital transformation through integration
PPT
Why Coordination And Transactions Are Key To Building An Operational Soa
DOCX
Understanding the basic need of Service Oriented Architecture and getting sta...
PPTX
Domain Logic Patterns
PPTX
Open Digital Framework from TMFORUM
PDF
What is Application Architecture and Why Do You Need It?
PDF
Briefing Simplicité Software (English)
PDF
Business Technology Brief
DOCX
AvinashBhat_Resume
PDF
Analyze your application portfolio to know where the quality and risk issues ...
PPTX
TechDays 2010 Portugal - Event Driven Architectures - 16x9
PDF
User Reflections on a Multicloud-Enabled Infrastructure
Microsoft BizTalk server seen by the programmer’s eyes
Driving the Telecom Digital Transformation through Open Digital Architecture
Microsoft Mimarisi
Microservices best practices: Integration platforms, APIs, and more
From Components To Services
Refactoring to Microservice Architecture
An E-Business Integration And Collaboration Platform For B2B E-Commerce
Digital transformation through integration
Why Coordination And Transactions Are Key To Building An Operational Soa
Understanding the basic need of Service Oriented Architecture and getting sta...
Domain Logic Patterns
Open Digital Framework from TMFORUM
What is Application Architecture and Why Do You Need It?
Briefing Simplicité Software (English)
Business Technology Brief
AvinashBhat_Resume
Analyze your application portfolio to know where the quality and risk issues ...
TechDays 2010 Portugal - Event Driven Architectures - 16x9
User Reflections on a Multicloud-Enabled Infrastructure
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
PPTX
Self-Healing Test Automation Framework - Healenium
PPTX
Kanban Metrics Presentation (Project Management)
PPTX
Java 17 features and implementation.pptx
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
PPTX
GraalVM - A Step Ahead of JVM Presentation
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
Nomad by HashiCorp Presentation (DevOps)
PPTX
DAPR - Distributed Application Runtime Presentation
PPTX
Introduction to Azure Virtual WAN Presentation
PPTX
Introduction to Argo Rollouts Presentation
PPTX
Intro to Azure Container App Presentation
PPTX
Insights Unveiled Test Reporting and Observability Excellence
PPTX
Introduction to Splunk Presentation (DevOps)
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
PPTX
AWS: Messaging Services in AWS Presentation
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
PPTX
Managing State & HTTP Requests In Ionic.
Angular Hydration Presentation (FrontEnd)
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Self-Healing Test Automation Framework - Healenium
Kanban Metrics Presentation (Project Management)
Java 17 features and implementation.pptx
Chaos Mesh Introducing Chaos in Kubernetes
GraalVM - A Step Ahead of JVM Presentation
Nomad by HashiCorp Presentation (DevOps)
Nomad by HashiCorp Presentation (DevOps)
DAPR - Distributed Application Runtime Presentation
Introduction to Azure Virtual WAN Presentation
Introduction to Argo Rollouts Presentation
Intro to Azure Container App Presentation
Insights Unveiled Test Reporting and Observability Excellence
Introduction to Splunk Presentation (DevOps)
Code Camp - Data Profiling and Quality Analysis Framework
AWS: Messaging Services in AWS Presentation
Amazon Cognito: A Primer on Authentication and Authorization
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Managing State & HTTP Requests In Ionic.

Recently uploaded (20)

PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
NewMind AI Weekly Chronicles – August ’25 Week III
PPT
Module 1.ppt Iot fundamentals and Architecture
PPTX
Build Your First AI Agent with UiPath.pptx
PDF
sbt 2.0: go big (Scala Days 2025 edition)
PDF
Convolutional neural network based encoder-decoder for efficient real-time ob...
PPTX
Configure Apache Mutual Authentication
PDF
4 layer Arch & Reference Arch of IoT.pdf
DOCX
search engine optimization ppt fir known well about this
PDF
A review of recent deep learning applications in wood surface defect identifi...
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
A proposed approach for plagiarism detection in Myanmar Unicode text
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
Final SEM Unit 1 for mit wpu at pune .pptx
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PPTX
Custom Battery Pack Design Considerations for Performance and Safety
PDF
CloudStack 4.21: First Look Webinar slides
PPT
What is a Computer? Input Devices /output devices
sustainability-14-14877-v2.pddhzftheheeeee
NewMind AI Weekly Chronicles – August ’25 Week III
Module 1.ppt Iot fundamentals and Architecture
Build Your First AI Agent with UiPath.pptx
sbt 2.0: go big (Scala Days 2025 edition)
Convolutional neural network based encoder-decoder for efficient real-time ob...
Configure Apache Mutual Authentication
4 layer Arch & Reference Arch of IoT.pdf
search engine optimization ppt fir known well about this
A review of recent deep learning applications in wood surface defect identifi...
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
A proposed approach for plagiarism detection in Myanmar Unicode text
Getting started with AI Agents and Multi-Agent Systems
Final SEM Unit 1 for mit wpu at pune .pptx
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
Custom Battery Pack Design Considerations for Performance and Safety
CloudStack 4.21: First Look Webinar slides
What is a Computer? Input Devices /output devices

Hexagonal architecture in Fintech

  • 1. Hexagonal Architecture in Fintech Presented By: Jasmine Kaur Software Consultant Knoldus Software Pte. Ltd.(Singapore)
  • 2. About Knoldus Knoldus is a technology consulting firm with focus on modernizing the digital systems at the pace your business demands. DevOps Functional. Reactive. Cloud Native
  • 3. Agenda Components of Hexagonal Architecture Advantages of Hexagonal Architecture Challenges in Fintech application Overview of trading life cycle About Hexagonal Architecture
  • 4. Agenda Demo Overview of sample trading app How Hexagonal Architecture fix this challenge
  • 5. About Hexagonal Architecture The hexagonal architecture, or ports and adapters architecture, is an architectural pattern used in software design. It aims at creating loosely coupled application components that can be easily connected to their software environment by means of ports and adapters. This makes components exchangeable at any level.
  • 6. Components of Hexagonal Architecture ● Application Core: This is one of the important component of the architecture which handles the core business logic of the application. ● Ports and Interfaces: This is the middle layer component of this architecture which resides between application core and the adapters ● Adapters: This is the outermost layer of this architecture. The job of each adapter varies depending upon their need and utility.
  • 7. Advantages of Hexagonal Architecture ● All the components under this architecture are completely independent. ● It is best used in multi-service oriented application i.e. where any application needs multiple service components to accommodate their business needs. ● Due its completely independent nature of this architecture, it is easy to maintain and develop.
  • 8. Overview of trading life cycle In the financial market, “trade” means to buy and/or sell securities/financial products. To explain it further, a trade is the conversion of an order placed on the exchange which results in pay-in and pay-out of funds and securities. The trade ends with the settlement of the order placed. All the steps involved in a trade, from the point of order receipt (where relevant) and trade execution through to settlement of the trade, are commonly referred to as the ‘trade lifecycle’.
  • 9. Overview of trading life cycle
  • 10. Challenges in Fintech application ● The biggest requirement and challenge of a Fintech application is that each of the components of such a multi-service oriented application should work in isolation as well as perform in unity with other components to achieve the required functionality of the application so that the business logic remains intact even if any of the component goes down. ● Each component of our multi-service oriented application should be flexible enough to make changes from time to time. For example, if trade reporting service replace the existing database such as Cassandra with Elasticsearch, then there should not be any impact on any other component as well as the entire business logic.
  • 11. How Hexagonal Architecture fix this challenge ? 1. The first problem was how to make a component truly independent of each other? 2. The second problem revolves around if we need to make any major infrastructure change like replacing existing database with another.
  • 12. Overview of sample trading app 1. Matching Engine - It just accepts the trades from multiple input sources like REST and FIX and then performs matching based upon the criterias. 2. Trade Booking service - It accepts the Matched trade and transforms it into a transaction report request and sends to TxReporting service. 3. TxReporting service - Only responsible to report the transactions and persist into the DB.
  • 13. Overview of sample trading app
  • 14. DEMO
  • 16. FIX Message for NewOrderSingle(MsgType = 35) Tag Number Field Name Examples(if exists) 11 ClOrdID 54 Side Buy/Sell 44 Price 38 OrderQty 460 Product Commodity, Corporate 167 SecurityType Future, Swaps
  • 17. FIX Message for Execution Report (MsgType = 8) Tag Number Field Name Examples(if exists) 37 OrderID 17 ExecID 150 ExecType New, Rejected, Expired 39 OrdStatus Accepted for bidding, Rejected, Expired 54 Side Buy, Sell 151 LeavesQty 14 CumQty 6 AvgPx