|
OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
|
Runtime replacement for per-account spot-funds P&L bounds. More...
#include <policies.hpp>
Public Member Functions | |
| OpenPitPretradePoliciesSpotFundsPnlBoundsAccountBarrierUpdate | Raw () const noexcept |
| Lowers the account update to the native C payload. | |
| SpotFundsPnlBoundsAccountBarrierUpdate (::openpit::param::AccountId account, SpotFundsPnlBoundsBarrier accountBarrier) | |
| Creates an account P&L barrier update. | |
Public Attributes | |
| ::openpit::param::AccountId | accountId |
| SpotFundsPnlBoundsBarrier | barrier |
Runtime replacement for per-account spot-funds P&L bounds.
This update intentionally carries no initialPnl; runtime reconfiguration preserves the live accumulator.
|
inline |
Creates an account P&L barrier update.
|
inlinenodiscardnoexcept |
Lowers the account update to the native C payload.
| ::openpit::param::AccountId openpit::pretrade::policies::SpotFundsPnlBoundsAccountBarrierUpdate::accountId |
| SpotFundsPnlBoundsBarrier openpit::pretrade::policies::SpotFundsPnlBoundsAccountBarrierUpdate::barrier |