After you successfully enabled the two-factor authentication in the StocksTrader application, the code will be generated there.
To find the code, open the application and tap More on the bottom menu and tap Generate one-time password in the Profile section. Open the Generate one-time password to see the code.
Useful link:
How to enable 2FA via StocksTrader mobile application and where to find the code when it’s enabled