Skip to content

fix(backend): remove item prices that are way too expensive/inexpensive #398

@hexiro

Description

@hexiro

I remember someone mentioning this on the steam group, but I couldn't find it so I'm opening an issue here.
This came to mind because the AK-47 | Redline FT is 18 cents right now.

example:
image
image

I believe some kind of calculation can be done to see if an item was just mispriced on the market, just like the functions that check if gloves or knives are mispriced. This might be hard to do if items change price a lot, but maybe exclude the price if it > or < 50% of it's value?

so if an item is 500$ and it gets listed for 0-250$ or 750+ the price will be excluded?

I'm not sure exactly. You're way more experienced of a trader so maybe you can come up with better numbers. I'm not sure what you said to the first person who suggested this, but let me know what you think!

code from here:

def is_mispriced_knife(item_name, price):
    return any(knife in item_name for knife in knives) and price < 50


def is_mispriced_glove(item_name, price):
    return any(glove in item_name for glove in gloves) and price < 60

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions