pub trait PositionEnterer {
    fn enter(
        engine_id: Uuid,
        fill: &FillEvent
    ) -> Result<Position, PortfolioError>; }
Expand description

Enters a new Position.

Required methods

Returns a new Position, given an input FillEvent & an associated engine_id.

Implementors