Import Trades from Phemex

Hi,

I’m trying to import my margin trades with leverage from Phemex. Unfortunately there is no support for this exchange. The trades are pretty similar to the trades using Bybit. So I have a realised PNL including exchange and funding fees. The margin and profits realised are caluclated in BTC. In the example files of the custom templates there is no such margin trade listed. Unfortunately there is no other way to import these trades.

Can you help me with importing Phemex trades? Any example of how the file for such a trade should look like?

Thanks!

Hi, please click on the Request Assistance button after importing your csv file so we can look into this.

If you want to create a custom file then you should use the simple file format and enter the bitcoin amounts in the Amount field (with a minus sign for losses) and set Label to “Realized gain”

Phemex has an API available, Koinly could you integrate connection to the Phemex API please?