Cube - Hummingbot
URL: https://hummingbot.org/exchanges/cube/
Contents:
- Cube
- 🛠 Connector Info¶
- ℹ️ Exchange Info¶
- 🔑 How to Connect¶
- Generate API Keys¶
- Add Keys to Hummingbot¶
- 🔀 Spot Connector¶
- Order Types¶
- 🔮 Rate Orcale¶
Go to Cube Exchange and log in or create a new account.
Open the API Key page by clicking over the profile icon on the top right corner and go to the Setting/API page at https://www.cube.exchange/settings/api.
Click on the Add another API button
Choose your account, select WRITE permission and click Create API Key
Copy your API keys and store them somewhere safe.
Go to Subaccounts page and copy your Subaccount ID number. You will need this to connect to Hummingbot.
Now, you have created API keys for your Cube Exchange!
From inside the Hummingbot client, run connect cube:
If connection is successful:
Integration to spot markets API endpoints
This connector supports the following OrderType constants:
The connector comes with its own rate oracle implementation. You can use it by using the folllowing command:
Make sure to set global token name to USDC as USDC is the main quote token for trading on Cube Exchange
Examples:
Example 1 (unknown):
>>> connect cube
Enter your Cube Exchange API key >>>
Enter your Cube Exchange secret key >>>
Enter your Cube Exchange Subaccount ID >>>
Enter your Cube environment (live or staging) >>>Example 2 (unknown):
You are now connected to cubeExample 3 (unknown):
config rate_oracle_source cubeExample 4 (unknown):
config global_token.global_token_name USDC