Problem Statement: Financial Calculator

  • Imagine a complex stock trading engine that uses the data in your profile to make a trade
  • You might want to split this into 2 (or more) parts
    • The part that fetches your currently held stocks (ProfileFetcher)
    • The part that calculates what trades you should make (TradeCalculator)
  • How do these files connect?

19 / 31