|
Longbridge OpenAPI C++ SDK
|
One price alert rule attached to a security. More...
#include <types.hpp>
Public Attributes | |
| std::string | id |
| Alert ID. More... | |
| std::string | indicator_id |
| Condition: "1"=price_rise, "2"=price_fall, "3"=pct_rise, "4"=pct_fall. More... | |
| bool | enabled |
| Whether the alert is currently active. More... | |
| int32_t | frequency |
| Trigger frequency: 1=daily, 2=every_time, 3=once. More... | |
| int32_t | scope |
| Scope. More... | |
| std::string | text |
| Human-readable description of the trigger condition. More... | |
| std::vector< int32_t > | state |
| Trigger state flags. More... | |
| std::string | value_map |
| Trigger threshold, serialised as JSON: {"price":"500"} or {"chg":"5"}. More... | |
One price alert rule attached to a security.
| bool longbridge::alert::AlertItem::enabled |
Whether the alert is currently active.
| int32_t longbridge::alert::AlertItem::frequency |
Trigger frequency: 1=daily, 2=every_time, 3=once.
| std::string longbridge::alert::AlertItem::id |
Alert ID.
| std::string longbridge::alert::AlertItem::indicator_id |
Condition: "1"=price_rise, "2"=price_fall, "3"=pct_rise, "4"=pct_fall.
| int32_t longbridge::alert::AlertItem::scope |
Scope.
| std::vector<int32_t> longbridge::alert::AlertItem::state |
Trigger state flags.
| std::string longbridge::alert::AlertItem::text |
Human-readable description of the trigger condition.
| std::string longbridge::alert::AlertItem::value_map |
Trigger threshold, serialised as JSON: {"price":"500"} or {"chg":"5"}.