Requirements Provide working source code that will :- For a given stock, calculate the dividend yield calculate the P/E Ratio record a trade, with timestamp, quantity of shares, buy or sell indicator and price Calculate Stock Price based on trades recorded in past 15 minutes Calculate the GBCE All Share Index using the geometric mean of prices for all stocks Constraints & Notes Written in one of these languages: Java, C#, C++, Python No database or GUI is required, all data need only be held in memory
to open within intellij: open the build.sbt file and the project will set itself up. Scala and sbt(bundled with IntelliJ now) plugins will be required Java 1.8 is required refresh sbt to download required libraries
To execute the jar: navigate to the bin directory and execute: java -jar TechWork-1.0.0.jar