deliowales / go-technical-test

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About


Languages

Language:Go 100.0%