Skip to content

OnAccountDelete

OnAccountDelete

A handler of an event of account deletion.


C++

virtual void OnAccountDelete(
    const AccountRecord& account    // Pointer to the deleted account record
);

Parameters

account - [in] Pointer to the object of the account AccountRecord.

Info

This handler is called by the API to notify of deletion of a trading account.