457 lines
12 KiB
TypeScript
457 lines
12 KiB
TypeScript
export {
|
|
BANKRUPTCY_CANCELLED_TERMINAL_RETURN,
|
|
CONTINUITY_KIND_OTC_DELIST_TRANSFER,
|
|
DEFAULT_ACTIVE_GRACE_DAYS,
|
|
DEFAULT_MAX_TRANSFER_GAP_DAYS,
|
|
DEFAULT_OTC_MICS,
|
|
DEFAULT_OVERLAP_TOLERANCE_DAYS,
|
|
DELIST_REASONS,
|
|
linkDelistingChains,
|
|
SHUMWAY_PRIMARY_TERMINAL_RETURN,
|
|
type DelistingChainConflictDetail,
|
|
type DelistingChainConflictKind,
|
|
type DelistingChainConflictRecord,
|
|
type DelistingChainInput,
|
|
type DelistingChainOutcomeStats,
|
|
type DelistingChainResult,
|
|
type DelistingChainStats,
|
|
type DelistingContinuityCandidate,
|
|
type DelistingContinuityKind,
|
|
type LinkDelistingChainsOptions,
|
|
type ListingDelistOutcome,
|
|
type Pass6DelistReason,
|
|
} from './delisting-chains';
|
|
|
|
export {
|
|
classifySourceExchanges,
|
|
compareAscii,
|
|
compareUnresolvedExchangeRecords,
|
|
EXCHANGE_SOURCES,
|
|
EXPLICIT_EXCHANGE_SOURCE_MAP_ROWS,
|
|
EXPLICIT_EXCHANGE_SOURCE_RULES,
|
|
isExchangeSource,
|
|
ISO_EXCHANGE_SEEDS,
|
|
normalizeRawExchangeDoc,
|
|
REVIEWED_US_CA_EXCHANGE_SOURCE_MAP_ROWS,
|
|
type BoardLotPolicy,
|
|
type ClassificationMethod,
|
|
type ClassifySourceExchangesOptions,
|
|
type ExchangeClassificationResult,
|
|
type ExchangeRole,
|
|
type ExchangeSeedRow,
|
|
type ExchangeSource,
|
|
type ExchangeSourceMapRow,
|
|
type ExplicitExchangeSourceRule,
|
|
type SourceExchangeRecord,
|
|
type UnresolvedExchangeReason,
|
|
type UnresolvedExchangeRecord,
|
|
} from './exchange-pass1';
|
|
|
|
export {
|
|
buildDelistingExportRows,
|
|
CURATE_INPUT_CURRENT_LINK,
|
|
CURATE_INPUT_FILES,
|
|
CURATE_INPUT_GENERATIONS_DIR,
|
|
CURATE_INPUT_PUBLISH_LOCK,
|
|
CurateInputExportError,
|
|
DEFAULT_DELISTING_MAPPING_SOURCE,
|
|
DEFAULT_EXPORT_CHUNK_SIZE,
|
|
DEFAULT_PUBLISH_LOCK_TIMEOUT_MS,
|
|
exportCurateInputs,
|
|
formatDelistingsTsv,
|
|
formatListingCurrenciesTsv,
|
|
formatPlainDecimal,
|
|
formatProviderMappingTsv,
|
|
isValidStrictYmd,
|
|
MAX_EXPORT_CHUNK_SIZE,
|
|
pinCurateInputSnapshot,
|
|
type BuildDelistingExportRowsOptions,
|
|
type BuildDelistingExportRowsResult,
|
|
type ContinuityExportSourceRow,
|
|
type CurateInputExportErrorCode,
|
|
type CurateInputExportErrorOptions,
|
|
type DelistingExportRow,
|
|
type DelistingExportSkippedByReason,
|
|
type DelistingExportStats,
|
|
type ExportCurateInputsFileStats,
|
|
type ExportCurateInputsFsHooks,
|
|
type ExportCurateInputsOptions,
|
|
type ExportCurateInputsResult,
|
|
type ListingCurrencyExportRow,
|
|
type ListingDelistingSourceRow,
|
|
type PinnedCurateInputSnapshot,
|
|
type ProviderMappingExportRow,
|
|
} from './export-curate-inputs';
|
|
|
|
export {
|
|
assertExportCurateInputsSafety,
|
|
EXPORT_CURATE_INPUTS_USAGE,
|
|
formatExportCurateInputsSummary,
|
|
parseExportCurateInputsArgs,
|
|
runCli as runExportCurateInputsCli,
|
|
runExportCurateInputs,
|
|
type ParsedExportCurateInputsArgs,
|
|
type RunExportCurateInputsDeps,
|
|
type RunExportCurateInputsOptions,
|
|
type RunExportCurateInputsOutput,
|
|
} from './run-export-curate-inputs';
|
|
|
|
export {
|
|
createReadOnlyMongoRawBsonSource,
|
|
DEFAULT_MAX_RAW_BSON_DOC_BYTES,
|
|
DEFAULT_RAW_BSON_BATCH_SIZE,
|
|
DEFAULT_WRITE_BUFFER_BYTES,
|
|
exportRawBsonCollection,
|
|
isRawBsonExportCollection,
|
|
MAX_RAW_BSON_BATCH_SIZE,
|
|
MAX_WRITE_BUFFER_BYTES,
|
|
MIN_RAW_BSON_DOC_BYTES,
|
|
MIN_WRITE_BUFFER_BYTES,
|
|
RAW_BSON_EXPORT_COLLECTIONS,
|
|
RawBsonExportError,
|
|
validateRawBsonFrame,
|
|
walkRawBsonFrames,
|
|
type ExportRawBsonCollectionOptions,
|
|
type ExportRawBsonCollectionResult,
|
|
type ExportRawBsonFileHandle,
|
|
type ExportRawBsonFsHooks,
|
|
type MongoDBClientRawBsonSourceCheck,
|
|
type RawBsonExportCollection,
|
|
type RawBsonExportErrorCode,
|
|
type RawBsonExportErrorOptions,
|
|
type RawBsonFindOptions,
|
|
type ReadOnlyMongoRawBsonClient,
|
|
type ReadOnlyRawBsonCollection,
|
|
type ReadOnlyRawBsonCursor,
|
|
type ReadOnlyRawBsonSource,
|
|
} from './export-raw-bson';
|
|
|
|
export {
|
|
assertExportRawBsonSafety,
|
|
EXPORT_RAW_BSON_USAGE,
|
|
formatExportRawBsonSummary,
|
|
parseExportRawBsonArgs,
|
|
runCli as runExportRawBsonCli,
|
|
runExportRawBson,
|
|
type ParsedExportRawBsonArgs,
|
|
type RawBsonMongoHandle,
|
|
type RunExportRawBsonCliOverrides,
|
|
type RunExportRawBsonDeps,
|
|
type RunExportRawBsonOptions,
|
|
type RunExportRawBsonOutput,
|
|
} from './run-export-raw-bson';
|
|
|
|
export {
|
|
escapeSqlLiteral,
|
|
generateExchangeSeedSql,
|
|
generateUnresolvedExchangesMarkdown,
|
|
type GenerateExchangeSeedSqlInput,
|
|
} from './exchange-seed-sql';
|
|
|
|
export {
|
|
generateExchangeSeedFromMongo,
|
|
parseGenerateExchangeSeedArgs,
|
|
resolveReadOnlyMongoClientConfig,
|
|
SOURCE_EXCHANGE_COLLECTIONS,
|
|
type GenerateExchangeSeedOptions,
|
|
type GenerateExchangeSeedOutput,
|
|
type ParsedGenerateExchangeSeedArgs,
|
|
type ReadOnlyExchangeMongoClient,
|
|
} from './generate-exchange-seed';
|
|
|
|
export {
|
|
isStageASource,
|
|
matchInstrumentsStageA,
|
|
STAGE_A_SOURCES,
|
|
type MatchInstrumentsStageAOptions,
|
|
type StageAConflictDetail,
|
|
type StageAConflictKind,
|
|
type StageAConflictRecord,
|
|
type StageAInstrumentCandidate,
|
|
type StageAInstrumentMember,
|
|
type StageAMatchMethod,
|
|
type StageAMatchResult,
|
|
type StageASource,
|
|
type StageASourceRecord,
|
|
type StageASourceStats,
|
|
type StageAStats,
|
|
type StageAUnresolvedRecord,
|
|
} from './instrument-stage-a';
|
|
|
|
export {
|
|
isStageBSource,
|
|
matchListingsStageB,
|
|
MAX_TICKER_ROOT_LENGTH,
|
|
STAGE_B_SOURCES,
|
|
type ListingNaturalKey,
|
|
type MatchListingsStageBOptions,
|
|
type StageBConflictDetail,
|
|
type StageBConflictKind,
|
|
type StageBConflictRecord,
|
|
type StageBEodListingInput,
|
|
type StageBIbContractInput,
|
|
type StageBInput,
|
|
type StageBListingCandidate,
|
|
type StageBMatchMethod,
|
|
type StageBMatchResult,
|
|
type StageBProviderMappingCandidate,
|
|
type StageBSource,
|
|
type StageBSourceStats,
|
|
type StageBStats,
|
|
type StageBSymbolChangeInput,
|
|
type StageBTickerSource,
|
|
type StageBTickerSourceInput,
|
|
type StageBUnresolvedReason,
|
|
type StageBUnresolvedRecord,
|
|
} from './listing-stage-b';
|
|
|
|
export {
|
|
buildMatchReport,
|
|
DEFAULT_MAX_CONFLICT_ROWS,
|
|
DEFAULT_MIN_RESOLVED_PCT,
|
|
DEFAULT_OVERRIDE_VALID_FROM,
|
|
EXCLUDED_BY_DESIGN_STAGE_B_REASONS,
|
|
generateOverrideSeedSql,
|
|
generateOverrideTemplateSql,
|
|
MATCH_REPORT_PASSES,
|
|
renderConflictsCsv,
|
|
renderMatchReportMarkdown,
|
|
sourceCountryKey,
|
|
type BuildMatchReportOptions,
|
|
type ConflictCountRow,
|
|
type CountryResolutionSummary,
|
|
type DelistingChainSummary,
|
|
type ExchangeCoverageSummary,
|
|
type ExcludedByDesignStageBReason,
|
|
type MatchReport,
|
|
type MatchReportExitThresholds,
|
|
type MatchReportInput,
|
|
type MatchReportPass,
|
|
type OverrideSeedRow,
|
|
type PriceCrossCheckSummary,
|
|
type RenderMatchReportMarkdownOptions,
|
|
type SourceCountryLookup,
|
|
type SourceResolutionSummary,
|
|
type UnifiedConflictRow,
|
|
type UnresolvedBreakdown,
|
|
type UnresolvedBreakdownRow,
|
|
} from './match-report';
|
|
|
|
export {
|
|
canonicalizeJsonValue,
|
|
DEFAULT_PERSIST_CHUNK_SIZE,
|
|
DEFAULT_VALID_FROM,
|
|
formatListingNaturalKey,
|
|
MAX_PERSIST_CHUNK_SIZE,
|
|
persistSecurityMaster,
|
|
PROVIDER_MAPPING_CONFIDENCE,
|
|
SECURITY_MASTER_PERSIST_LOCK_NAMESPACE,
|
|
SECURITY_TYPES,
|
|
stableJsonStringify,
|
|
type PersistSecurityMasterInput,
|
|
type PersistSecurityMasterOptions,
|
|
type PersistSecurityMasterResult,
|
|
type PersistSecurityMasterSkippedByReason,
|
|
type SecurityMasterQueryable,
|
|
type SecurityMasterQueryResult,
|
|
type SecurityType,
|
|
} from './persist';
|
|
|
|
export {
|
|
crossCheckPrices,
|
|
DEFAULT_MIN_COMMON_DATES,
|
|
DEFAULT_MIN_CORRELATION,
|
|
DEFAULT_RATIO_TOLERANCE,
|
|
DEFAULT_SAMPLE_DATE_COUNT,
|
|
MIN_CORRELATION_RETURNS,
|
|
PRICE_CORR_DECIMALS,
|
|
PRICE_CROSS_CHECK_CONFLICT_KINDS,
|
|
PRICE_CROSS_CHECK_VERDICTS,
|
|
selectSampleDates,
|
|
type CrossCheckPricesOptions,
|
|
type FxRateByDateRecord,
|
|
type PriceCrossCheckConflictDetail,
|
|
type PriceCrossCheckConflictKind,
|
|
type PriceCrossCheckConflictRecord,
|
|
type PriceCrossCheckInput,
|
|
type PriceCrossCheckPair,
|
|
type PriceCrossCheckResult,
|
|
type PriceCrossCheckRow,
|
|
type PriceCrossCheckStats,
|
|
type PriceCrossCheckVerdict,
|
|
type PriceCrossCheckVerdictCounts,
|
|
type PriceSeriesEndpoint,
|
|
type SampleCloseRecord,
|
|
type SelectSampleDatesOptions,
|
|
} from './price-cross-check';
|
|
|
|
export {
|
|
attachBarSpansToStageBInput,
|
|
composeSecurityMasterRun,
|
|
derivePass4CandidatePairs,
|
|
deriveSourceCountries,
|
|
filterSampleClosesByMappingBounds,
|
|
type AttachBarSpansMalformedCounts,
|
|
type AttachBarSpansResult,
|
|
type BarSpansStepStats,
|
|
type ComposeConflictTotals,
|
|
type ComposeMalformedInputStats,
|
|
type ComposeSecurityMasterPass6Options,
|
|
type ComposeSecurityMasterRunInput,
|
|
type ComposeSecurityMasterRunOptions,
|
|
type ComposeSecurityMasterRunResult,
|
|
type ComposeSecurityMasterRunStats,
|
|
type ObservedBarSpansInput,
|
|
type Pass4ComposeStepStats,
|
|
type Pass6ComposeStepStats,
|
|
type ReconcilingStepStats,
|
|
type StageAComposeStepStats,
|
|
type StageBComposeStepStats,
|
|
} from './run';
|
|
|
|
export {
|
|
assertSecurityMasterPersistSafety,
|
|
buildSampleDateCalendar,
|
|
formatRunSecurityMasterSummary,
|
|
parseRunSecurityMasterArgs,
|
|
RUN_SECURITY_MASTER_USAGE,
|
|
runSecurityMaster,
|
|
SECURITY_MASTER_OUTPUT_FILES,
|
|
type ParsedRunSecurityMasterArgs,
|
|
type Pass4SkippedReason,
|
|
type RunSecurityMasterDeps,
|
|
type RunSecurityMasterOptions,
|
|
type RunSecurityMasterOutput,
|
|
type RunSecurityMasterPass4Options,
|
|
type RunSecurityMasterPass4Summary,
|
|
type SecurityMasterPostgresHandle,
|
|
} from './run-security-master';
|
|
|
|
export {
|
|
buildSampleCloseFilter,
|
|
DEFAULT_SAMPLE_CLOSE_ID_CHUNK_SIZE,
|
|
EOD_SAMPLE_CLOSES_PROJECTION,
|
|
FX_USD_CAD_SOURCE_ID,
|
|
MAX_SAMPLE_DATES,
|
|
QM_SAMPLE_CLOSES_PROJECTION,
|
|
readSampleCloses,
|
|
type ReadSampleClosesOptions,
|
|
type ReadSampleClosesResult,
|
|
type ReadSampleClosesStats,
|
|
type SampleCloseSkipCounts,
|
|
type SampleCloseSkipReason,
|
|
type SampleCloseSource,
|
|
type SampleCloseSourceIdsBySource,
|
|
type SampleCloseSourceReadStats,
|
|
} from './sample-closes';
|
|
|
|
export {
|
|
buildSecurityTypeByIsin,
|
|
buildSecurityTypeByIsinForStageA,
|
|
classifyEodSecurityType,
|
|
DEFAULT_MAX_SECURITY_TYPE_CONFLICTS,
|
|
EOD_SECURITY_TYPE_MAP,
|
|
type BuildSecurityTypeByIsinOptions,
|
|
type BuildSecurityTypeByIsinResult,
|
|
type SecurityTypeClassificationStats,
|
|
type SecurityTypeConflict,
|
|
type SecurityTypeInputRecord,
|
|
type UnknownSecurityTypeCount,
|
|
} from './security-type';
|
|
|
|
export {
|
|
parseProbeSourceFieldShapesArgs,
|
|
PROBE_SOURCE_FIELD_SHAPES_USAGE,
|
|
runCli as runProbeSourceFieldShapesCli,
|
|
runSourceFieldShapesProbe,
|
|
type ParsedProbeSourceFieldShapesArgs,
|
|
type RunSourceFieldShapesProbeDeps,
|
|
type RunSourceFieldShapesProbeOptions,
|
|
type RunSourceFieldShapesProbeOutput,
|
|
} from './probe-source-field-shapes';
|
|
|
|
export {
|
|
DEFAULT_FIELD_SHAPE_LIMIT,
|
|
DEFAULT_MAX_EXAMPLE_LENGTH,
|
|
DEFAULT_MAX_EXAMPLES,
|
|
FIELD_SHAPE_PROBE_COLLECTIONS,
|
|
FIELD_VALUE_TYPES,
|
|
isFieldShapeProbeCollection,
|
|
MAX_EXAMPLE_LENGTH_CAP,
|
|
MAX_EXAMPLES_CAP,
|
|
MAX_FIELD_SHAPE_LIMIT,
|
|
normalizeProbeCollections,
|
|
readFieldShapes,
|
|
renderFieldShapesMarkdown,
|
|
STRING_PATTERN_CLASSES,
|
|
summarizeFieldShapes,
|
|
UnknownProbeCollectionError,
|
|
type CollectionFieldShapesProbeResult,
|
|
type CollectionFieldShapesSummary,
|
|
type FieldShapeProbeCollection,
|
|
type FieldShapeSummary,
|
|
type FieldStringStats,
|
|
type FieldValueType,
|
|
type FieldValueTypeCounts,
|
|
type ReadFieldShapesOptions,
|
|
type ReadFieldShapesResult,
|
|
type StringPatternClass,
|
|
type StringPatternCounts,
|
|
type SummarizeFieldShapesOptions,
|
|
} from './source-field-shapes';
|
|
|
|
export {
|
|
adaptCeoSymbolDoc,
|
|
adaptEodSymbolChangeDoc,
|
|
adaptEodSymbolDoc,
|
|
adaptIbSymbolDoc,
|
|
adaptQmSymbolDoc,
|
|
CEO_SYMBOLS_PROJECTION,
|
|
createExchangeSourceLookup,
|
|
createReadOnlyMongoSourceSymbolReader,
|
|
DEFAULT_SOURCE_COUNTRIES,
|
|
EOD_SYMBOL_CHANGE_PROJECTION,
|
|
EOD_SYMBOLS_PROJECTION,
|
|
IB_SYMBOLS_PROJECTION,
|
|
normalizeCountryIso2,
|
|
QM_SYMBOLS_PROJECTION,
|
|
readCeoSymbols,
|
|
readEodSymbolChanges,
|
|
readEodSymbols,
|
|
readIbSymbols,
|
|
readQmSymbols,
|
|
readSecurityMasterSources,
|
|
SOURCE_SYMBOL_COLLECTIONS,
|
|
type AdaptCeoSymbolContext,
|
|
type AdaptEodSymbolChangeContext,
|
|
type AdaptEodSymbolChangeResult,
|
|
type AdaptEodSymbolContext,
|
|
type AdaptEodSymbolResult,
|
|
type AdaptIbSymbolContext,
|
|
type AdaptIbSymbolResult,
|
|
type AdaptQmSymbolContext,
|
|
type AdaptTickerSourceResult,
|
|
type CreateExchangeSourceLookupOptions,
|
|
type ExchangeSourceLookup,
|
|
type ExchangeSourceLookupEntry,
|
|
type MongoDBClientSourceSymbolReaderCheck,
|
|
type ReadEodSymbolChangesResult,
|
|
type ReadEodSymbolsResult,
|
|
type ReadIbSymbolsResult,
|
|
type ReadOnlyMongoCollectionClient,
|
|
type ReadOnlySourceSymbolCollection,
|
|
type ReadOnlySourceSymbolCursor,
|
|
type ReadOnlySourceSymbolReader,
|
|
type ReadSecurityMasterSourcesOptions,
|
|
type ReadSourceCollectionOptions,
|
|
type ReadTickerSourcesResult,
|
|
type SecurityMasterSourcesResult,
|
|
type SecurityMasterSourcesStats,
|
|
type SecurityMasterStageBSourceInput,
|
|
type SourceCollectionReadStats,
|
|
type SourceSymbolCollectionKey,
|
|
type SourceSymbolCollectionName,
|
|
type SourceSymbolFindOptions,
|
|
type SourceSymbolSkipCounts,
|
|
type SourceSymbolSkipReason,
|
|
} from './source-symbol-readers';
|