OnAccountUpdate
OnUserUpdate¶
Handler for the event of account update.
C++¶
virtual void OnAccountUpdate(
const AccountRecord& account // Pointer to the updated account record
);
Parameters¶
user - [in] Pointer to the object of the updated account (AccountRecord).
Info
The API calls this method to notify about an update to a trading account. The update event occurs not only when account parameters are changed, but also when any trading operation is performed, as each operation changes the account state.