This looks ok to me - Required margin was not available, so it returned 0 and got the margin cost from the asset list. Make sure to enter there either the correct margin cost, or the correct leverage.