algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::live::SessionSource< Session, Journal, MarketData >::ObservedCharge Struct Reference

One order's stated charges, as last recorded. More...

#include <algotradelib/src/live/session_source.hpp>

Collaboration diagram for algotradelib::live::SessionSource< Session, Journal, MarketData >::ObservedCharge:

Public Attributes

ObservedFigure commission_
 The commission.
ObservedFigure tax_
 The tax.
bool counted_cost_ {false}
 Whether this order was already counted as one that states a cost.

Detailed Description

template<typename Session, typename Journal = runner::MemoryJournal, typename MarketData = Session>
struct algotradelib::live::SessionSource< Session, Journal, MarketData >::ObservedCharge

One order's stated charges, as last recorded.

Definition at line 171 of file session_source.hpp.

Member Data Documentation

◆ commission_

template<typename Session, typename Journal = runner::MemoryJournal, typename MarketData = Session>
ObservedFigure algotradelib::live::SessionSource< Session, Journal, MarketData >::ObservedCharge::commission_

The commission.

Definition at line 173 of file session_source.hpp.

◆ counted_cost_

template<typename Session, typename Journal = runner::MemoryJournal, typename MarketData = Session>
bool algotradelib::live::SessionSource< Session, Journal, MarketData >::ObservedCharge::counted_cost_ {false}

Whether this order was already counted as one that states a cost.

Definition at line 177 of file session_source.hpp.

◆ tax_

template<typename Session, typename Journal = runner::MemoryJournal, typename MarketData = Session>
ObservedFigure algotradelib::live::SessionSource< Session, Journal, MarketData >::ObservedCharge::tax_

The tax.

Definition at line 175 of file session_source.hpp.


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