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

Per-account-group spot-funds P&L bounds refinement. More...

Collaboration diagram for openpit::pretrade::policies::SpotFundsPnlBoundsAccountGroupBarrier:

Public Member Functions

OpenPitPretradePoliciesSpotFundsPnlBoundsAccountGroupBarrier Raw () const noexcept
 Lowers the account-group refinement to the native C payload. More...
 
 SpotFundsPnlBoundsAccountGroupBarrier (::openpit::param::AccountGroupId groupId, SpotFundsPnlBoundsBarrier groupBarrier)
 Creates an account-group P&L barrier. More...
 

Public Attributes

::openpit::param::AccountGroupId accountGroupId
 
SpotFundsPnlBoundsBarrier barrier
 

Detailed Description

Per-account-group spot-funds P&L bounds refinement.

Constructor & Destructor Documentation

◆ SpotFundsPnlBoundsAccountGroupBarrier()

openpit::pretrade::policies::SpotFundsPnlBoundsAccountGroupBarrier::SpotFundsPnlBoundsAccountGroupBarrier ( ::openpit::param::AccountGroupId  groupId,
SpotFundsPnlBoundsBarrier  groupBarrier 
)
inline

Creates an account-group P&L barrier.

Member Function Documentation

◆ Raw()

OpenPitPretradePoliciesSpotFundsPnlBoundsAccountGroupBarrier openpit::pretrade::policies::SpotFundsPnlBoundsAccountGroupBarrier::Raw ( ) const
inlinenoexcept

Lowers the account-group refinement to the native C payload.

Member Data Documentation

◆ accountGroupId

::openpit::param::AccountGroupId openpit::pretrade::policies::SpotFundsPnlBoundsAccountGroupBarrier::accountGroupId

◆ barrier

SpotFundsPnlBoundsBarrier openpit::pretrade::policies::SpotFundsPnlBoundsAccountGroupBarrier::barrier