The forex market is an over-the-counter or decentralized foreign exchange marketplace for the foreign trading of…