Class SymbolRegistryPostProcessEngagement

java.lang.Object
com.bluebell.greenhouse.osmosis.engagements.symbol.SymbolRegistryPostProcessEngagement

public final class SymbolRegistryPostProcessEngagement extends Object
Command-line engagement for symbol registry post-processing.

This standalone entrypoint parses and validates CLI arguments, loads the symbol registry, applies the requested post-process operations, and persists any changed category or ticker scope back to disk through SymbolRegistryPostProcessService.

The supported operations are:

  • --resolve-reviews=true: sets needs_review=false when an entry currently needs review and its confidence is above 0.8
  • --clean-up-exchanges=true: updates exchange values for either an entire category or a single ticker target

Exchange cleanup requires --exchange and exactly one of --category or --ticker. Category targets are normalized to lowercase, while ticker and exchange values are normalized to uppercase before execution.

Example usage:

  • --resolve-reviews=true
  • --clean-up-exchanges=true --category=forex --exchange=IDEALPRO
  • --clean-up-exchanges=true --ticker=AAPL --exchange=XNAS
  • --resolve-reviews=true --clean-up-exchanges=true --category=stocks --exchange=XNAS

Remember to prepend mvn -DskipTests compile exec:java -Dexec.mainClass=com.bluebell.greenhouse.osmosis.engagements.symbol.SymbolRegistryPostProcessEngagement -Dexec.args=""

Version:
1.0.9
Author:
Stephen Prizio
  • Method Details

    • main

      public static void main(String[] args)
      Runs the standalone symbol registry post-process osmosis flow.
      Parameters:
      args - command-line args