stdnum.figi¶
FIGI (Financial Instrument Global Identifier).
The Financial Instrument Global Identifier (FIGI) is a 12-character alpha-numerical unique identifier of financial instruments such as common stock, options, derivatives, futures, corporate and government bonds, municipals, currencies, and mortgage products.
More information:
>>> validate('BBG000BLNQ16')
'BBG000BLNQ16'
>>> validate('BBG000BLNQ14')
Traceback (most recent call last):
...
InvalidChecksum: ...
-
stdnum.figi.
calc_check_digit
(number)¶ Calculate the check digits for the number.
-
stdnum.figi.
compact
(number)¶ Convert the number to the minimal representation. This strips the number of any valid separators and removes surrounding whitespace.
-
stdnum.figi.
is_valid
(number)¶ Check if the number provided is a valid FIGI.
-
stdnum.figi.
validate
(number)¶ Check if the number provided is a valid FIGI.