Automated Triangular Arbitrage: : A Trading Algorithm for Foreign Exchange on a Cryptocurrency Market

University essay from KTH/Skolan för elektroteknik och datavetenskap (EECS); KTH/Skolan för elektroteknik och datavetenskap (EECS)

Abstract: This project uses software development to investigate the link between software and finance. The focus of the work is developing and implementing a trading algorithm which seeks to make profit by making trades based on arbitrage opportunities between currencies. Specifically, the sets of currencies examined are two fiat currencies and one cryptocurrency. Trades are made by combining a blockchain system, which maintains the cryptocurrency, and the live foreign exchange market, which enables fiat currency exchange. The main methodologies for carrying out the research are test-driven development and the use of a simulation to facilitate trades. By passing all of the unit tests, the software is verified. In addition, data gathered during runs of the simulation show that the algorithm successfully identifies arbitrage opportunities and turns a profit on average over many runs. This project proposes an interesting topic for further research in the field of blockchain technology used for financial trading.

  AT THIS PAGE YOU CAN DOWNLOAD THE WHOLE ESSAY. (follow the link to the next page)