Does the Funding Rate Affect the Profit and Loss (PNL) of a Position before It Is Closed?
Yes, the funding rate directly affects the realized PNL of a position. When the funding is paid or received, the amount is immediately realized and added to or subtracted from the account's margin balance.
This is a realized PNL component, separate from the unrealized PNL which is based on the Mark Price movement.