Package com.longbridge.alert
Class AlertValueMap
- java.lang.Object
-
- com.longbridge.alert.AlertValueMap
-
public class AlertValueMap extends Object
Trigger value of a price alert.Exactly one field is populated, depending on the alert condition:
pricefor absolute-price alerts,chgfor percentage-change alerts.
-
-
Field Summary
Fields Modifier and Type Field Description DoublechgPercentage-change threshold, e.g.BigDecimalpriceAbsolute price threshold, e.g.
-
Constructor Summary
Constructors Constructor Description AlertValueMap()
-
-
-
Field Detail
-
price
public BigDecimal price
Absolute price threshold, e.g.500(null if not set).
-
chg
public Double chg
Percentage-change threshold, e.g.5(null if not set).
-
-