Expand description

Data structures encapsulating the state of a trading [Position], as well as the logic for entering, updating and exiting them.

Structs

Data encapsulating the state of an ongoing or closed Position.

Builder to construct Position instances.

Position exit event. Occurs as a result of a FillEvent that exits a Position.

Metadata detailing the trace UUIDs & timestamps associated with entering, updating & exiting a Position.

Position update event. Occurs as a result of receiving new MarketEvent data.

Enums

Direction of the Position when it was opened, Long or Short.

Traits

Exits an open Position.

Updates an open Position.

Functions

Returns a unique identifier for a Position given an engine_Id, exchange & symbol.

Type Definitions

Communicates a String represents a unique Position identifier.