Profits and losses (P/Ls) can be found in different ways on the simulation environment. On open positions you can both stream P/L values or query static snapshots with GET requests. Below you can find resources on doing so.
Restrictions on market data
On the simulation environment you can by default only trade Forex pairs. But if you have your simulation account connected to a live account then that simulation account can now trade the instruments of the live account. There is a restriction though: P/L values are considered market data because they are derived from the current price of an instruments. Therefor if your live account has access to stocks and you whish to see P/L values for stocks on your simulation account, then you need to enable market data for that simulation account to remove any restrictions. For this purpose you can find a guide below.
Unavailability of historical P/L values
On the simulation environment it is not possible to get reports on historical P/L values because the sim environment does not support this functionality.
More Resources