Counterparty, Credit & Limit Modeling
Design robust counterparty profiles, credit exposure models, limit frameworks and monitoring pipelines used by trading, risk and operations teams. Practical labs include CVA/EEPE, collateralization, limit checks, and real-time limit breaches with alerting and reconciliation.
Program snapshot
- • Counterparty data model, legal entity resolution, and master data hygiene
- • Exposure calculation (EPE/ENE), CVA fundamentals and bilateral adjustments
- • Limit types: credit, settlement, product/venue, intraday and regulatory
- • Real-time limit enforcement, collateral and margin workflows
Why this course
Counterparty & credit modeling is central to limiting credit risk, meeting regulatory obligations (CVA, SA-CCR), and enabling safe trading operations. This course blends domain theory with engineering patterns so teams can compute exposures accurately, automate limit checks, and produce auditable reports.
Audience
Credit analysts, risk engineers, data engineers, ETRM/Front-office integration teams, ops and compliance staff.
Outcomes
Deliver counterparty master, exposure pipelines (intraday + EOD), CVA/limit calculators, breach alerting, and governance playbooks.
Prereqs
Basic derivatives/ETRM knowledge, SQL and familiarity with risk concepts recommended.
Curriculum — Modules & Topics
Modular syllabus covering domain concepts, modeling, engineering and governance.
Module 1 — Counterparty Master & Legal Entity
- Legal entity model, LEI, parent-child hierarchies and entity resolution
- Counterparty attributes: rating, jurisdiction, onboarding status, KYC flags
- Master data governance, matching rules and reconciliation
Module 2 — Exposure Fundamentals
- Exposure types: Current Exposure, Potential Future Exposure (PFE), EPE/ENE
- Aggregation across portfolios, netting sets and collateral impact
Module 3 — Credit Valuation Adjustment (CVA) Essentials
- Unilateral & bilateral CVA, DVA, FVA basics and simplified calculators
- Monte Carlo vs analytic exposures, scenario generation and discounting
Module 4 — Limits Frameworks & Policies
- Limit types: credit, product, counterparty, portfolio and intraday limits
- Limit rules: hard vs soft, overrides, delegated authorities and escalation
Module 5 — Collateral & Margining
- Collateral types, margin calls, threshold, haircuts, and settlement timing
- Integration with CSA, tri-party and margin engines
Module 6 — Real-time Limit Enforcement
- Streaming exposure updates, latency SLAs, synthetic limit checks
- Alerting, auto-blocking workflows and fallbacks for manual intervention
Module 7 — Stress Testing & Scenario Analysis
- Shock scenarios, concentration risk, reverse stress testing and regulatory scenarios
- Reporting templates and sensitivity matrices
Module 8 — Reporting, Governance & Audit
- Limit dashboards, executive reporting, audit trails and model validation
- Regulatory alignment (SA-CCR, PRA expectations, Basel frameworks where relevant)
Reference Architecture & Data Models
Engineering blueprints for exposure pipelines and limit enforcement.
EDP: Exposure Data Pipeline (example)
- Ingest: trades, market data, collateral events, counterparty updates
- Normalize & join: link trades to counterparty/netting sets and collateral
- Valuate: compute per-trade exposure snapshots (current + future scenarios)
- Aggregate & persist: EPE per counterparty/portfolio, publish to topics/warehouse
- Monitor & enforce: run limit checks in streaming or EOD jobs
Key Model Tables / Schemas
counterparty_master(LEI, ratings, limits, parent hierarchy)netting_set(netting set id, members, legal agreements)exposure_snapshot(timestamp, trade_id, expected_exposure, mtm)cva_results(scenario_id, exposure, default_prob, CVA_amount)limit_breach_event(time, counterparty, limit_type, value, status)
Hands-on Labs & Exercises
Practical labs to build end-to-end exposure pipelines, limit checks and reporting.
Lab 1 — Counterparty Master & Entity Resolution
Implement master matching rules, build resolved hierarchy and sync to warehouse; produce KYC completeness metrics.
Lab 2 — EPE Calculation (Simplified)
Compute expected positive exposure per trade using scenario snapshots (simplified Monte Carlo or deterministic shocks) and aggregate to counterparty level.
Lab 3 — CVA Approximation
Implement a simplified unilateral CVA calculator (exposure × PD × LGD × discounting) and compare results across collateralized vs uncollateralized cases.
Lab 4 — Real-time Limit Check
Stream incremental exposures and perform low-latency checks against limits; generate breach events and simulate automated control responses.
Lab 5 — Stress Scenario & Concentration Report
Run stress scenarios (rate shock, default cluster) and produce concentration and capital-impact reports for senior management.
Capstone — Full Exposure & Limit System
Deliver a mini-system: counterparty master → exposure pipeline → CVA run → limit monitor → dashboard + breach resolution workflow. Provide schemas, example code and runbook.
Deliverables & Materials
- Counterparty master design & matching rules
- Exposure pipeline code (notebooks / streaming examples) and EPE snapshots
- Simplified CVA calculator, limit engine examples and alerting templates
- Governance playbook: limit policies, overrides, audit and validation frameworks
Pricing & Delivery Options
Self-paced
Recorded modules, code notebooks and lab guides.
Cohort (Instructor-led)
6-week cohort with live labs, code reviews and capstone feedback.
Enterprise
Private workshops, on-site integration and production hardening.
Contact & Custom Requests
Want an enterprise quote, private cohort, or a customized syllabus? Tell us about team size, preferred delivery and target outcomes.