# IPO Fast-Entry Rule

`D03-F06-A04` · Index and Benchmark Engineering → Governance and Maintenance · archetype `record-transform` · difficulty 4/5 · verification **verified**

Full page: https://docs.thefintechbuilder.com/index-and-benchmark-engineering/governance-and-maintenance/ipo-fast-entry-rule/
Agent skill: `npx skills add IslamBaraka90/Fintech-Algorithms-Library` — https://docs.thefintechbuilder.com/guides/agent-skill/

## Install and import

```bash
npm install fintech-algorithms
```

```ts
import { calculate } from "fintech-algorithms/index-and-benchmark-engineering/governance-and-maintenance/ipo-fast-entry-rule";
```

## Signature

```ts
calculate(data)
```

Admits a large new listing between scheduled reviews. Without a fast-entry rule an index can spend months not holding one of the biggest companies in its own market.

## Parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `data` | `{ candidates: Candidate[]; minimumFloatMarketCap: number; minimumLiquidityDays: number; minimumTradingDays: number }` | yes | The three thresholds are simultaneous: size alone does not qualify a listing that has not yet traded enough to be buyable. |

## Returns

`{ results, fastEntryIds }`

Which candidates qualify and which threshold blocked the rest.

## Errors

- When any threshold is negative — throws

## Complexity

Time `O(n)`, space `O(n)`.

## Worked example

This is the worked example published in the article, replayed by the test suite on every run. The output cannot drift.

### Input

`data`:

```json
{
  "candidates": [
    {
      "id": "IPO-A",
      "floatMarketCap": 1800,
      "liquidityDays": 10,
      "tradingDays": 10
    },
    {
      "id": "IPO-B",
      "floatMarketCap": 900,
      "liquidityDays": 9,
      "tradingDays": 10
    },
    {
      "id": "IPO-C",
      "floatMarketCap": 2200,
      "liquidityDays": 4,
      "tradingDays": 5
    }
  ],
  "minimumFloatMarketCap": 1500,
  "minimumLiquidityDays": 5,
  "minimumTradingDays": 5
}
```

### Call

```ts
calculate(data)
```

### Returns

object with 2 fields: results, fastEntryIds

```json
{
  "results": [
    {
      "id": "IPO-A",
      "sizePass": true,
      "liquidityPass": true,
      "seasoningPass": true,
      "fastEntry": true
    },
    {
      "id": "IPO-B",
      "sizePass": false,
      "liquidityPass": true,
      "seasoningPass": true,
      "fastEntry": false
    },
    {
      "id": "IPO-C",
      "sizePass": true,
      "liquidityPass": false,
      "seasoningPass": true,
      "fastEntry": false
    }
  ],
  "fastEntryIds": ["IPO-A"]
}
```

## Verification and provenance

Tier: **verified** (via input-expected).

The worked example below is the figure published in this algorithm's article, replayed and asserted by the test suite on every build. The arithmetic cannot drift without the build failing.

Both tiers guarantee the signature. Full explanation: https://docs.thefintechbuilder.com/guides/verification/

Generated from the docs.json payload shipped inside fintech-algorithms@0.13.1.
The signature and parameter list are checked against the compiled implementation at build time,
so a description that contradicts the code fails the build rather than reaching this file.

## Links

- Article (how it works, step by step): https://thefintechbuilder.com/index-and-benchmark-engineering/governance-and-maintenance/ipo-fast-entry-rule/
- Implementation source: https://github.com/IslamBaraka90/Fintech-Algorithms-Library/blob/main/src/index-and-benchmark-engineering/governance-and-maintenance/ipo-fast-entry-rule/impl.ts
- Package on npm: https://www.npmjs.com/package/fintech-algorithms
- Domain index for agents: https://docs.thefintechbuilder.com/index-and-benchmark-engineering/llms.txt
