Delio Golang Technical Test

The task 📈

Delio engineering have been tasked with checking the current price of APPL and MSFT shares and comparing them to the previous day's closing price.

Requirements 🗃️

Your job is to create a CLI based application that uses the Finnhub API (https://finnhub.io/docs/api/quote) to compare the current price of 10 APPL and 10 MSFT shares with their previous day's closing price.

To complete this task, you'll need to:

  • Create a a CLI application with Golang
  • Retrieve share value of MSFT and APPL shares from finnhub
  • Run profit & loss calculation on both MSFT & APPL shares
  • Return values to command line
  • Add tests

Bonus points 🥇

  • Utilise the concurrency of Go for API calls & profit and loss calculations
  • Add a benchmark to the service

How to submit 🔗

  • Share a link to a public or private repository on GitHub.