Inventory Management for High-Frequency Trading with Imperfect Competition