I Connected AI Directly to a Trading Platform
43sThe hook immediately grabs attention with a bold claim of connecting AI to live trading, promising a unique and futuristic experiment.
▶ Play Clip"Delivers a real, working demo of AI trading, but the 'incredible result' is just a small loss — still, the tutorial value is solid."
This video demonstrates how to connect an AI agent (Claude) to the Bybit trading platform via a dedicated AI sub-account, enabling the AI to execute trades, analyze data, and manage risk automatically. The presenter walks through creating the sub-account, linking it via API, and testing the setup with a live trade, while emphasizing the safety features that protect the main account.
The video explains how to connect the AI assistant Claude to the Bybit trading platform directly via API, allowing it to access cryptocurrency data, execute trades, set profit targets and stop-losses, and analyze market data.
A separate AI sub-account is created to limit the AI's capabilities: withdrawals are disabled, a maximum trade amount can be set, and leverage can be specified. This protects the main account from potential errors.
Bybit recently introduced the AI sub-account feature. Unlike regular sub-accounts, AI sub-accounts are linked exclusively via API, have a $5,000 limit, and withdrawals are completely disabled.
To create the link, you need a Bybit account and a Claude account. Bybit offers a $20 bonus for new accounts that deposit at least $101 and reach a trading volume of $3,000.
On Bybit, navigate to the AI Agents sub-account section, click 'Switch' or 'Create Account', name it (e.g., 'Test One'), and complete verification.
Copy the API key from Bybit, paste it into a new Claude session, and follow the confirmation steps. Then copy the API key from Claude back to Bybit to complete the connection.
Transfer $50 from the main account to the AI sub-account. Ask Claude to analyze Bitcoin and execute a trade. Claude suggests going long with a stop-loss at $60,200, risking about 5.7% ($8.50).
Since you can't switch accounts, Claude creates an internal website to monitor the trade live, showing current P&L, distance to targets, and stop-loss.
Ask Claude to close the trade and provide a summary. It reports entry at 63647, exit at 63600, a small loss, and the order ID.
Claude can analyze all currencies on Bybit and recommend the best ones. It suggests XRP with 5x leverage, entry price, stop-loss, and targets.
You can manage the sub-account's settings and permissions, and transfer funds between the main account and the AI sub-account easily.
The integration between Claude and Bybit's AI sub-account enables powerful automated trading with safety controls. The presenter encourages viewers to share their ideas for using this integration and offers to answer questions in the comments.
What is the main difference between a regular sub-account and an AI sub-account on Bybit?
A regular sub-account can be accessed and managed normally, while an AI sub-account is linked exclusively via API, has a $5,000 limit, and withdrawals are completely disabled.
01:34
What are the safety features of an AI sub-account?
Withdrawals are disabled, you can set a limit on the amount of money the AI can trade with, and you can specify the leverage it can use.
00:45
What is the bonus offered by Bybit for new accounts?
If you create a new account and deposit at least $101, and your trading volume reaches $3,000, you receive a $20 withdrawable bonus.
02:16
What is the maximum limit for an AI sub-account?
The limit is $5,000.
01:49
How do you link Claude to Bybit?
Copy the API key from Bybit, paste it into a Claude session, then copy the API key from Claude and paste it back into Bybit to complete the connection.
03:18
In the example, what trade did Claude suggest for Bitcoin?
Go long on Bitcoin with a stop-loss at $60,200, risking about 5.7% ($8.50), with first target at $14 and second target at $25.
05:30
How can you monitor a trade executed by Claude?
Claude can create an internal website that shows live updates on the trade, including current P&L, distance to targets, and stop-loss.
06:20
What is the purpose of the AI sub-account?
It is dedicated to AI proxies only, allowing AI to trade with restrictions while protecting the main account.
02:02
Safety-first design
The AI sub-account's restrictions (no withdrawals, trade limits, leverage control) are crucial for safe AI trading.
00:45New Bybit feature
Bybit's AI sub-account is a recent feature, making this integration cutting-edge.
01:20API linking process
The step-by-step API linking is the core technical process enabling AI trading.
03:18AI trade analysis
Claude's ability to analyze charts and propose a trade with specific entry, stop-loss, and targets demonstrates practical AI trading.
05:30Custom monitoring website
Claude creating a live monitoring website shows the AI's capability to build tools for trade oversight.
06:20[00:02] topic of today's video. Welcome to a new video! Today we'll talk about how to connect Cloud to the Paybi platform. This connection will be direct via an API. This connection will allow Cloud to access all the data for all cryptocurrencies directly from the trading platform.
[00:20] Cloud will be able to execute trades, determine profit targets, set stop-loss levels, analyze trades, analyze data—anything you can think of that
[00:33] artificial intelligence can do with ease. However, the account we'll be connecting to is not our main account. We'll create a separate account for the AI agents.
[00:45] This account will give the AI agent limitations, preventing them from doing things we don't want them to do. It will prevent them from withdrawing funds, set a limit on the amount of money they can trade with, and allow you to specify the leverage they can use. You define everything—basically, you
[01:02] give them restrictions, and they operate within those limits to protect your main account from any potential errors. In this video, you will learn how to link and create this account easily, God willing. You will benefit, God willing, if you are considering
[01:20] trading through AI proxies. This video is for you. Follow along, and God willing, you will benefit. The Paybi platform announced this feature about five days ago, which is the AI sub-account, or AI sub-account. The main difference between a
[01:34] regular sub-account and an AI sub-account is that with a regular sub-account, you can access it, switch funds, and work with it normally, without
[01:49] you configure these settings. However, with an AI sub-account, linking is done exclusively through the linking is done exclusively through the IPK, and there is a limit of IPK, and there is a limit of $5,000. Withdrawals are
[02:02] completely disabled; you cannot even allow withdrawals in the settings. As we mentioned, it is dedicated to AI proxies only. What is required to create this link? The first thing you need to do is... You have an account on the Byte platform. If you don't have one, today there's
[02:16] a chance that if you create a new account and deposit $100 or more (at least $101) [clears throat], and your trading volume is 3000, you'll receive $20. This amount is withdrawable, meaning your trading volume will cost you about $3, and you'll receive $20. This applies if you do
[02:31] n't have an account. If you do have an account, you've completed the first step. The second thing is that you need a cloud account. After completing these two steps, we go back to the After completing these two steps, we go back to the Byte platform. Here, we go to our username. We
[02:45] scroll down, and as you can see, we have the AI Agents sub-account. We click on "Switch" or "Create Account." As you can
[03:03] see, we offer AI Agents sub-accounts, so we create one and name it. I'll name it " Test One" and add a confirmation. After you complete the verification step, you'll see this. As you can see, the window opens. We need to contact the AI agent. see, the window opens. We need to contact the AI agent.
[03:18] go to the orange rectangle and copy it. This is the brochure we'll will perform the connection without us having to do anything. We go to Cloud, then to the
[03:32] do anything. We go to Cloud, then to the word "code," and create a new session. We specify the folder where we'll perform the connection. I folder where we'll perform the connection. I created a new folder called Byte. I'll
[03:45] created a new folder called Byte. I'll paste this brochure and send it. The confirmation steps will appear. Each time a step appears, I'll click OK.
[03:59] As you can see, this is the red key. We copy it here. Then I go back to the Byte platform. We scroll down to the tab below and paste the tab below and paste the IP key that Cloud gave us. We click "
[04:13] confirm." It will ask me for the verification step, and as you can see, the connection is complete. Now I need to copy this orange rectangle and go back to Cloud. I sent it back to him again so he could complete the linking process.
[04:44] My account now shows zero dollars, and everything is fine. Let's go back to the account. The account is currently empty, so I'll transfer $50 from my main account. I'll confirm it. Let's go back to the cloud, and I'll ask him how much my balance is. As you can see, it shows
[05:01] 50 USD. I asked him to analyze the Bitcoin chart over the past year and identify the best trading opportunity he sees with $50 and the optimal settings, in his opinion. After he tells me his analysis, I told him if I like the trade and whether to enter
[05:17] him if I like the trade and whether to enter it or not. related to Bitcoin, and his best trade, in his opinion, is for us to go long on Bitcoin with a
[05:30] us to go long on Bitcoin with a stop-loss at $60,200, resulting in a loss of stop-loss at $60,200, resulting in a loss of approximately 5.7% means a loss of $8.50. If we win, we'll reach the first target of $14 and the second target of $25. The
[05:44] logic he's using for the stop- loss is that if the price breaks below the historical low of 59.88, the analysis is wrong and we need to exit the trade. So, I'll write "Execute" for him.
[06:07] mentioned, since we can't switch mentioned, since we can't switch accounts and we're monitoring it ourselves, all the work will be done via the IP address. I asked him how I could monitor the trade directly. He said he'd create
[06:20] something for me to follow. I told him to create a website that works internally so I can monitor it I told him to create a website that works internally so I can monitor it directly. So, he created this website, directly. So, he created this website, as you can see. I opened it in my browser, and the trade is open here,
[06:34] as you can see. The trade status is open and updating live: current profits and losses, the distance to the target, and the stop-loss. He
[06:46] also included the Bitcoin chart here. He speaks directly, as you can see. I'm directly, as you can see. I'm monitoring my trade directly from the heart of this website he created for me. And of course, through Cloud, you can also ask him about
[07:00] anything related to this trade or others, or he can open other trades for you. You can do whatever you want; the AI can analyze anything you can think of. You'll be able to do it easily through this connection we've made. Now, I'll ask him to close the trade and give me a summary of the
[07:17] results. Let's see. As you can see, he gave me a summary of the trade here. The entry price was 63647, and we closed at approximately 63600 with a loss of about 9
[07:29] we closed at approximately 63600 with a loss of about 9 cents. He gave me the order ID and everything related to the trade. Here, I asked him to analyze all the currencies available on the Paybi platform and give me the best currency to trade with $50.
[07:49] gave me the top five currencies from his point of view. Of course, it's XRP, the trade he Of course, it's XRP, the trade he chose with the entry price we see. With leverage of 5x, set the stop loss and the targets (first and second targets). Just like we
[08:04] did with the Bitcoin trade, we can do the same here if we want. Before I forget, I'll show you how you can deposit and withdraw funds from this account. Regarding its settings, you can manage them by going here, selecting " Switch" or "Create Account," then clicking "Manage." This will open
[08:22] the account we just created. Here, we go to the settings and permissions section. We can configure everything related to this account and assign the permissions we want. Next, we go to the transfer section. Here,
[08:34] assign the permissions we want. Next, we go to the transfer section. Here, within the transfer settings, we can specify, as you can see, whether the main account (funding or trading) is unified, and transfer from it to the account we created for testing.
[08:49] Alternatively, we can go to the test account. After selecting "Transfer from Test Account," we specify that we want to withdraw the funds to our main account. We select "All," as you can see, 49.7 and
[09:03] 76. To confirm, we've made transferring funds incredibly easy. Of course, you have countless options; you can choose what you like, whatever comes to mind, and implement it. Tell me in the comments what you think is the best use
[09:20] for this integration we've created between the platform and artificial intelligence. We might even make more videos about it, God willing. If you have any questions, write them in the comments below; I'd be very happy to answer them. Thank you so much, and peace be upon you.
[09:35] answer them. Thank you so much, and peace be upon you.
⚡ Saved you 0h 09m reading this? Transcribe any YouTube video for free — no signup needed.