A Foreign exchange market or Forex market is a market in which currencies are bought and sold. It is to…