Stocks plugin: fix inventory check, add trade assignments, better hotkets.