**For margin:** we follow the margin profit and loss calculations that the exchanges apply, so we actually calculate it as an inverse perpetual swap. The one thing we don't take into account yet is the funding fees over time.

**For spot:** it's just the plain regular spot calculation.

## Comments

0 comments

Article is closed for comments.