|
OpenPit C++ SDK
C++17 SDK for the OpenPit pre-trade risk engine
|
Classes | |
| struct | AccountAdjustment |
| struct | AccountOutcomeEntry |
| class | AccountPnlOperation |
| Replaces the account-wide realized-PnL accumulator. More... | |
| class | AccountPnlOutcome |
| Account-level realized-PnL result: either the amount or a halt reason. More... | |
| struct | Amount |
| struct | BalanceOperation |
| Balance-operation payload of an account adjustment. More... | |
| class | BatchError |
| struct | Bounds |
| class | Context |
| class | Operation |
| struct | Outcome |
| struct | OutcomeAmount |
| class | OutcomeList |
| class | PnlOutcome |
| struct | PnlOutcomeAmount |
| Realized-PnL change and resulting absolute value. More... | |
| class | PnlState |
| Current state of a realized-PnL accumulator. More... | |
| struct | PositionOperation |
Enumerations | |
| enum class | PnlHaltReason : std::uint8_t { MissingFx = 1 , MissingAccountCurrency = 2 , MissingInitialPnl = 3 , MissingCostBasis = 4 , ArithmeticOverflow = 5 } |
| Reason why a realized-PnL amount could not be calculated. More... | |
|
strong |
Reason why a realized-PnL amount could not be calculated.
When failures coincide, SpotFunds uses this priority from highest to lowest: ArithmeticOverflow, MissingAccountCurrency, MissingFx, MissingCostBasis, then MissingInitialPnl.