cik_validation#

static EdgarHelpers.cik_validation(central_index_key)[source]#

Helper method to validate and fix the CIK (Central Index Key) format.

Parameters:

central_index_key (str) – The CIK to validate.

Returns:

The validated CIK.

Return type:

str

Raises:

ValueError – If the CIK is not in the correct format.