An options trader believes that Akamai Technologies Inc. (AKAM) stock trading at $40 is going to rally soon and enters a bull call spread by buying a JUL 40 call for $300 and writing a JUL 45 call for $100. Assume that the stock price of Akamai closed at $38 on expiration date.
Discuss the gain or loss regarding the options trader.