Add clear rules for funding

We know that every day at 00:00, 08:00, 16:00 UTC the funding occurs.
I found that there is no clear rules of funding accrual.

I will give some examples. funding rate = 0,2 in all cases

  1. You open buy position at 00:00:01 and you will pay funding rate 0.002% from your position.
  2. You have sell position and close it at 00:00:01. But not always you will get a funding rate 0.002%.
    Depends on some kind of magic, I don’t know.

So I want to propose a rule, if a position was opened before the funding time 00:00:00.000 accurate to ms, position should charge funding rate.
But if the position was opened after - no charge funding rate.