4.7FXB.MessageTypes.ACCOUNT_METRICS and OnAccountMetrics

You can listen for changes in the metrics in Framework.Account - change in floating P/L, margin usage etc - in two ways:

By using the main OnMessage handler to listen for the ACCOUNT_METRICS message

By defining an OnAccountMetrics handler