The amount of the swap is influenced by several factors, including the specific currency pair, whether the position is long or short, the interest rate differential between the two currencies, and the size of the position.
These elements together determine the interest charged or earned when keeping a position open overnight.