To open a deal successfully, it is necessary to have sufficient funds. To open an order, you should calculate the required margin.
Required Margin
For most of the instruments, the margin calculated depends on the leverage set; the rest has fixed margin requirements.
Margin = (Number of lots x Contract size) / Leverage