When connecting Phemex via API Koinly doesn't import the PNL from the sub-accounts. Also transfers from Main account to Sub account are both imported as withdrawals. It should be a withdrawal in the Main account and a deposit in Sub account.
Workaround
I need to import my Phemex Futures trades done on subaccounts using CSV files