Skip to content

Instantly share code, notes, and snippets.

@mberneis
Last active November 30, 2017 01:24
Show Gist options
  • Save mberneis/c638ad096889d34fab8c5c0991c886a8 to your computer and use it in GitHub Desktop.
Save mberneis/c638ad096889d34fab8c5c0991c886a8 to your computer and use it in GitHub Desktop.

Task

Create an app based on PHP and Symfony with the functionality below:

  • Ability to create portfolio of stocks by entering stock transactions: [SYMBOL | AMOUNT | DATE | BUY/SELL]
  • Add simple CRUD functionality for transaction table.
  • Use Yahoo Finance or Alpha Vantage to get the data for stocks - Use adjusted closing price of transaction date for calculations.
  • Display current Portfolio [SYMBOL | AMOUNT | VALUE | Profit/Loss] (PL based on yesterdays adjusted closing price)
  • Display summary for total value and total Profit/Loss

Requirements

  • The app should be published at github & should pass all Symfony coding's standards.
  • README file should have the description how to install the app + timesheet: how much time was spent per each stage of the development.
  • Use everywhere PHP annotations instead of Yaml/XML (except DI component).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment