scannerData()

This method receives the requested market scanner data results.

void scannerData(int reqId, int rank, ContractDetails contractDetails, String distance, String benchmark, String projection, String legsStr)

Parameter

Description

reqId

The ID of the request to which this row is responding.

rank

The ranking within the response of this bar.

contractDetails

This structure contains a full description of the contract that was executed.

distance

Varies based on query.

benchmark

Varies based on query.

projection

Varies based on query.

legsStr

Describes combo legs when scan is returning EFP.