Optimization in multi-currency transaction system

PeerFX Inc. provides a peer to peer currency exchange platform that brings the small business client and individuals together and allows them to exchange currencies with each other. Rather than being charged a high spread in a bank, the users save significantly in this transaction system. However, the demand and supply of currencies normally cannot be balanced merely by the clients. PeerFX should exchange the extra supply of currencies for other deficient currencies with a third party, currency exchanges.