Margin and fee tracking

Is anyone having issues with margin trades or fee tracking in general? An exchange all margin is not just counting the gains and losses but actually including the actual trade info of crypto in and out. It’s not tracking the fees or gains or losses just the amount of crypto on the trade.