About a-team Marketing Services

A-Team Insight Blogs

Jefferies Streamlines OTC Derivatives Clearing with AWS for T+1 and More

Subscribe to our newsletter

Investment Banking firm Jefferies has deployed AWS services to streamline OTC derivatives post-trade operations to meet the new T+1 settlement deadline. The implementation was presented as a case study at the recent AWS Summit in New York.

The session was presented by Jefferies’ executives Sudhakar Paladugu, SVP Corporate Technology, and Manish Mohite, SVP Global Head Public Cloud.

Despite the best efforts of the International Swaps Dealers Association (ISDA) the middle office OTC derivatives confirmations (confirm) process has remained largely manual due to variations in templates across counterparties. Under the original process, middle office staff had to read through each third party confirm and manually check the details against the internal trade records.

Every counterparty would have a slightly different format and presentation, some were scanned photocopies of screenshots. With email attachments being the dominant communications platform, completing the confirm process manually was cumbersome and the prospect of automating received an enthusiastic response from the middle-office team.

Jefferies’ journey with AWS began in 2022 with the goal of modernizing the firm’s infrastructure by migrating to the cloud. A CRM platform, data-driven investment advice and applications across front, middle and back offices have followed.

The part of the trade lifecycle in focus for this case study begins after the trade, when trading desk and counterparty have agreed the terms and the middle office receives the counterparty’s trade confirmation. The manual step of reading, deciphering and checking has been automated through an orchestrated set of AWS tools.

Process Overview

This process begins when a user or an application uploads a confirmation image or PDF file to an Amazon S3 bucket. This initial upload action sets off a series of automated processes designed to analyse and extract data from the document accurately.

Once the document is uploaded to the S3 bucket, an Amazon S3 event notification is configured to trigger on detecting this action. This notification sends a message to an Amazon SQS (Simple Queue Service) queue. SQS acts as a decoupling agent that ensures the uploaded document is processed asynchronously. By placing the event notification in the queue, SQS helps manage the workload and ensures that the processing service is not overwhelmed by sudden spikes in uploads.

Upon receiving the S3 event notification from the SQS queue, an application or an AWS Lambda function invokes Amazon Textract’s StartDocumentAnalysis API. This API call initiates the process of extracting text, tables, and forms from the uploaded document. Textract uses advanced machine learning powered OCR to accurately analyse and extract structured data from the document for later matching.

After initiating the document analysis with Textract, the system saves the job ID and the S3 document key into an Amazon DynamoDB table. When Amazon Textract completes the document analysis, it sends a notification via an Amazon SNS (Simple Notification Service) topic. SNS ensures that the notification is delivered reliably and can trigger further actions in the processing pipeline.

Additionally, the extracted results from Textract are placed back into the designated S3 bucket. This structured data is now ready for further downstream processing.

An AWS Lambda function is triggered by the SNS notification to perform a fuzzy Sørensen-Dice match. This function compares the extracted data from Textract with pre-configured mappings stored in DynamoDB. The Sørensen-Dice coefficient, a statistical measure of similarity, helps in identifying and matching the relevant data fields even if there are slight variations or errors in the extracted text. This step returns a confidence interval for all extracted fields to facilitate the human-in-the-loop process.

After performing the fuzzy match, the Lambda function reads the merged JSON data from DynamoDB, which includes the mappings and matches identified in the previous step. It also accesses the original uploaded documents from Amazon S3 to cross-verify and ensure consistency. This integrated approach ensures that all data points are correctly aligned, and any discrepancies are resolved before the data is used in subsequent steps.

AWS API Gateway facilitates secure and efficient interactions between the web UI and the backend processes, allowing users to interact with the document processing pipeline seamlessly.

The final step involves a human-in-the-loop (HITL) interface where users can review the document processing results. This UI allows human operators to analyse the output, verify accuracy, and make any necessary adjustments to the mappings in DynamoDB. This step ensures that the system continuously improves and adapts to new document formats and variations, maintaining high accuracy and reliability in data extraction and processing.

Impact and Next Steps

The AWS powered process passed the T+1 test and is delivering and 80-90% reduction in processing time with further performance improvements expected as the solution is expanded to include additional asset classes. The goal is to convert the current build into a robust generic product API.

The Jefferies AWS roadmap includes leveraging AWS Bedrock to build an Operations Assistant with AI/ML and Generative AI (GenAI) as well as leveraging GenAI to boost efficiencies and performance across post-trade operations generally.

Subscribe to our newsletter

Related content

WEBINAR

Upcoming Webinar: How to ensure employees meet fit and proper requirements under global accountability regimes

Date: 17 September 2024 Time: 10:00am ET / 3:00pm London / 4:00pm CET Duration: 50 minutes Fitness and proprietary requirements for employees of financial institutions are not an option, but a regulatory obligation that calls on employers to regularly assess employees’ honesty, integrity and reputation, competence and capability, and financial soundness. In the UK, these...

BLOG

Fenergo Adds Client Lifecycle Solution to AWS Marketplace

Fenergo, a provider of digital solutions for Know Your Customer (KYC), transaction monitoring and Client Lifecycle Management (CLM) has made its software-as-a-service (SaaS) CLM solution available on Amazon Web Services (AWS) Marketplace. AWS customers can streamline the procurement and purchase of Fenergo’s CLM directly within an AWS Marketplace account and unlock any AWS incentives, discounts,...

EVENT

TradingTech Summit London

Now in its 14th year the TradingTech Summit London brings together the European trading technology capital markets industry and examines the latest changes and innovations in trading technology and explores how technology is being deployed to create an edge in sell side and buy side capital markets financial institutions.

GUIDE

Pricing and Valuations

This special report accompanies a webinar we held a webinar on the popular topic of Pricing and Valuations, discussing issues such as transparency of pricing and how to ensure data quality. You can register here to get immediate access to the Special Report.