top of page
49728387602_4750b429c0_o_edited.jpg
Codes

Below are some codes related to recent projects I've worked on. These projects include teaching materials, research work, and data visualizations, along with brief descriptions. If you want to use them, please visit the GitHub page. If you need further help, feel free to reach out to me. I can guide you through setting up most of the programs listed here.

Bitcoin Mining Game

  • GitHub
  • YouTube

I develop this game along with Dulmini Guruge for a third-year Money, Banking, and Financial Markets course. In this game, students assemble and mine for valid blocks. The first person to find a block is the winner. To safeguard against invalid transactions, other players validate the block using the validation option. 

​

If you'd like to use this program, visit our GitHub repository for downloading and installation instructions. We set it up on the Google cloud platform to ensure enough computing power is available to all players. You can watch the demo by clicking on the YouTube icon. If you need help with setting up the game, please feel free to contact me. 

bitcoingame.png

EM Algorithm

  • GitHub
  • pdf

This algorithm estimates the structural relationship between Tether and Bitcoin. I estimate a Structural Vector Error Correction Model with Switching Variance to identify the instantaneous relationship matrix. With simple modifications, you can also use this for SVAR estimation. Visit the GitHub repository to download the code. The research paper related to this code is available here.

Screen Shot 2024-08-01 at 1.11.42 PM.png
bottom of page