Does anyone know why the margin I set in the order when I am at a loss is being eaten up? Is that lost or refunded?

Helppppp