Looks like your trade started going through at 1 min before close. That guy who dumped was ahead you and when it came time to close they jumped ya.