|
| template<typename P = ClientPolicy, std::enable_if_t< detail::HasAdjustment< P >::value, int > = 0> |
| PolicyAccountAdjustmentResult | ApplyAccountAdjustment (const ::openpit::accountadjustment::Context &context, ::openpit::param::AccountId accountId, const ::openpit::accountadjustment::AccountAdjustment &adjustment, ::openpit::tx::Mutations &mutations, AccountOutcomes &outcomes) const |
| |
| template<typename P = ClientPolicy, std::enable_if_t< detail::HasReportLegacy< P, ClientReport >::value, int > = 0> |
| bool | ApplyExecutionReport (const openpit::ExecutionReport &report) const |
| |
| template<typename P = ClientPolicy, std::enable_if_t< detail::HasReportFull< P, ClientReport >::value||detail::HasReportLegacy< P, ClientReport >::value, int > = 0> |
| std::vector<::openpit::accounts::AccountBlock > | ApplyExecutionReport (const PostTradeContext &context, const openpit::ExecutionReport &report, PostTradeAdjustments &adjustments, PostTradePnls &pnls) const |
| |
| std::optional< Reject > | CheckPreTradeStart (const openpit::Order &order) const |
| |
| template<typename P = ClientPolicy, std::enable_if_t< detail::HasStartDryRun< P, ClientOrder >::value, int > = 0> |
| std::optional< Reject > | CheckPreTradeStartDryRun (const openpit::Order &order) const |
| |
| std::string_view | Name () const noexcept |
| |
| | StartPolicyAdapter (ClientPolicy policy) |
| |
template<typename ClientPolicy, typename ClientOrder, typename ClientReport, CastMode mode>
class openpit::pretrade::StartPolicyAdapter< ClientPolicy, ClientOrder, ClientReport, mode >
Adapts a client start-stage policy to the engine callback seam.