Bitunix CSV: Futures liquidations are imported without PNL (only fee and funding fee)
planned
Jack
When I import my positions-history CSV from Bitunix, some of my trades are missing the PNL.
I noticed that the ones without it are the liquidated ones that have the
position pnl
column in the file set as zero.Workaround
I have to modify the file before importing it to Koinly:
- Rename column position pnltoposition pnl old
- Add new column position pnl
- Calculate this column as: realized pnl-funding fees+position fee
This post was marked as
planned