Open mcmcford opened 3 months ago
Supporting diagrams to help the previously poor explination
current behavior matches top diagram. It should be updated to loop and find additional matches if applicable. E.g buying 1mill sand when 3 sell orders for 300k 400k and 300k sand should prompt 3 separate matches. currently it will match the best price of the three, and then add the remaining sand to the buyer list
Potential feature for distance future
When a purchase order is added to the database and a sale order of the same product but a larger quantity is also in the system, ask the seller if they would like to fulfil the purchase with a portion of their sale stock.
This feature has a few considerations such as whether or not the sale slash command should include a Boolean option for if the seller is open to partial purchases alongside the process of send a DM to sellers and utilise discord buttons to accept or decline a partial purchase.
Exact implementation will be an interesting challange