Platform·QWED Financev3.0.1
Exact checks for banking and financial AI.
Verification middleware for financial calculations and payment messages. It recomputes what an AI produced, from loan schedules to bond yields, and checks messages against ISO 20022 and SWIFT before they move money.

At a glance
- Version
- 3.0.1
- Status on PyPI
- Beta
- Install
- pip install qwed-finance
- Also on
- npm (@qwed-ai/finance) and as a GitHub Action
- Model in the check
- None. Runs locally
- Standards
- ISO 20022, SWIFT MT, IBAN
- Licence
- Apache-2.0
What it checks
- FinanceVerifier
Loans, interest and cash flows
NPV, IRR, future and present value, monthly payments, amortisation schedules and total interest.
- ComplianceGuard
KYC and AML rules
Checks a compliance decision against the rules with the Z3 solver.
- MessageGuard
Payment messages
ISO 20022 and SWIFT MT messages, with IBAN and BIC checksums.
- CalendarGuard
Dates and day counts
Day-count conventions such as 30/360, Actual/360 and Actual/365, and business days.
- QueryGuard
Database queries
SQL must be read-only, touch only allowed tables and expose no personal data columns.
- CrossGuard
Combined checks
A SWIFT message together with sanctions screening, and SQL together with personal data rules.
- BondGuard
Bonds
Yield to maturity, duration, convexity, accrued interest and dirty price.
- FXGuard
Foreign exchange
Forward and cross rates, swap points, NDF settlement and arbitrage.
- RiskGuard
Risk metrics
VaR, CVaR, beta, Sharpe and Sortino ratios, maximum drawdown and information ratio.
- DerivativesGuard
Options
Black-Scholes prices and the Greeks.
- ISOGuard
ISO 20022 schemas
Messages checked against the ISO 20022 JSON schemas.
Get started
# pip install qwed-financefrom datetime import datefrom qwed_finance import CalendarGuard, DayCountConventionguard = CalendarGuard()result = guard.verify_day_count( start_date=date(2026, 1, 1), end_date=date(2026, 7, 1), llm_days=180, # the figure the model gave convention=DayCountConvention.ACTUAL_360,)print(result.verified, result.proof)# False Actual/360: 2026-01-01 to 2026-07-01 = 181 daysGood to know
- QWED Finance checks figures and messages. It is not a trading platform, a market data feed or a replacement for your risk models.
- Checks for MiFID II and Basel III are still in progress.