How do you calculate swaps in currency pairs (in forex) and for gold/silver?

hi guys....How do you calculate swaps in currency pairs (in forex) and for gold/silver?


Kindly help to answer the a I've question.
You don't calculate them — you can get them from the broker via code. Why do you care?
Justin Iheakanwa:

hi guys....How do you calculate swaps in currency pairs (in forex) and for gold/silver?


Kindly help to answer the a I've question.

Download the attached files for SWAP & MARGIN calculations

nail sertoglu:

Download the attached files for SWAP & MARGIN calculations

Thanks