The notification 'This order was placed to protect you from negative balance' means that due to extreme market movement, you were able to purchase shares worth more than the free funds you had available at the time. As a result, the system is attempting to protect you from going into a negative balance.
To reduce such occurrences, there is a rule that you cannot place an order worth more than 95% of your free funds.