|
OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
|
Replaces the account-wide realized-PnL accumulator. More...
#include <pnl.hpp>
Public Member Functions | |
| AccountPnlOperation (param::Pnl pnl) | |
| AccountPnlOperation (PnlHaltReason reason) | |
| const std::variant< param::Pnl, PnlHaltReason > & | Get () const noexcept |
| Returns the replacement PnL or its explicit halt reason. | |
| OpenPitAccountAdjustmentAccountPnlOperation | Raw () const noexcept |
Static Public Member Functions | |
| static AccountPnlOperation | FromRaw (const OpenPitAccountAdjustmentAccountPnlOperation &raw) |
Replaces the account-wide realized-PnL accumulator.
|
inlineexplicit |
|
inlineexplicit |
|
inlinestaticnodiscard |
|
inlinenodiscardnoexcept |
Returns the replacement PnL or its explicit halt reason.
|
inlinenodiscardnoexcept |