Home / Guides / Local crypto trading bot
Local crypto trading bot: your app, your server, your keys
Many people look for a trading bot that runs locally, because they do not want to hand their exchange keys to a cloud service. M Alpha Core splits the work: the app runs on your own Windows PC, Mac or Android phone, and the bot runs on a small server that you rent yourself. Your exchange key lies on your device and on your own server, never with us.
What runs where
- The app on your computer or phone: scan, read the report, set up the server and the bot, watch your bots. Windows 10 and 11, macOS 11 or newer, Android 10 or newer.
- The scan runs on the scan server of M Alpha Core, not on your device, and keeps running when your device is off. It only needs market data, no exchange key.
- M Alpha Signal: two signal servers calculate the signals of your settings at every candle close and seal each signal. Your exchange keys are never stored there.
- Your server: a small rented server, for example at DigitalOcean or Vultr, for about $12 a month. Your bots run there day and night, and only there lies the key the bot trades with.
- Your exchange: the money stays in your own account, and every bot trades on its own sub account.

Why the bot runs on your own server and not on your PC
A bot has to be awake when a candle closes, also at night and while you travel. A home computer goes to sleep, restarts for updates or loses its connection. That is why the bot runs on a server that you rent, around the clock, even when your computer is off. You still control it from your own devices: in the app, in the browser control panel M Alpha Core Control on any phone, tablet or computer, and through Telegram messages about every trade.
The app sets up the server for you. You enter the address of the server, check the connection and let the app prepare the server, which takes a few minutes. The app signs in to the server with its own key, never with a password.
Where your API keys are stored
The exchange key of a bot lies on your device and on your own server. M Alpha Core does not manage it, and our scan and signal servers never hold it. That also means this part is your responsibility, and we help with advice:
- Create a key that may trade but may not withdraw. On Hyperliquid this is an API wallet, on the other exchanges an API key with trading rights only.
- Bind the key to the IP address of your server. Then it is of no use anywhere else.
- Give every bot its own sub account with only as much money as that bot needs. The main account is never liable.
- Turn on two factor sign in with an app at the exchange and for your email account, not by SMS.
If such a key were stolen, nobody could withdraw money with it, and only that one sub account would be affected. If you delete the key at the exchange, it is worthless, and the bot stops trading too. The security page covers the whole setup.
How your server is protected
- The bots only listen on the server itself. From outside they can only be reached through a gatekeeper (NGINX) over HTTPS.
- The bot fetches its signals itself every 20 seconds. Nobody can push a signal into it from outside, and it only acts on signals with a valid seal, for its own settings and for the candle that just closed.
- M Alpha Core Control opens only with user name and password, and every button also needs the control password of the bot.
- If a bot crashes, the server restarts it after 5 seconds, and a watchdog checks every minute that each bot is running. After a server restart, all bots start by themselves.
One gap we state openly: if the whole server goes down, the watchdog goes down with it, and there is no alert from outside. You notice it in the app or because the Telegram messages stop. Open positions stay at the exchange and can be seen there at any time.
Cloud bot or your own server: a fair comparison
Both models work, and each has its price. In the cloud model the bot runs on the servers of the provider, and the provider stores your API key. In the model of M Alpha Core the bot runs on a server that belongs to you.
| What matters | Cloud bot | M Alpha Core with your own server |
|---|---|---|
| Where the bot runs | On the provider's servers | On a small server you rent |
| Who stores the exchange key | The provider | You, on your device and your server |
| Setup | Usually quicker, no server needed | The app sets up the server; about one afternoon in total, the identity check of an exchange can take days |
| Running costs | The subscription | The license from $49 a month plus about $12 a month for the server |
| Server and exchange account | The server belongs to the provider | Both belong to you |
If you want to start within minutes and do not mind a provider holding your key, a cloud bot can be the simpler choice. If you want the key and the server in your own hands, your own server is the better fit.
How to start
- Install the app from the download page and enter your license.
- Run a scan for your market and read the report.
- Rent a small server (at least 2 GB, Ubuntu, Intel or AMD), add the key of the app, enter the address of the server in the app and let it prepare the server.
- Set up Telegram and start the bot as a dry run first. It needs no exchange account and calculates with an imagined $1,000.
- For real money, create a sub account with a trading only key and set up the bot again without the dry run.
Frequently asked questions
Does the trading bot run on my own computer?
The app runs on your computer or phone. The bot runs on a small server that you rent yourself, so it trades around the clock even when your computer is off.
Where are my API keys stored?
On your device and on your own server. The scan and signal servers of M Alpha Core never hold your exchange keys.
Can M Alpha Core withdraw money from my exchange account?
No. The key you create may only trade, not withdraw, and the bots never touch your balance.
What does my own server cost?
About $12 a month at a provider such as DigitalOcean or Vultr. You rent it yourself and you cancel it yourself.
What happens if my server goes offline?
Open positions stay at the exchange. When the server starts again, all bots and the watchdog start by themselves.
Do I need programming skills?
No. The app sets up the server and the bot, and you click through each step.
Related pages
- Security
- Download
- Pricing
- Hyperliquid trading bot
- Crypto trading bot guide
- Trading bot Android app
- Trading bot risks
All figures come from backtests on past market data. No result is a promise of future profit. Trading, especially with leverage, involves high risk. M Alpha Core is a software tool, not investment advice.