Product 7 min read

How CodeBot works

A clear walkthrough of how CodeBot operates: from the API connection to closing trades, without jargon and without promises. Understand the complete flow.

</>
CodeBot
CodeBot Team

CodeBot is a free, non-custodial, open-API cryptocurrency trading bot. Behind that description is a workflow that's easy to understand once broken into steps. This article walks through each one, from the moment you connect your account to the instant a trade is closed — with no unnecessary technical jargon and no promises about results.

1. Connecting via API keys

Everything starts with the connection between CodeBot and your exchange account. Instead of asking for your login and password — which would grant total control — the system uses API keys. You generate a key pair in your exchange dashboard, set the permissions, and paste them into CodeBot. The permissions matter a lot: you enable balance reading and order placement, but keep withdrawal disabled.

From that point on, CodeBot can see your available balance and place buy and sell orders, but it cannot take money out of your account. It's a clearly bounded working relationship: the bot trades, you keep ownership.

2. Reading the market and deciding

With the connection active, the bot starts tracking the market for the configured assets. It watches price, movement, and the conditions defined for the strategy in use. When those conditions signal an entry opportunity according to the programmed logic, CodeBot prepares an order.

An honest point worth stressing here: no market read is a crystal ball. The bot acts on rules and signals, not certainties. The value of automation lies in the disciplined, emotion-free execution of those rules — not in predicting the future.

3. Executing the order in your account

When it decides to act, CodeBot sends the order to your exchange using the API keys. The order is executed inside your own account, with your own balance. You can see the exact same trade appear in the exchange's official history, because that's where it happened — not in some parallel environment controlled by us.

Every CodeBot order shows up in your own exchange's history. There is no black box: whatever the bot does, you audit at the source.

4. Monitoring and closing

After opening a position, the bot's job isn't done. It monitors the trade and looks for the moment to close it according to the strategy — whether to lock in a gain or to limit a loss. That continuous monitoring is one of the main reasons to automate: the bot doesn't sleep, doesn't hesitate, and doesn't change plans on impulse.

When the trade is closed, the result — positive or negative — is reflected in your balance, in your account. The cycle then starts over: the bot goes back to watching the market for the next valid opportunity.

5. The cost model: profit only

CodeBot is free to start. There's no monthly fee, no license, and no charge to connect your account. The only charge is a 50% performance fee — and it applies exclusively to the profit the bot actually generates. If there was no profit, there is no fee. This design aligns incentives: CodeBot only earns when you earn.

The complete flow in one list

  1. You generate API keys on your exchange, with no withdrawal permission.
  2. You connect the keys to CodeBot and activate trading.
  3. The bot tracks the market and identifies opportunities based on the strategy.
  4. Orders are executed in your own account, with your own balance.
  5. The bot monitors and closes positions according to the defined logic.
  6. The 50% performance fee applies only to the profit generated.

And how safe is all of this?

CodeBot's security comes from its very design. Because it operates without withdrawal permission, the worst-case scenario involving the bot does not include someone transferring your money out. You keep the power to revoke the API keys at any time right on the exchange, cutting off access instantly. In other words: you switch the bot on and off on your own terms.

Conclusion

How CodeBot works can be summed up in one sentence: it trades the market for you, inside your account, without ever taking possession of your money. From the API connection to the closing of trades, every step was designed so that control stays with the user. It's automation without giving up custody — and without promises no one can keep.

This content is educational and does not constitute investment advice. Trading cryptocurrencies involves risk of loss and no results are guaranteed.

Trade with a bot without giving up custody

Connect your exchange via API, keep your funds in your account, and only pay on profit.