algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
Loading...
Searching...
No Matches
algotradelib::runner::Portfolio< Broker >::SellableReading Struct Reference

A sellable quantity together with what it covers, read from the same row. More...

#include <algotradelib/src/strategy/portfolio.hpp>

Collaboration diagram for algotradelib::runner::Portfolio< Broker >::SellableReading:

Public Attributes

std::optional< Decimal64 > quantity_
 The figure, or std::nullopt if no row of the instrument reported one.
SellableBasis basis_
 What the figure covers; unestablished if the rows disagree.

Detailed Description

template<typename Broker>
struct algotradelib::runner::Portfolio< Broker >::SellableReading

A sellable quantity together with what it covers, read from the same row.

Definition at line 191 of file portfolio.hpp.

Member Data Documentation

◆ basis_

template<typename Broker>
SellableBasis algotradelib::strategy::Portfolio< Broker >::SellableReading::basis_

What the figure covers; unestablished if the rows disagree.

Definition at line 195 of file portfolio.hpp.

◆ quantity_

template<typename Broker>
std::optional<Decimal64> algotradelib::strategy::Portfolio< Broker >::SellableReading::quantity_

The figure, or std::nullopt if no row of the instrument reported one.

Definition at line 193 of file portfolio.hpp.


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