feat: include target date in the market field for price and anomaly city alerts
This commit is contained in:
@@ -327,7 +327,7 @@ def main():
|
|||||||
city_alerts.append(
|
city_alerts.append(
|
||||||
{
|
{
|
||||||
"type": "price",
|
"type": "price",
|
||||||
"market": question,
|
"market": f"{question} ({target_date or '今日'})",
|
||||||
"msg": f"{trigger_side}进入锁定区间 {trigger_price}¢",
|
"msg": f"{trigger_side}进入锁定区间 {trigger_price}¢",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@@ -352,7 +352,7 @@ def main():
|
|||||||
city_alerts.append(
|
city_alerts.append(
|
||||||
{
|
{
|
||||||
"type": "anomaly",
|
"type": "anomaly",
|
||||||
"market": question,
|
"market": f"{question} ({target_date or '今日'})",
|
||||||
"msg": f"{msg} (当前 {int(buy_yes_price * 100)}¢)",
|
"msg": f"{msg} (当前 {int(buy_yes_price * 100)}¢)",
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user