Came out of discussion #516. Instead of a workflow layer or some query builder, Fredy now works out the numbers itself and a job just gets a threshold for them. Most of it was already there anyway, the median per m² and the price change alerts, it just wasnt usable as a filter.
What a job can do now:
- only care about listings that are x % below the local median price per m²
- for buy jobs: require a minimum gross rental yield. Fredy takes the median rent of rentals nearby and compares it with the asking price
- set its own price change threshold instead of the instance wide one
The first two use the same three actions as the commute filter (mark, don't notify, filter out). A listing without enough neighbours to compare against is never held back.
The yield shows up in the price per m² badge. It is gross, so no vacancy, no maintainance, no purchase costs. Good enough to rank listings, not a finance calculation.
Other changes
- fetching more results from immoscout
- fixing #525
Full Changelog: 31.0.0...31.1.0