If the current price of gold is 2,000 US dollars/ounce, the leverage is 500 times, and the transaction is 0.1 lots, then the margin required for gold = 2000*100/500*0.1=40USD.

If the current price of silver is 23 US dollars/ounce, the leverage is 500 times, and the transaction is 0.1 lots. , then the required margin for gold = 23*5000/500*0.1=23USD