Skip to content

Field

QuantConnect.Field

Bases: Object

Provides static properties to be used as selectors with the indicator system

BID_CLOSE

BID_CLOSE: Callable[[IBaseData], float]

Gets a selector that selectes the Bid close price

BID_OPEN

BID_OPEN: Callable[[IBaseData], float]

Gets a selector that selectes the Bid open price

BID_LOW

BID_LOW: Callable[[IBaseData], float]

Gets a selector that selectes the Bid low price

BID_HIGH

BID_HIGH: Callable[[IBaseData], float]

Gets a selector that selectes the Bid high price

ASK_CLOSE

ASK_CLOSE: Callable[[IBaseData], float]

Gets a selector that selectes the Ask close price

ASK_OPEN

ASK_OPEN: Callable[[IBaseData], float]

Gets a selector that selectes the Ask open price

ASK_LOW

ASK_LOW: Callable[[IBaseData], float]

Gets a selector that selectes the Ask low price

ASK_HIGH

ASK_HIGH: Callable[[IBaseData], float]

Gets a selector that selectes the Ask high price

ASK_PRICE

ASK_PRICE: Callable[[IBaseData], float]

Gets a selector that selectes the Ask price

BID_PRICE

BID_PRICE: Callable[[IBaseData], float]

Gets a selector that selectes the Bid price

OPEN

OPEN: Callable[[IBaseData], float]

Gets a selector that selects the Open value

HIGH

HIGH: Callable[[IBaseData], float]

Gets a selector that selects the High value

LOW

LOW: Callable[[IBaseData], float]

Gets a selector that selects the Low value

CLOSE

CLOSE: Callable[[IBaseData], float]

Gets a selector that selects the Close value

AVERAGE

AVERAGE: Callable[[IBaseData], float]

Defines an average price that is equal to (O + H + L + C) / 4

MEDIAN

MEDIAN: Callable[[IBaseData], float]

Defines an average price that is equal to (H + L) / 2

TYPICAL

TYPICAL: Callable[[IBaseData], float]

Defines an average price that is equal to (H + L + C) / 3

WEIGHTED

WEIGHTED: Callable[[IBaseData], float]

Defines an average price that is equal to (H + L + 2*C) / 4

SEVEN_BAR

SEVEN_BAR: Callable[[IBaseData], float]

Defines an average price that is equal to (2O + H + L + 3C)/7

VOLUME

VOLUME: Callable[[IBaseData], float]

Gets a selector that selectors the Volume value