OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
Loading...
Searching...
No Matches
openpit::pretrade::policies::SpotFundsPnlBoundsAccountGroupBarrier Struct Reference

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

#include <policies.hpp>

Public Member Functions

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

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
inlinenodiscardnoexcept

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