Regulation 28: investment limits

Pensions South Africa

Checks a retirement fund’s asset schedule and measures the fund against every Regulation 28 limit, with the exposure, headroom and status of each limit line.

From Regulation 28 of the Pension Funds Act, as amended in July 2022: Table 1 and subregulation 28(3)

Regulation 28: investment limits
Rules, the limit tables, test asset schedules and a pipeline snapshot. Zip, 39 KB.
Download the template

See it in Quantemplate

The pipeline

The Regulation 28 pipeline in Quantemplate: stages 1 to 12 of 19 listed, from Prepare asset schedule to Infrastructure exposure, with the test asset schedule uploaded to stage 1.

The flow

The pipeline’s Flow tab: the Reg 28 Asset Classes and Reg 28 Limits datasets feed into the Regulation 28 pipeline.

The checked output

The Regulation 28 compliance output: 145 limit lines, each with the fund’s exposure, the limit as a percentage and in rand, the headroom and a status. Two lines show BREACH with negative headroom: Marula Pension Fund’s foreign assets at 46.04% against 45%, and Fynbos Provident Fund’s other assets at 2.76% against 2.5%.

What it checks

18 rules 15 Fail 3 Warning

A rule set to Fail marks its rows as failed, and any failure blocks Auto Export if you set it up. Warnings are only reported. Validation never removes a row. Every rule is listed in plain English in reg28-validations.txt in the download.

How the pipeline works

  1. Stage 1 Prepare Clean the asset schedule and turn values into numbers
  2. Stages 2–5 Classify and check Add each holding’s Table 1 items and per-issuer limit, then run 15 data rules
  3. Stages 6–14 Exposures The fund’s total assets, and its exposure under each limit a holding counts towards
  4. Stages 15–16 Limit lines One line per fund and limit, with combined limits added up
  5. Stages 17–19 Compliance Exposure, limit, headroom and status for each line, then the 3 limit checks

What’s in the download

Build it

  1. Install the Quantemplate skills, version 1.0.0 or later, if you haven’t already. Then unzip the download.
  2. With Claude in Chrome signed in to Quantemplate, ask Claude Code:
    Build the Regulation 28 investment limits pipeline from the reg28-investment-limits folder. Test it with the broken and clean asset schedules and compare the results with the expected ones.
  3. Claude creates the two reference datasets, uploads the asset schedule, builds the 19 stages and checks both test files. This takes around 3 minutes.

The agent builds through the Quantemplate app’s own API in your browser. That API isn’t published, so if a release changes it, the build stops and tells you what went wrong. Review what the agent builds before you rely on it.

Using your own asset schedule

Contact the Quantemplate support team, or use your AI agent, to build custom logic for your use case.

Limits