![]() |
algotradelib 0.0.0.9000
C++ header-only library for algorithmic trading
|
An instrument's currency and the price to value it at, for the exposure ceiling. More...
#include <algotradelib/src/strategy/risk.hpp>
Public Attributes | |
| InstrumentId | instrument_ |
| The instrument. | |
| Currency | currency_ |
| The currency it trades in. | |
| Decimal64 | price_ |
| The mark to value it at. | |
An instrument's currency and the price to value it at, for the exposure ceiling.
| Currency algotradelib::strategy::InstrumentBasis::currency_ |
The currency it trades in.
Definition at line 343 of file risk.hpp.
Referenced by algotradelib::strategy::projected_gross_exposure().
| InstrumentId algotradelib::strategy::InstrumentBasis::instrument_ |
| Decimal64 algotradelib::strategy::InstrumentBasis::price_ |
The mark to value it at.
projected_gross_exposure raises it to any higher limit price of an order on the instrument.
Definition at line 349 of file risk.hpp.
Referenced by algotradelib::strategy::projected_gross_exposure().