Usually when one expects to see more ‘deals’, the goal is to see actually ‘more information’, but one of the goals when the bot was updated to check for actual deals the goal was to in fact, reduce them.
In post about the bot (now available on Telegram at @descuenbot), the internals of how it worked where shared, and in brief, the main advantage was to
avoid duplicates for the same deal in a 24 hour window, this allows already to reduce ‘a lot’ the amount of deals that were received if you were following lot of channels and instead started following the one managed by the bot.
This was later expanded to also show deals with a predefined amount of discount over official price and even later (Ofertas25, Ofertas50, Ofertas70 ), a specific channel with only the prices that were LOWER than any other registered one at Mínimos Históricos.
Additionally, the bot, via a private message like
/ofertas add bluetooth allows to forward you the deals that match your interest in
bluetooth or any other topic, and also, allows excluding keywords not of your interest like
/ofertas add !headphones. This allows to easily build a list of interests based on possitive and negative matches of the deals forwarded.
The still existing problem¶
However, the amount of deals offered still contained a flaw: the actual discount price is based on Amazon API data, so if the seller puts an insanely high listing price and later shows as the actual price as a low one, it appears that product is highly discounted.
In order to avoid that, a new feature was added that keeps an average of prices, and enters into ‘action’ when at least 10 quotes have been obtained.
So, now, each product that gets checked on the API, gets new average calculated and each price (actual price) is compared against the average… if the actual price is higher than average, average gets updated and product is filtered out for everyone.
If the product instead get a lower price, it gets published as normal (like in above described Mínimos Históricos), BUT, if the product gets a lower price (higher than registered minimum), but still, lower than average (a real deal), it gets published as normal.
As a safety measure, the product is sent always if less than 10 quotes exist, allowing new products to be found and requiring a somewhat ‘minimal’ base before we can decide if it’s a period for deals that makes it lower than usual or a product that regularly gets a fake hight listing price to simulate a high discount.
I’ve captured a small table with some of the data processed so far
Easy to explain, for those first days of the year, having more products with more than 10 samples, resulted in the number of posts ‘removed’ as those were
In the end, linking with initial sentence… removing ‘noise’ from the communication, means better signal.
You can check the current list of channels maintained by the bot at https://telegra.ph/Nuestros-canales-de-ofertas-06-21