Class SymbolRegistryEnrichmentEngagement
This standalone entrypoint parses and validates CLI arguments, resolves OpenAI configuration,
loads the symbol and exchange registries, selects candidates, runs the symbol enrichment provider
strategy, merges the response into each registry entry, recomputes needs_review, and
optionally persists the updated registry.
Candidate selection is based on the requested attributes and the overwrite flag. When
no explicit ticker list is provided, the engagement scans the target category in file order and
only selects entries where at least one requested attribute is blank. When --tickers is
provided, only those tickers are evaluated. Existing needs_review values do not determine
whether a symbol becomes a candidate.
The supported requested attributes are:
description: a short researched description for the symbol or instrumentexchange: an exchange MIC that must exist in the exchange registry before it is persistedwebsite: an official symbol or issuer website that must be a validhttporhttpsURL
--dry-run=true still performs provider calls and logs the results, but it does not
write the symbol registry back to disk. --dry-run=false writes the registry only when at
least one entry changes.
Remember to prepend mvn -DskipTests compile exec:java
-Dexec.mainClass=com.bluebell.greenhouse.osmosis.engagements.symbol.SymbolRegistryEnrichmentEngagement
-Dexec.args=""
- Version:
- 2.0.2
- Author:
- Stephen Prizio
-
Method Summary
-
Method Details
-
main
Runs the standalone symbol registry enrichment flow.- Parameters:
args- command-line args
-