I’m in the beginning stages of creating a small trading app, where users will have a type of product in their inventory and also have a product they desire to have. I was curious if anyone could help me model this out. To make it simpler, there is only going to be one main product, with the possibility of many different types.
How can I match users that have something that other users want, so that they don’t have to go searching for the perfect trade but users are programmatically matched.
I imagine potential models will be:
I hope this makes sense. My primary question is the issue of matching users based on matching attributes of held_product and desired_product.
Thanks so much!