Trading Fees

Collected at openPosition if FEE_FACTOR > 0. The fee is applied to the swapping margin + the borrowed amount. The corresponding LP and treasury split the fees based on _treasuryRate.

Last updated