I funded a Deribit account with BTC and ETH. I used those as collateral to trade coin-settled and USDC-settled perpetuals. The ETH and USDC profits and losses are being shown as having no purchase price, causing a problem for my accounts. (For some reason, the BTC seems ok.) But all of the information should (in theory) be available to your system to make the correct calculation.