🔐 API Keys Management

ByBit API Keys need to be created using the following sequence of steps
Login to the ByBit website on your Computer on the website as there is no option to
create API Keys on the ByBit App. You must use the ByBit website.
Please Note : You will need to set up a Sub Account to use ByBit on Auto Prophets.
The steps are easy, just follow the instructions below.
Important
You must create a New Sub Account on ByBit. Do not use an existing account. This ensures the Sub Account settings will work with the latest ByBit upgrades. Old Sub Account may need you to go through upgrades. Please work through each step below and ensure your screen looks the same as the screenshots provided.
Step 1. Once logged in, then put your mouse over the User Icon in the top right area and then click on Subaccount.
Step 2. and then in the top right corner click on "Create Subaccount".
Step 3. Click on and choose Standard Sub Account.
Step 4. Enter a Name for the Sub Account and click on Confirm. The name can be anything but cannot have spaces or special characters, only alphabet and numbers.
Step 5. Click on "Send Verification Code". Check your email to find the Email Code and enter this. Then finally get the current 2FA code for your ByBit account and enter this and click on Next Step.
Step 6. Once you've created your Sub Account, you'll see a "Created Successfully" message. Click on "Switch" to log into the Sub Account.
To create the API Key, make sure you are logged into the Sub Account by clicking "Switch."
Step 7. In the top right corner of the screen, put your mouse over the "User Icon" and then when you see the Menu options, click on "API".
Step 8. This is the API Key Management page. Click on "Create New Key".
Step 9. You will then be required to setup Google 2FA Authentication for the Sub Account to continue. Click on Setup to continue
Step 10. You will now see the Sub Account page where the Advanced Protection settings for Google Two Factor Authentication appear on the screen with a "Settings" button that you can now click on to continue.
Step 11. You will now need to enter the email verification code that would be automatically sent and in your Inbox. Check your email account for an email subject line about "Security Code" sent to you and then enter the 6 digit number provided to continue.
Step 12. On the screen now, you will see the details to setup the 2FA for the new "Sub Account". You must setup a "new 2FA" that is just for the "Sub Account". This is "separate to the Main Account" 2FA. You are required to have a 2FA on your Sub Account in order to create an API Key, so proceed to add this additional 2FA to your 2FA Authenticator. Use the QR Code or the Copy Key, to setup the 2FA in your 2FA Authenticator. Once completed, then click on Confirm.
🚨 STOP! READ THIS BEFORE PROCEEDING 🚨
At this screen here, you are NOT using your existing "main account 2FA", as you are required to set up a new additional 2FA!
This step requires setting up a SECOND 2FA:
1. Open your 2FA app (Google Authenticator, Authy, etc.)
2. Add a NEW entry by scanning the QR code below
3. You will now have TWO 2FA entries (Main Account + Sub Account)
4. Use the NEW 2FA code from the Sub Account entry
⚠️ 95% of people get stuck here because they use their "main account 2FA code"! ⚠️
MUST DO: Set up the SECOND 2FA using the screen below, then continue!
🚨 STOP! READ THIS BEFORE PROCEEDING 🚨
At this screen here, you are NOT using your existing "main account 2FA", as you are required to set up a new additional 2FA!
This step requires setting up a SECOND 2FA:
1. Open your 2FA app (Google Authenticator, Authy, etc.)
2. Add a NEW entry by scanning the QR code below
3. You will now have TWO 2FA entries (Main Account + Sub Account)
4. Use the NEW 2FA code from the Sub Account entry
⚠️ 95% of people get stuck here because they use their "main account 2FA code"! ⚠️
MUST DO: Set up the SECOND 2FA using the screen below, then continue!
Step 13. In the top right corner of the screen, put your mouse over the "User Icon" and then when you see the Menu options, click on "API".
Step 14. This is the API Key Management page. Click on "Create New Key".
Step 15. Choose the "System-generated" API Keys to continue.
Step 16. Now you will see the area to enter the New API Key settings. See the settings in details listed below which when entered should look like the image below.
Choose "API Transaction"
Enter Name for API Key as "Auto Prophets" or something like this for your records only.
Choose "Read-Write" API Key Permissions.
Choose "Only IPs with permissions granted...." option.
Copy n paste these IPs area.
Once the IPs are pasted into the IPs area it should then accept the IPs and look like the image above.
Step 17. Next, scroll down to where we need to make sure you tick on "Unified Trading" and "Assets". This should automatically tick all options for each one and it should look like the image below. If your screen shows "Withdrawal" then "untick" this. Every other permission is needed except Withdrawal.
Step 18. After ensuring all the details and settings are correct, click on the Submit button to proceed. You will be now required to perform a Security Verification to complete the API Key creation. Enter your ByBit Sub Account 2FA Code that you created in a previous step. Additionally, you may be required to have a Verification Code sent to your email and will need to copy this as well.
Step 19. You should see a screen like the image below and be able to Copy and Paste the API Key and API Secret into the Auto Prophets website below and complete adding the API Key to the Auto Prophets website by clicking on the "Add New API key" below. Please note: The API Secret is only shown this one time before you click on "Understood". So you must copy this now and paste below in the Auto Prophets website and then come back to Step 13 after.
Step 20. Once you have completed the above, you will need to check that you have your Balance you want to use for Trading in your "Unified" Trading Account. If you transfer into the "Funding" account, then your Auto Prophets will not see this to be able to trade with. Ensure you only transfer USDT or USDC into "Unified Trading". Please note, when you first make a deposit to ByBit, you might find the deposit amount will be in your "Funding Account" and need to be "Transferred" into your "Unified Trading Account". Good luck, you are now ready! Click on "Angels" in the navigation at the top of the screen and then click on "Start New Angel" and you will be Flying in no time!

Binance API Keys need to be created using the following sequence of steps
Step 1. Enable 2 Factor Authentication. Go to the Security page in your Binance Account and ensure you have set up 2FA.
Step 2. Now find in the User Center -> "API Management" and then click on it.
Step 3. Now click on "Create API". You will then be asked a choice and need to choose "System Generated" to continue.
Step 4. Now give the API a Nickname (can be anything like Auto Prophets) and once you have added the Key, you will see in the top right area a button that says 'Edit Restrictions' that you will need to click on. Once you have clicked on this button, you will be able to enter the details below.
Step 5. Click on the option that says "Restrict Access to trusted IPs"
Step 6. Make sure you tick on "Enable Reading" and "Enable Spot & Margin Trading"
(ticked)
Make sure Withdraw is Disabled
(unticked)

🛡️ Critical Security Notice
Always ensure you have setup a Sub Account to use for your Trading on Auto Prophets. BitMEX API Keys should only be created on Sub Accounts and with Order permissions only. Ensure you use the exact IP addresses provided below for maximum security.
⚠️ Important Limitation
Backup Plan Not Available: BitMEX does not have a "Funding" account within the sub-account structure like ByBit does. Therefore, the Backup Plan feature is not available for BitMEX customers. All other Pegasus features are fully supported.

BitMEX API Keys - Complete Step by Step Instructions
Follow these steps carefully to create a secure API Key for BitMEX
Step 1. Create Sub Account - Begin by creating a dedicated sub account for Auto Prophets trading. Log into your BitMEX account at www.bitmex.com. In the top right corner, click on your account menu (circular icon), then from the dropdown menu, click on "Subaccounts".

Step 2. Configure Sub Account Settings - Click "Create Subaccount" and enter a descriptive name (e.g., "Pegasus Angel"). Using a dedicated sub account for Auto Prophets ensures better security isolation and easier account management.

Step 3. Sub Account Settings - Now your newly created sub account will appear in the Sub Account Menu. Leave the Leverage Booster unticked (disabled), but tick (enable) Multi Asset Margin which allows your Pegasus Angel to operate and take full advantage of the exchange.

Step 4. Access API Key Management - Navigate to the API Key management section. From the dropdown menu, click on "API Keys". This will take you to the API Key management section where you can create and manage your API Keys.

Step 5. Configure and Create API Key - You will see the API Key creation form. Fill in the details exactly as specified below:
Key Permissions: Order
Withdraw: Disabled ✗ (must remain unticked)
CIDR (Trusted IP Addresses): Use the provided IP list below
Loading IP addresses...

Step 6. Save Your API Credentials - Once your API Key is successfully created, you will see a confirmation screen. CRITICAL: Copy both the API Key ID and Secret immediately, as the Secret will only be shown once! If you lose the Secret, you'll need to create a new API Key.

Step 7. Add to Auto Prophets - Now return to this page and enter your API details below:
• 📝 Nickname: Enter a name for your API Key (e.g., "My BitMEX Account")
• 🔑 API Key: Paste the API Key ID you copied from BitMEX
• 🔒 API Secret: Paste the API Secret you copied from BitMEX
Then click "Add New API Key" to complete the setup. The system will verify your API Key and confirm successful addition.
Step 8. Verify Setup - Confirm your BitMEX API Key is working correctly by checking that your API Key appears in your Auto Prophets dashboard and you can see your BitMEX account balances.
BitMEX Specific Features & Limitations
Available Markets: XBTUSD (Bitcoin)
Supported Features: ✓ Dollar Cost Averaging, ✓ Target Leverage, ✓ Stop Loss, ✓ Trailing Take Profit
Not Available: ✗ Backup Plan (requires manual balance management)
Since BitMEX doesn't support the Backup Plan feature, use conservative leverage and monitor your Angels regularly.
🔑 Add New API Key
Enter your exchange API credentials below

ByBit Exchange
Add your ByBit API Key

BitMEX Exchange
Add your BitMEX API Key
This process can take up to 60 seconds to complete.
60 seconds

Edit API Key
The 6 Digit Code you entered did not match.
Please try again!