Skip to content

Notify:ExecuteScan

Executes a one-off Scan and returns the current matches, given the scanner parameters.

Controller: Notify
Topic: ExecuteScan
Action: Publish
Permissions: Zenith/Market

NameTypeExpectDescription
TypeStringAlwaysThe scanner type.
CriteriaAnyAlwaysThe parameters of the Scan. Format depends on the type.
TargetAnyAlwaysThe targeting information for the Scan. Format depends on the type.

See Appendix J1 - Scanners for more information on scanner criteria and targets.

An array of Scan Match Change objects. See the Matches subscription for more information.

Send:

{"Controller":"Notify","Topic":"ExecuteScan","TransactionID":1,"Data":{
"Type":"Market.Scan",
"Criteria":["IsIndex"],
"Target":["ASX[Demo]"]
}}

Receive:

{"Controller":"Notify","Topic":"QueryMatches","TransactionID":1,"Data":"Data":[
{"Operation":"Clear"},
{"Operation":"Add","Key":"BHP.ASX"}
]}