PriceAlertDTO¶
stonepy.models.PriceAlertDTO.PriceAlertDTO
¶
Bases: ResponseModel
Information regarding a specific Price Alert.
client_account_id
class-attribute
instance-attribute
¶
Client account ID.
market_name
class-attribute
instance-attribute
¶
The name of the market.
triggered_price
class-attribute
instance-attribute
¶
The price that caused the Price Alert to Trigger.
triggered_date
class-attribute
instance-attribute
¶
The date of the triggered price alert. Always expressed in UTC.
alert_state
class-attribute
instance-attribute
¶
The state of the alert. Can be one of the following: Added = 0, Updated = 1, Deleted = 2, Triggered = 3
alert_id
class-attribute
instance-attribute
¶
The Price Alert identifier.
market_id
class-attribute
instance-attribute
¶
The Market identifier.
criterion
class-attribute
instance-attribute
¶
criterion: AlertCriterion | None = Field(
default=None, alias="Criterion"
)
The criterion to use when checking the price. Can be one of the following: AtOrAbove = 1, AtOrBelow = 2
direction
class-attribute
instance-attribute
¶
direction: AlertDirection | None = Field(
default=None, alias="Direction"
)
Direction of the price Alert. Can be one of the following: Buy = 1, Sell = 2
fill_rate
class-attribute
instance-attribute
¶
The Price the Alert was created with.
email_address
class-attribute
instance-attribute
¶
The email address for the recipient of the Price Alert.
expiry
class-attribute
instance-attribute
¶
expiry: AlertExpiry | None = Field(
default=None, alias="Expiry"
)
Specifies the type of the expiry. The options are: Good To Cancelled = 1, Good to Date = 2
expiry_date
class-attribute
instance-attribute
¶
The date of expiry.
create_date
class-attribute
instance-attribute
¶
The date the Price Alert was created.
comment
class-attribute
instance-attribute
¶
This is the user created custom message added to the alert when created.
notification_method
class-attribute
instance-attribute
¶
notification_method: AlertNotification | None = Field(
default=None, alias="NotificationMethod"
)
The notification Method. Can be one of the following: None = 0, Email = 1, Sms = 2, EmailAndSms = 3, PushNotification = 4, EmailAndPushNotification = 5, SmsAndPushNotification = 6, EmailAndSmsAndPushNotification = 7