OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
openpit::pretrade::policies::PnlBoundsAccountBarrier Struct Reference
Collaboration diagram for openpit::pretrade::policies::PnlBoundsAccountBarrier:

Public Member Functions

 PnlBoundsAccountBarrier (::openpit::param::AccountId account, ::openpit::param::Asset asset, ::openpit::param::Pnl initial)
 

Public Attributes

::openpit::param::AccountId accountId
 
::openpit::param::Pnl initialPnl
 
std::optional<::openpit::param::Pnl > lowerBound
 
::openpit::param::Asset settlementAsset
 
std::optional<::openpit::param::Pnl > upperBound
 

Constructor & Destructor Documentation

◆ PnlBoundsAccountBarrier()

openpit::pretrade::policies::PnlBoundsAccountBarrier::PnlBoundsAccountBarrier ( ::openpit::param::AccountId  account,
::openpit::param::Asset  asset,
::openpit::param::Pnl  initial 
)
inline

Member Data Documentation

◆ accountId

::openpit::param::AccountId openpit::pretrade::policies::PnlBoundsAccountBarrier::accountId

◆ initialPnl

::openpit::param::Pnl openpit::pretrade::policies::PnlBoundsAccountBarrier::initialPnl

◆ lowerBound

std::optional<::openpit::param::Pnl> openpit::pretrade::policies::PnlBoundsAccountBarrier::lowerBound

◆ settlementAsset

::openpit::param::Asset openpit::pretrade::policies::PnlBoundsAccountBarrier::settlementAsset

◆ upperBound

std::optional<::openpit::param::Pnl> openpit::pretrade::policies::PnlBoundsAccountBarrier::upperBound