algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::runner::RunPlacement Struct Reference

A placement of a run, as its ledger knows it. More...

#include <algotradelib/src/runner/run_ledger.hpp>

Collaboration diagram for algotradelib::runner::RunPlacement:

Public Attributes

std::string id_
 The placement's journal id.
InstrumentId instrument_
 The instrument.
OrderSide side_ {OrderSide::BUY}
 The side.
Decimal64 quantity_
 The quantity it was sent for.
RunPlacementState state_ {RunPlacementState::HELD}
 Where it stands.

Detailed Description

A placement of a run, as its ledger knows it.

Definition at line 28 of file run_ledger.hpp.

Member Data Documentation

◆ id_

std::string algotradelib::runner::RunPlacement::id_

The placement's journal id.

Definition at line 30 of file run_ledger.hpp.

◆ instrument_

InstrumentId algotradelib::runner::RunPlacement::instrument_

The instrument.

Definition at line 32 of file run_ledger.hpp.

◆ quantity_

Decimal64 algotradelib::runner::RunPlacement::quantity_

The quantity it was sent for.

Definition at line 36 of file run_ledger.hpp.

◆ side_

OrderSide algotradelib::runner::RunPlacement::side_ {OrderSide::BUY}

The side.

Definition at line 34 of file run_ledger.hpp.

◆ state_

RunPlacementState algotradelib::runner::RunPlacement::state_ {RunPlacementState::HELD}

Where it stands.

Definition at line 38 of file run_ledger.hpp.


The documentation for this struct was generated from the following file: