This challenge is the first that has thrown me, and it’s just the organization more than anything. Should the individual stocks have an instance variable pointing to a portfolio instance? Or, should portfolio instances simply identify stock instances and bring them into the portfolio instance? I just can’t get my head wrapped around it.
I really have enjoyed the book, guys. Thanks,