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

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

Collaboration diagram for openpit::pretrade::policies::SpotFundsPnlBoundsAccountBarrier:

Public Member Functions

OpenPitPretradePoliciesSpotFundsPnlBoundsAccountBarrier Raw () const noexcept
 Lowers the account barrier to the native C payload. More...
 
 SpotFundsPnlBoundsAccountBarrier (::openpit::param::AccountId account, SpotFundsPnlBoundsBarrier accountBarrier)
 Creates an account P&L barrier. More...
 

Public Attributes

::openpit::param::AccountId accountId
 
SpotFundsPnlBoundsBarrier barrier
 

Detailed Description

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

Constructor & Destructor Documentation

◆ SpotFundsPnlBoundsAccountBarrier()

openpit::pretrade::policies::SpotFundsPnlBoundsAccountBarrier::SpotFundsPnlBoundsAccountBarrier ( ::openpit::param::AccountId  account,
SpotFundsPnlBoundsBarrier  accountBarrier 
)
inline

Creates an account P&L barrier.

Member Function Documentation

◆ Raw()

OpenPitPretradePoliciesSpotFundsPnlBoundsAccountBarrier openpit::pretrade::policies::SpotFundsPnlBoundsAccountBarrier::Raw ( ) const
inlinenoexcept

Lowers the account barrier to the native C payload.

Member Data Documentation

◆ accountId

::openpit::param::AccountId openpit::pretrade::policies::SpotFundsPnlBoundsAccountBarrier::accountId

◆ barrier

SpotFundsPnlBoundsBarrier openpit::pretrade::policies::SpotFundsPnlBoundsAccountBarrier::barrier