Market-maker, inventory control and foreign exchange dynamics