Gemini¶
Obtaining the API ¶
To get the API keys for your Gemini account, you need to login, click on your account profile in the top right, and then click on Settings

Click on API in the left navigation and then click Create API Key

Pick the primary account

Make sure Fund Management and Trading is enabled. Save the API Key and API Secret. Confirm your settings and add the account to the HaasOnline TradeServer under the Exchange Accounts page.



Adding the API to HaasOnline TradeServer¶
Log in to the HaasOnline TradeServer.
Click on the user menu icon in the top right and select Exchange Accounts

Click the + button at the bottom of the accounts list (on an empty page it reads Add account).

Select Exchange account.

In Connect an exchange account, click Gemini (or type it in the search box). It has one market, so the setup form opens next.


Enter an Account name.
From the Gemini API Management page, copy the API Key. Navigate back to the HaasOnline TradeServer window and, in the Public Key field, type "account-1" (without the quotes) and then paste the API Key. Ensure there are no spaces between "account-" and the pasted API Key.
Copy the API Secret and paste it into the Private Key field. No special text is required for this field.
Info
Check for spaces at the start and end of each key after you paste it. Stray spaces are a common cause of a failed key test.
Click Test keys. When the test passes, click Save account to add the account to the platform.