see `tom_alerts.management.commands.runbrokerquery.py`
see
tom_alerts.management.commands.runbrokerquery.py