Note: VEMA support will never ask for your API keys. These give access to your account and should never be shared outside of the VEMA Trader API key screen.
Step 1 - Login to Bybit
Login to your Bybit account. If you do not have a login, click here to create a Bybit account.
Step 2 - Create a Sub-account (Skip this step if you already have a VEMA dedicated Bybit sub-account)
A) Click on your account icon in the upper right of the screen and click 'Subaccount' from the dropdown menu.
B) Click Create Sub Account on the right side of the page to create your sub-account.
C) Select a Standard Subaccount
D) Select Unified Trading Account, and name your subaccount.
VEMA will only work with unified trading subaccounts, Standard accounts lack the API permissions necessary for VEMA Trading.
Step 3 - Fund your sub-account
Ensure that the Unified Trading Account of your sub-account has collateral.
Bybit subaccounts contain "Funding", "Unified Trading", and "Inverse Derivatives" accounts, API keys are connect to the trading account.
To fund your trading account, on the subaccount page click "Transfer Asset" on the relevant sub-account
Then make sure to set the "From" field to your account that has funds, and the "To" field to "Unified Trading"
Then transfer your desired funds.
D) Review your sub-account details are correct by going back to the Sub account tab on the profile dropdown to review the account details. Here you can view the status and manage your sub-account.
Step 3 - Logging into your sub-account & ensuring the correct account mode and position mode.
Log in to your subaccount:
In the top-right mouse over the profile icon and choose Subaccount, then click "Account Switch" on the subaccount you've just created.
The next step is changing account mode and position mode.
Bybit seems to default to One-Way mode on new subaccounts, so unless you've switched your subaccount to hedge mode you can potentially skip this step, but it's worth checking to your position mode as Hedge Mode can cause a number of issues.
Head to the Derivatives Tab, then select USDT Perpetual, and click any pair such as BTCUSDT.
Once here, click the settings button on the far right of your screen.
Once here, check your position Mode is One-Way Mode Not Hedge mode.
If in Hedge mode, or to be extra-safe and ensure one-way mode across all pairs, click on position mode then select One-Way Mode and tick the "apply to all USDT pairs" box, then confirm.
Note: This will only apply to pairs with no open orders or positions so if any exist (ideally they won't if you've started a brand new VEMA subaccount) make sure to close them before doing this step.
Step 5 - Create your API Key
In the account menu navigate to "API".
Click "Create New Key".
Then select "System-generated API Keys"
Select "Connect to Third-Party Applications" then search and select VemaTrader in the application name dropdown.
Once done, ensure you have the following settings enabled:
- Read-Write Permissions
- No IP-Restriction
The key will need permission for
You can select these individually or just tick Unified Trading Account. Some of the other permissions available may be relevant for future improvements in VEMA.
Once done, click ‘Submit’ and the following popup will appear.
Copy this information for your integration with VEMA Trader.
Do NOT share this information with anyone.
Step 12 - Add to VEMA
Now return to https://app.vematrader.com/login and log into your VEMA Trader account.
Head to your profile settings and click "My account"
Then select Trading Accounts
Select Bybit on the exchange field of the "Crypto Exchanges" section.
Now give your subaccount the name you want to see in VEMA, then copy and paste the API key and API Secret from Bybit into VEMA's “API key”, and “API Secret” fields, then click "+Add Key"
Your API key will now appear on screen. You’re now able to trade on Bybit through VEMATrader.