|
OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
|
Account-level realized-PnL outcome. More...
#include <pnl.hpp>
Public Member Functions | |
| const AccountPnlResult & | Get () const noexcept |
| Returns the account PnL or the reason why it is unavailable. | |
| OpenPitAccountPnlOutcome | Raw () const noexcept |
Static Public Member Functions | |
| static AccountPnlOutcome | FromRaw (const OpenPitAccountPnlOutcome &raw) |
Public Attributes | |
| param::AccountId | accountId |
| Account that owns the realized-PnL ledger. | |
| param::GroupId | policyGroupId |
| Policy group of the producer that owns the ledger. | |
| AccountPnlResult | result |
| Account-currency PnL, or the reason why it is unavailable. | |
Account-level realized-PnL outcome.
|
inlinestaticnodiscard |
|
inlinenodiscardnoexcept |
Returns the account PnL or the reason why it is unavailable.
|
inlinenodiscardnoexcept |
| param::AccountId openpit::accountadjustment::AccountPnlOutcome::accountId |
Account that owns the realized-PnL ledger.
| param::GroupId openpit::accountadjustment::AccountPnlOutcome::policyGroupId |
Policy group of the producer that owns the ledger.
| AccountPnlResult openpit::accountadjustment::AccountPnlOutcome::result |
Account-currency PnL, or the reason why it is unavailable.