Skip to contents

Validates FIGI (Financial Instrument Global Identifier) format including Luhn check digit verification. The prefixes BS, BM, GG, GB, GH, KY, and VG are reserved to avoid collisions with ISINs and are rejected.

Usage

is_figi(x)

Arguments

x

(any)
Object to check.

Value

TRUE if x is a valid FIGI string, FALSE otherwise.

Examples

is_figi("BBG000BLNNH6")
#> [1] TRUE