struct lb_alert_context_t lb_alert_context_t
Definition: alert_context.hpp:7
Price alert management context.
Definition: alert_context.hpp:27
void update(const AlertItem &item, AsyncCallback< AlertContext, void > callback) const
AlertContext & operator=(const AlertContext &ctx)
AlertContext(const lb_alert_context_t *ctx)
void add(const std::string &symbol, AlertCondition condition, const std::string &trigger_value, AlertFrequency frequency, AsyncCallback< AlertContext, void > callback) const
Add a price alert.
static AlertContext create(const Config &config)
Create an AlertContext from a Config.
AlertContext(const AlertContext &ctx)
AlertContext(AlertContext &&ctx)
void list(AsyncCallback< AlertContext, AlertList > callback) const
List all price alerts grouped by security.