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

Cash an operator adds to a run or takes from it, once (RunOpening::transfers_). More...

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

Collaboration diagram for algotradelib::runner::RunTransfer:

Public Attributes

std::string id_
 The operator's id for it; a transfer whose id the run already holds is not applied again.
Money amount_
 How much, in the run's currency; positive.
bool withdrawal_ {false}
 Whether it is taken from the run (a withdrawal) rather than added (a deposit).

Detailed Description

Cash an operator adds to a run or takes from it, once (RunOpening::transfers_).

Definition at line 42 of file run_ledger.hpp.

Member Data Documentation

◆ amount_

Money algotradelib::runner::RunTransfer::amount_

How much, in the run's currency; positive.

Definition at line 46 of file run_ledger.hpp.

◆ id_

std::string algotradelib::runner::RunTransfer::id_

The operator's id for it; a transfer whose id the run already holds is not applied again.

Definition at line 44 of file run_ledger.hpp.

◆ withdrawal_

bool algotradelib::runner::RunTransfer::withdrawal_ {false}

Whether it is taken from the run (a withdrawal) rather than added (a deposit).

Definition at line 48 of file run_ledger.hpp.


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