externalize the trading candidate identification logic