Margin = contract size * current price / leverage * number of lots.
This formula determines the margin needed to initiate an order. It considers factors such as the contract size (the position's size), the current price of the product, the leverage provided by the broker, and the number of lots traded.