What you'll be able to do
- Calculate one leg's funding cash for one hour from size, oracle price and rate, with the right sign.
- Book funding for both legs of a pair hour by hour and add it up.
- Explain why a daily average rate, the mark price or a missing sign makes a backtest look better or worse than it was.