Skip to content

OnAccountAdd

OnAccountAdd

Handler for the event of adding a new account.


C++

virtual void OnAccountAdd(
    const AccountRecord& account    // Pointer to the added account record
);

Parameters

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

Info

This method is called by the API to notify that a new trading account has been added.