Tech

Technology in banks and trading

Speak the language of bank tech teams: latency budgets and colocation, trading engines and their safety nets, uptime and change control, core systems, and the EU rules every bank engineer works under.

Read first: System design, Computer architecture and GPUs

7 concepts8 min read25-question test, from a bank of 33Updated

Concept 1 of 71 min

Latency budgets, colocation, fibre and microwave

The rule
A trading edge is a time budget that processing and network must fit, and light in fibre travels about 200,000 km a second.
Worked examples

Software against an FPGA

Given
Edge lasts40 µs
Network15 µs
Software25 µs
FPGA4 µs
  1. Software = 25 + 15 = 40 µs, no margin
  2. FPGA = 4 + 15 = 19 µs

Only the FPGA (field-programmable gate array) acts while the edge is still there.

Fibre against radio

Given
Distance340 km
Fibre200,000 km/s
Radio300,000 km/s
  1. Fibre = 340 ÷ 200,000 = 0.0017 s
  2. Radio = 340 ÷ 300,000 ≈ 0.00113 s

Radio arrives in about 1.13 ms against 1.7 ms, a lead worth paying for.

The picture
Formula
One-way delay=distance ÷ signal speed
fibre ≈ 200,000 km/s
air ≈ 300,000 km/s
Why it holds

They must fit it with a margin. So delay = distance ÷ 200,000.

Colocation puts a firm's servers metres from the exchange's matching engine. Microwave links are faster because signals travel about a third faster through air on straighter paths.

A path that uses the whole window has no margin, and in a latency race the margin is the whole game. Fibre routes are also longer than the straight line, which is why firms built microwave links between centres such as Chicago and New Jersey, or London and Frankfurt.

Microwave carries less data and fades in bad weather, so it is used for the most time-sensitive messages only.

Watch out
  • Calling a path that uses the whole window fast enough.
  • Using the speed of light in air for fibre.
  • Thinking microwave carries more data than fibre.
In the interview
  1. Why would a trading firm pay a lot for a link that is only a millisecond faster than its competitor's?

    A complete answer covers

    • In arbitrage, the first order to arrive gets the trade.
    • A millisecond is many times the time it takes to process an order.
    • Being second most of the time earns nothing or loses money.
    • So speed is bought where it decides who wins: links, colocation, hardware.

Also in our technical interviews, on camera, with a score.

Concept 2 of 71 min

Inside a low-latency engine

The rule
A low-latency engine preallocates memory, because allocation on the critical path can take locks or fault pages.

The why, the charts, the worked example and the interview questions are in Essentials, with every quiz.

See the plansSign in

Concept 3 of 71 min

Orders, safety nets and the road to production

The rule
Orders travel in FIX (Financial Information Exchange) messages, and a market order larger than the best level walks the book at a volume-weighted price.

The why, the charts, the worked example and the interview questions are in Essentials, with every quiz.

See the plansSign in

Concept 4 of 71 min

Uptime, change control and migrations

The rule
Each extra nine of uptime cuts allowed downtime tenfold, and production changes need review, tests, approval and a rollback plan even when small.

The why, the charts, the worked example and the interview questions are in Essentials, with every quiz.

See the plansSign in

Concept 5 of 71 min

Core systems: mainframes, batches, messages and grids

The rule
Core ledgers stay on mainframes for reliability and because migrating decades of logic is costly and risky.

The why, the charts, the worked example and the interview questions are in Essentials, with every quiz.

See the plansSign in

Concept 6 of 71 min

EU rules bank engineers work under

The rule
Under PSD2 (second Payment Services Directive) banks open account APIs (application programming interfaces) to licensed providers with explicit customer consent, while DORA (Digital Operational Resilience Act) covers ICT (information and communication technology) risk, incidents, resilience testing and critical tech suppliers.

The why, the charts, the worked example and the interview questions are in Essentials, with every quiz.

See the plansSign in

Concept 7 of 71 min

AdvancedWhy latency explodes near full load

The rule
In a random queue, the average time in the system is the service time divided by (1 − utilisation), so latency doubles at 50% load.

The why, the charts, the worked example and the interview questions are in Essentials, with every quiz.

See the plansSign in

Recap

  • A latency edge is a budget: processing + network must fit inside it with a margin; light in fibre covers about 200 km per millisecond.
  • Trading engines preallocate memory, bypass the kernel and are judged on tail latency, not the average.
  • Every order passes pre-trade checks; kill switches and limits cap the damage of any bug; algorithms go from backtest to simulation to small size.
  • Uptime is protected by reviewed changes with a rollback plan, freezes around critical runs and gradual migrations.
  • EU rules: clocks within 100 µs of UTC (Coordinated Universal Time) for high-frequency trading, PSD2 account access with consent, DORA for digital resilience, BCBS 239 (Basel Committee on Banking Supervision) for risk data.
Now test it

25 questions on Technology in banks and trading

Timed, like the real one, drawn from a bank of 33. Every answer explained.

Test yourself →