#include <intraday_cap.hpp>
|
| | IntradayCap (CapAttachment attachment=CapAttachment::None) |
| |
| void | attach () |
| |
| IntradayCap & | operator= (int limit) |
| |
| CapAttachment | attachment () const |
| |
| const CapConfiguration & | configuration () const |
| |
| const IntradayOrderBudget & | budget () const |
| |
| const std::optional< CloseCause > & | due_cause () const |
| |
| uint64_t | next_action () const |
| |
| bool | active () const |
| |
| bool | needs_clock () const |
| |
| bool | legacy_limit_is_zero () const |
| |
| void | metadata (const std::string &key, double value) |
| |
| void | adopt_script_count () |
| |
| std::uint8_t | declared () const |
| |
| void | restore_replay_configuration (CapAttachment attachment, const CapConfiguration &configuration, std::uint8_t declared) noexcept |
| |
| Placement | placement (const CapClock &clock) |
| |
| void | decline (uint64_t incarnation) |
| |
| AttemptOrigin | origin (const CapClock &clock, const Calculation &c, uint64_t incarnation, uint64_t latest_fill) const |
| |
| Admission | pre_dispatch (const CapClock &clock, const Calculation &context, const MatchedAttempt &attempt, uint64_t latest_fill) |
| |
| void | outcome (FillOutcome outcome, AttemptOrigin origin) |
| |
| DirectCloseRouting | direct_close_routing (const Calculation &c, bool full) const |
| |
| void | committed_close (const CapClock &clock, const Calculation &c, Side before, uint64_t fill, const std::vector< ContinuationCandidate > &candidates) |
| |
| CloseDecision | post_dispatch (const Admission &admission, const Calculation &c, const MatchedAttempt &attempt, Side side, int64_t cycle, Prices prices) |
| |
| void | after_immediate_close_attempt () |
| |
| void | ordinary_open (int bar) |
| |
| void | source_batch_end () |
| |
| void | reset_run () |
| |
Definition at line 84 of file intraday_cap.hpp.
◆ IntradayCap()
◆ attach()
| void pineforge::compat::pine::IntradayCap::attach |
( |
| ) |
|
|
inline |
◆ operator=()
| IntradayCap & pineforge::compat::pine::IntradayCap::operator= |
( |
int | limit | ) |
|
|
inline |
◆ attachment()
| CapAttachment pineforge::compat::pine::IntradayCap::attachment |
( |
| ) |
const |
|
inline |
◆ configuration()
| const CapConfiguration & pineforge::compat::pine::IntradayCap::configuration |
( |
| ) |
const |
|
inline |
◆ budget()
◆ due_cause()
| const std::optional< CloseCause > & pineforge::compat::pine::IntradayCap::due_cause |
( |
| ) |
const |
|
inline |
◆ next_action()
| uint64_t pineforge::compat::pine::IntradayCap::next_action |
( |
| ) |
const |
|
inline |
◆ active()
| bool pineforge::compat::pine::IntradayCap::active |
( |
| ) |
const |
|
inline |
◆ needs_clock()
| bool pineforge::compat::pine::IntradayCap::needs_clock |
( |
| ) |
const |
|
inline |
◆ legacy_limit_is_zero()
| bool pineforge::compat::pine::IntradayCap::legacy_limit_is_zero |
( |
| ) |
const |
|
inline |
◆ metadata()
| void pineforge::compat::pine::IntradayCap::metadata |
( |
const std::string & | key, |
|
|
double | value ) |
|
inline |
◆ adopt_script_count()
| void pineforge::compat::pine::IntradayCap::adopt_script_count |
( |
| ) |
|
|
inline |
◆ declared()
| std::uint8_t pineforge::compat::pine::IntradayCap::declared |
( |
| ) |
const |
|
inline |
◆ restore_replay_configuration()
| void pineforge::compat::pine::IntradayCap::restore_replay_configuration |
( |
CapAttachment | attachment, |
|
|
const CapConfiguration & | configuration, |
|
|
std::uint8_t | declared ) |
|
inlinenoexcept |
◆ uses_chart_clock()
| static bool pineforge::compat::pine::IntradayCap::uses_chart_clock |
( |
const std::string & | session | ) |
|
|
inlinestatic |
◆ risk_day()
◆ placement()
◆ decline()
| void pineforge::compat::pine::IntradayCap::decline |
( |
uint64_t | incarnation | ) |
|
|
inline |
◆ origin()
◆ pre_dispatch()
Definition at line 183 of file intraday_cap.hpp.
References active(), pineforge::compat::pine::Allow, pineforge::compat::pine::Calculation::bar, pineforge::compat::pine::Blocked, pineforge::compat::pine::Decline, decline(), pineforge::compat::pine::Flat, pineforge::compat::pine::MatchedAttempt::incarnation, pineforge::compat::pine::MatchedAttempt::is_long, pineforge::compat::pine::MatchedAttempt::kind, pineforge::compat::pine::MatchedAttempt::live_entries, pineforge::compat::pine::MatchedAttempt::live_side, pineforge::compat::pine::Long, pineforge::compat::pine::Market, pineforge::compat::pine::MatchedAttempt::pyramiding, pineforge::compat::pine::ReachedLimit, and risk_day().
◆ outcome()
◆ direct_close_routing()
◆ committed_close()
◆ post_dispatch()
Definition at line 225 of file intraday_cap.hpp.
References pineforge::compat::pine::Calculation::bar, pineforge::compat::pine::MatchedAttempt::created_bar, pineforge::compat::pine::Entry, pineforge::compat::pine::Prices::fill, pineforge::compat::pine::Flat, pineforge::compat::pine::Prices::high, pineforge::compat::pine::MatchedAttempt::incarnation, pineforge::compat::pine::MatchedAttempt::kind, pineforge::compat::pine::Long, pineforge::compat::pine::Prices::low, pineforge::compat::pine::Market, pineforge::compat::pine::Prices::open, pineforge::price, and pineforge::compat::pine::Short.
◆ after_immediate_close_attempt()
| void pineforge::compat::pine::IntradayCap::after_immediate_close_attempt |
( |
| ) |
|
|
inline |
◆ ordinary_open()
| void pineforge::compat::pine::IntradayCap::ordinary_open |
( |
int | bar | ) |
|
|
inline |
◆ source_batch_end()
| void pineforge::compat::pine::IntradayCap::source_batch_end |
( |
| ) |
|
|
inline |
◆ reset_run()
| void pineforge::compat::pine::IntradayCap::reset_run |
( |
| ) |
|
|
inline |
◆ schema_version
| uint64_t pineforge::compat::pine::IntradayCap::schema_version = 1 |
|
staticconstexpr |
The documentation for this class was generated from the following file: