Menu

HiBid auction reports in Python: separate bid changes from countdown drift
📰

HiBid auction reports in Python: separate bid changes from countdown drift

DEV Community: sql·Dataspryva·2 days ago
#VtER3fAz
#devtosql#devto#dev#frame#null
Long article (2016 words) — no AI summary yet.
Reading 0:00
15s threshold

Your daily report says nearly every watched lot changed. Before you send it, look at the column doing most of the work: timeLeftSeconds .

A countdown can change while the auction changes nothing. Once a lot closes, real-time fields such as timeLeft can also become historical or stale, and the Actor returns whatever the public API reports.

A countdown difference is not evidence that an auction deadline moved.

The small fix is to stop giving every changed value the same vote. Compare reported bids and auction states directly. Put countdown arithmetic in a separate diagnostic column.

Your manager gets a report about auction changes. The clock can keep its own diary.

Hold the watched lots steady

A fresh search answers “what matches now?” A tracker needs a different question: “what happened to the lots you were already watching?”

Those populations can diverge.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.