A post Keynesian framework of exchange rate determination