Skip to content

deliowales/php-technical-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 

Repository files navigation

Delio PHP Technical Test

The task πŸ“ˆ

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

Requirements πŸ—ƒοΈ

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

To complete this task, you'll need to:

  • Create an API web application with PHP 8.1
  • Retrieve share value of MSFT and AAPL shares from finnhub
  • Store share values in a database
  • Read the values from the database and run profit & loss calculation on both MSFT & AAPL shares
  • Return profit & loss values via a rest endpoint
  • Add tests

Bonus points πŸ₯‡

  • Use of Laravel
  • Mock testing of third-party API calls
  • Use of modern PHP typings
  • Utilize the IoC container

How to submit πŸ”—

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published