Skip to content

lzefyrus/sssm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Super Simple Stock Market

Approach

  1. Simple solution
  2. Focus on performance, using optimized libraries and avoiding unnecessary loops
  3. Code consistency between assets
  4. Simple but beautiful command line interface
  5. Tests

Provide working source code that will

  1. For a given stock,
    1. Given any price as input, calculate the dividend yield
    2. Given any price as input, calculate the P/E Ratio
    3. Record a trade, with timestamp, quantity of shares, buy or sell indicator and traded price
    4. Calculate Volume Weighted Stock Price based on trades in past 15 minutes
  2. Calculate the GBCE All Share Index using the geometric mean of prices for all stocks

Features

Command line interface with simple usage

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Super Simple Stock Market

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published