At a glance
Contents
- The business problem: what is FTP?
- Why a central platform
- My role
- Technical architecture
- The daily processing pipeline
- Key design concepts
- Data quality and control reports
- Maintenance UI and maker-checker workflow
- Global rollouts
- Process improvement: Python Excel Builder
- Outcomes
- Skills and tools used
1. The business problem: what is funds transfer pricing?
A bank earns money on the spread. On a loan it collects interest from the customer but has to fund that loan with money that costs something. On a deposit it pays the customer interest but can invest that money for a higher return. Each loan, deposit or card account is a contract (also called an arrangement).
Different business units bring in that money. Liability units gather deposits and asset units make loans. These units are good at serving customers, but they don't manage the bank's funding or its exposure to market rates. Treasury does that. Treasury pools the money from every business: it pays the deposit businesses for the funds they bring in and charges the lending businesses for the funds they use.
Funds transfer pricing (FTP) is the internal pricing that makes this fair. For each contract, FTP works out a benchmark "transfer rate" that matches the contract's currency, tenor and repricing profile. The gap between the customer rate and the transfer rate is the business unit's margin. Treasury takes on the interest-rate and liquidity risk and earns or pays the rest. If FTP is wrong, the bank can't tell which products, branches or businesses are really profitable.
A simple worked example (illustrative numbers)
| Contract | Customer rate | Transfer rate | Business unit margin | Who carries the market risk |
|---|---|---|---|---|
| 1-year term deposit, $1,000,000 | 4.00% paid | 4.25% credited | +0.25% ≈ $2,500 / yr | Treasury |
| 1-year loan, $1,000,000 | 7.00% received | 4.40% charged | +2.60% ≈ $26,000 / yr | Treasury |
Products like recurring deposits or amortizing loans are harder. The balance and remaining tenor change every month, so each slice of the balance needs its own transfer rate. That's why FTP runs daily at the contract level rather than as a monthly estimate.
What gets priced
- Interest-rate transfer pricing (ITP): the benchmark rate for the contract's tenor and repricing, taken from published curves. This includes term and overnight methods.
- Liquidity premium (LP): the extra charge or credit for tying up or providing funding over a period of time.
- Liquidity cost allocation: spreading the bank's cost of holding liquidity buffers across the businesses that need them.
The results are tickets: priced records with rates and revenue. These turn into P&L allocations and journal entries that post to the general ledger, profitability, treasury and risk systems.
2. Why a central platform
Before
- Transfer pricing was spread across several legacy systems and manual spreadsheets.
- Methods and rate sources varied by region and product.
- Data came from many product processors and offline sources.
- TP P&L was reported at different levels of detail, so it was hard to trace back to the underlying balances.
After
- One system for every business, product and legal entity.
- One data source per major product, in line with the bank's target architecture.
- Daily, granular postings, so balance sheet changes show up in FTP within a day or two.
- One consistent method that follows the bank's FTP policy, using published rate curves that stakeholders can review.
- Fewer manual adjustments and spreadsheets, and less operational risk.
3. My role
I work as the Business Analyst between the business (Treasury, business controllers and finance users) and the technology teams that build and run the platform. My focus is on making sure the data is correct and each release is ready for production.
- Requirements: gather and analyze requirements for new products, countries and enhancements. I agree on scope with business and management teams and report status.
- Data validation: reconcile data from source to target through every layer (RAW → PRE → MERGE → FINAL) across Oracle, Hive and Hadoop, using SQL, HQL and Apache Impala in Hue.
- Testing: plan and run SIT, Pre-UAT and UAT with business users. This covers business-unit hierarchies, treasury firm accounts, treasury GOC processing and maintenance uploads. I also manage the defect lifecycle in JIRA.
- Downstream integration: work with ledger, treasury and risk teams on feed formats, outbound settings and checking downstream data.
- Batch and file operations: check that Autosys jobs, batch runs and outbound file transfers worked, in Unix/Linux and with secure file transfer tools.
- Rollouts: support country go-lives across EMEA, APAC, LATAM and NAM. This includes parallel runs in production, configuration reviews and stabilization.
- Maintenance approvals: review and approve business maintenance changes, such as portfolio assumptions and assignments, in the platform's maker-checker workflow.
- Documentation: record data models, table structures, business rules, metadata and data lineage in Confluence for data governance.
4. Technical architecture
CitiFTP is a multi-tier application. A web front end lets the business maintain parameters, and a big-data back end does the heavy end-of-day processing.
Web UI
Single sign-on front end where users maintain portfolios, assignments, assumptions and mappings. It also has a few built-in reports.
Middle tier
Java web services running on the bank's enterprise container platform. This layer holds the UI business logic.
Oracle database
Stores the user-maintained parameters and reference data (hierarchies, holidays, market rates), plus the data for UI reports.
SFTP landing zone
Where upstream product and ledger feeds arrive before they are checked for compliance and picked up.
Big-data platform
Hadoop/HDFS with Java Spark for every core process: model assignment, ticketing and allocations. Hive and Impala tables sit on top of the files for SQL access.
Orchestration
Autosys jobs and schedules run the daily process from start to finish.
Reporting
Tableau for summary reports, an inquiry framework for detailed extracts, and control reports for operations teams.
5. The daily processing pipeline
Contract feeds arrive every business day in packages. A package groups countries in nearby time zones, so each region can be processed once its data is in, without waiting for the whole world. Within each package the feeds are split by product. The platform processes each package from start to finish on its own.
The pipeline also has an intraday path. Contracts booked during the day can get same-day transfer pricing tickets, and those tickets link to the end-of-day tickets for the same contracts.
Model assignment in more detail
Model assignment is the first and most important step. Contracts are grouped into models based on their business-unit, segment and geography hierarchies, account, legal entity, accounting code, currency and a few product attributes. Each model sets one pricing method. This means the business defines its rules once per model instead of once per contract, and the engine can process a very large book efficiently. There are separate assignments for interest-rate pricing, liquidity premium, liquidity units and treasury counterparty. After assignment, contracts are combined to remove duplicates and passed to the ticketing engines.
6. Key design concepts
Reference-data refresh (Sqoop in, Sqoop out)
Each day starts with a refresh reference data job. It exports the user-maintained parameters from Oracle as flat files into HDFS so the Spark processes can read them. The core processing can't start until this job succeeds. When a package finishes, the results the UI needs are imported back into Oracle. Both jobs can be re-run, and each run clears what was loaded before.
Effective dating
Every maintenance change in the UI has an effective date. A change saved today with a later effective date stays in Oracle but isn't sent for processing until the platform's business date reaches it. This lets the business stage changes ahead of time and keeps each day's run reproducible.
Write-once storage
HDFS stores files, not tables you can update. You can't change one row. To correct anything, you re-run the process that created the file, and it rewrites the whole output. Hive and Impala tables on top of the files give analysts SQL access. This affects how we plan fixes, re-runs and validation.
Month-end anchoring and manual contracts
Some balances only arrive in month-end feeds, and some aren't covered by any system feed. Month-end data is processed into "anchor" files that are added to each daily run. Users can upload manual contracts through the UI, and these are re-processed daily until they are replaced. Together these give complete balance-sheet coverage.
7. Data quality and control reports
Operations teams use control reports to watch each day's run and catch problems before results reach the ledger. One of the first is a pre-assignment balance report. It is regenerated each time a product feed arrives in a package, so a problem can be caught early.
- Balances are summed by feed, business unit and legal entity, with the last several days shown side by side.
- It shows the day-over-day change in amount and percentage, plus the share of balances assigned to live or contractual portfolios.
- A rule flags any change that is both large in absolute terms and statistically unusual (outside a band of several standard deviations from recent history) as a potential copy-over. In that case the previous day's data may be reused while the source is fixed.
As a BA I used these reports with my own SQL reconciliations in Hue/Impala and Oracle. I traced breaks back through the layers to the source feed, confirmed fixes and signed off releases.
8. Maintenance UI and maker-checker workflow
All business configuration goes through a controlled workflow in the CitiFTP UI. It covers portfolio definitions and assignments, model and treasury code mappings, rate and curve setup, filter rules, ticket adjustments and migrations, and manual contracts.
- Changes can be made on screen or uploaded in bulk from a template, with an effective date and optional supporting documents.
- A maker submits each change. Depending on the module, a checker and one or two approvers have to sign off before it takes effect.
- An inbox shows pending items by module, effective date, maker, assigned approver, country and status, so every change is auditable.
9. Global rollouts
Business units move to CitiFTP country by country, and their legacy transfer pricing is switched off as they go. I have supported go-lives across EMEA, APAC, LATAM and NAM, including Canada, Germany, Ireland, Singapore and Hong Kong, with no critical issues during stabilization. Each rollout follows a repeatable plan:
- Scope: agree which business units, products and portfolio setups move over, and what stays out.
- Configuration: set up hierarchies, portfolios, mappings and filters, and review them offline before production.
- Parallel run in production: check balances and P&L against the legacy process until they match within tolerance.
- Downstream connectivity: send a low-value test trade from start to finish before go-live.
- Sign-off: get go-live approval from asset-liability management, treasury and the controllers. The daily run then moves to the global operations teams, including on weekends and holidays.
10. Process improvement: Python Excel Builder
Several reports were built by an "Excel Builder" framework that merged many CSV extracts into one formatted workbook. It depended on several infrastructure layers and support teams, so it was slow to change and hard to support:
- Fixing issues needed container ops, secrets management, Unix/NAS support and log-platform access.
- Jobs waited indefinitely for every input file and could only run one at a time. A stuck job had to be killed by hand.
- Each report needed separate scheduler jobs for preparing and running it, and performance dropped beyond about 200,000 rows.
The replacement is a standalone Python and Pandas tool. It reads a configuration of reports, sheets and source files, merges the CSVs, applies formatting and writes the workbook. It has no external runtime dependencies, so the team can run and fix it themselves, and it handles much larger files.
11. Outcomes
- One governed platform for transfer pricing across businesses, products and legal entities, replacing several legacy systems and spreadsheets.
- Daily, contract-level FTP that posts to the ledger, so businesses can see their real cost of funds and treasury P&L is accounted for in the same place as the underlying balances.
- Several regional go-lives delivered with no critical issues during stabilization.
- Earlier defect detection and better data quality from systematic SQL reconciliation across every data layer.
- Less operational risk thanks to effective-dated, maker-checker controlled configuration and daily control reports.
12. Skills and tools used
This is a general description written for my portfolio. It doesn't include confidential client information such as internal system names, data, figures, code or screenshots, and the example numbers are made up.