As I understand this trade, it is a Bull Put Spread. The max loss on this trade will occur if the QQQ closes below 45 at expiration and max gain if they close at or above 55. However, the max loss for this trade (difference in strikes minus net credit)or 10 minus 10 = 0. Thus, this trade provides a credit with almost zero risk and additional gains if the QQQ expires above 45.
Edit: forgot to mention that max profit is limited to the credit received