Your cash flow on this trade, including IB commissions (.005 per share with $1 ticket minimum) is:
Bought 1000 = -23,490 - 5 = -23,495
Bought 1000 = -23,390 - 5 = - 23,395
Bought 1000 = -23,250 - 5 = - 23,255
Sold 50 = +1178 - 1 = 1,177
Sold 2950 = +69,030 - 14.75 = 69,015.25
NET P/L =...