A trading bot never sleeps, never hesitates and never reads the fine print. That is the appeal, and the risk. The moment you connect one to your exchange account, a piece of software holds a key to your money. Whoever controls that key controls what the bot, or anyone who steals it, can do. This guide covers how API keys work, which permissions to grant, and the security checks Indian traders should run before they automate a futures strategy.
- Crypto trading bots use API key pairs to connect with exchange accounts and execute trades on a user’s behalf.
- Grant only the permissions a bot requires. Use read-only access where possible, enable trading permissions only when necessary and keep withdrawal access disabled.
- Protect API credentials by keeping secret keys private, restricting access through IP whitelisting where available and enabling two-factor authentication.
- Vet bot providers before connecting them, avoid tools promising guaranteed returns and review their security practices and track records.
- Test automated strategies with limited funds, set position-size limits and monitor bot activity to identify unauthorised or unexpected trades.
- Revoke unused or compromised API keys directly through the exchange to prevent further access to your account.
How An API Key Connects A Bot To Your Account
An API key pair has two parts. The public key identifies your account. The secret key signs your requests. The bot sends orders with a signature built from the secret key, and the exchange treats those orders as yours. WazirX offers API trading for users who want to automate.
Treat the secret key like the password to your trading account, because functionally it is one. Anyone holding both parts can act on whatever permissions the key carries.
Which API Key Permissions To Grant
Grant the minimum. Most mistakes start with a key that can do more than the bot needs. Exchanges generally split permissions into tiers like these.
- Read only: lets software view balances and trade history. Enough for portfolio trackers and tax tools.
- Trading: lets a bot place and cancel orders. Enable it only for a bot you have vetted and tested.
- Withdrawals: keep this off. WazirXβs own API guidance tells users to make sure withdrawal permission is not enabled on their keys.
Read the permission options shown when you create a key. Then check the WazirX API documentation for the markets and endpoints your key covers before you connect a futures bot. Do not assume one key works on every product.
Security Checks Before You Connect A Bot
- Vet the provider. Look for clear terms, a track record and a way to reach support. Walk away from any bot that promises guaranteed returns.
- Guard the secret key. Never paste it into chats, emails or screenshots. If it leaks, delete the key and generate a new pair.
- Restrict by IP address where the platform offers it. That limits where a stolen key can work.
- Lock down the account first. WazirX lists mandatory two-factor authentication among its account protections, and its help centre carries security guidance worth reading.
- Skip code you do not understand. WazirXβs own sample-code guidance says the same.
- Delete keys you no longer use. An idle key is an open door.
Test Before You Trade With Real Money
Run every bot in a controlled setting first. Use a small balance, set a hard cap on position size and watch the first sessions by hand. Confirm that the bot respects your stop loss and never opens positions beyond your limits. Futures use leverage, so a coding error can cost far more here than in spot trading.
WazirX also has a guide on how to practice crypto trading in India without real money with Paper Trading, a useful way to test your logic before real funds are at stake.
Red Flags That Mean Disconnect Now
- The bot asks for withdrawal permission.
- Orders appear that you never set.
- The provider asks for your secret key by chat or email.
- The marketing promises profit.
If any of these show up, delete the key at the exchange, not only in the botβs dashboard. Removing a key from the botβs records does not switch it off.
Final Thoughts
Automation multiplies your process, good or bad. A bot with narrow permissions, a tested strategy and a hard loss limit is a tool. A bot with broad access and no oversight is a liability. Start with the least access, and widen it only when you must.
Whether you trade by hand or by script, execution runs through the same account. With WazirX, you can:
- Create API keys from your account and read the API documentation before you connect any tool.
- Trade Bitcoin futures settled in INR by hand, with Take Profit and Stop Loss on open positions, while you test automation.
- Protect the account behind your keys with mandatory two-factor authentication.
WazirX is an FIU-IND registered crypto exchange built for Indian users. Automated futures trading magnifies mistakes as fast as it magnifies gains, and crypto remains unregulated in India. Automate only what you understand.
FAQ’s
Only what its strategy requires, usually reading balances and placing orders. Keep withdrawals switched off.
Only with a provider you have vetted, and only with the permissions you chose. Never send the secret key by chat or email, and delete keys you no longer use.
Yes. WazirX offers API trading and publishes API documentation. Check it to see which markets and endpoints your key covers before you connect a bot.
Disclaimer: Click Here to read the Disclaimer.












