Hello @Alien,
Swap is a compound value - it is calculated as a percentage of the price of the underlying instrument, which is dependant on variables such as the interbank interest rates (as you mentioned) as well as other conditions, concerning the market in question. You can see the cost of holding a position overnight in the instrument details.