Model for stock trading example