Open API management on Gate
Sign in to Gate, hover over the profile icon at the top of the page and choose APIs. Account verification, a fund password and 2FA must already be set up.
Start creating an API key
Click Create API Key on the API management page.
Choose an APIv4 key, not APIv2
Select API v4 Key. TradeAdapter calls Gate's v4 endpoints, so an APIv2 key will not work — and APIv2 is limited to spot trading in any case. Add a remark you will recognise later, and pick the account type that matches your strategy.
Set permissions and bind the TradeAdapter IP
Set the permissions to Read and Write for the markets you intend to trade, then bind the key to the TradeAdapter address. A key with no IP bound expires after 90 days.
35.75.198.16
Complete the security verification
Read the risk reminder, accept it, then enter your fund password and 2FA code to finish creating the key.
Save the API key and secret
Copy the key and secret before leaving the page — the secret is shown only at creation time.
Continue to TradingView webhook setup
Paste the key and secret into your TradeAdapter Gate connection, then continue to page 2 to connect TradingView alerts for real-time trade execution.