Answer · Steam · Python
Detect steam moves in Python on the WebSocket
Answer: keep the last decimal per market id, flag shortens beyond your threshold within a window, and ignore thin maxStake. Builder WS required. Full pattern: steam guide and steam answer.
Sketch#
# after applying a delta upsert:
prev = last.get(m["id"])
last[m["id"]] = m
if prev and maxStake_ok(m):
for o_old, o_new in zip(prev["outcomes"], m["outcomes"]):
if o_new["decimal"] < o_old["decimal"] * 0.95:
alert(m, o_old, o_new)
Not financial advice (18+).
Trial CTA#
Builder (€99/mo) for WebSocket and closing history. 3-day trial; card required, charged after day 3 unless cancelled. Free REST: signup. Related: answers hub, docs.
Questions people ask#
REST alternative?#
Poll /v1/drops on Free/Hobby — slower.
Threshold magic number?#
Choose your own; the 5% figure is an example, not a tip.
Is this educational content for adults?#
Yes (18+).