Skip to content

A quick example about how to implement a solution for a simple IBOR scenario. What will be used? Azure Event Hubs to ingest events, Azure Databricks (Streaming, Delta) to process the events, A .Net program to send events

Notifications You must be signed in to change notification settings

TechMeToTheCloud/ibor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple simplified use case of an IBOR solution

The scenario is as below:

  • Each time an event (transaction) is received both cash and asset positions will be impacted
  • Value will be added/subtracted to/from cash position for each event
  • Value will be added/subtracted to/from asset position for each event
  • Portfolio will be valuated for each event
    ibor-transactions notebook contains the code to connect to the Azure Event Hub and consume the events
    Program.cs is a simple code to send message to the Azure Event Hub created
    Ibor-transactions.json is a fie example sent to the Azure Event Hub


Here are the steps to follow:

  • Setup Azure event hubs and Azure Databricks with this article Azure Event Hub Azure Databrick
  • Run the notebook except the last step that stops the stream
  • Execute Program.cs to send event(s) (make sure to update the file with the file path used to send an event and also the connection string key of your Azure Event Hub)
  • Run the cell (the one before stoping the stream) to vizualise how the portfolio valuation is updated


References
Microsoft Azure Event Hub
Databricks Azure Event Hub

About

A quick example about how to implement a solution for a simple IBOR scenario. What will be used? Azure Event Hubs to ingest events, Azure Databricks (Streaming, Delta) to process the events, A .Net program to send events

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published