How to Handle Long Shorts with the Koinly Custom Template

Describe the problem:
I am longing and shorting USDT and I cannot upload my custom CSV

Which exchange/wallet is this regarding?
BingX

How did you import data into this wallet?
Using your Custom CSV: Koinly Custom CSV - Advanced - Google Tabellen

What have you tried to fix this so far?
I checked the formatting. Formatting is good. I think the issue is Koinly doesn’t like using USDT to receive USDT. But that’s exactly what’s happening with Longing and Shorting with Margin Trading.

Happy to put another way but need help asap!

Hey @Bill

These transactions must be imported to Koinly as realized pnl.

For profits, add a deposit with the label “realized gain”… for losses add a withdrawal with the same label.

If you need more help, get in touch via chat!