General advice for any bot
- Leave withdrawals off. A key that can only trade cannot send funds out of your account.
- Turn on only the permission the bot uses. A futures bot needs futures trading; spot, margin and transfers can stay off.
- Restrict the key to trusted IP addresses where the exchange offers it. If your home IP address changes, a restricted key stops working until you update it.
- Make one key per bot or app, so you can delete one without touching the others.
- Keep only the funds the bot needs in the account its key can reach. A sub-account limits what a wrong setting can lose.
- Rotate keys on a schedule and delete the ones you no longer use.
- Paste the secret only into the app that uses it. Support staff never need it.
- Turn on two-factor authentication for the exchange account itself.
What ribqa bot does with your key
- Paper trading needs no key at all.
- The app reads a key's real permissions from the exchange (Binance's signed API restrictions) and refuses a key that can withdraw, or one the exchange cannot be asked about.
- Keys live in a local vault: Argon2id key derivation and AES-256-GCM, with the salt kept in the operating system's keychain, so the vault file alone cannot be opened on another machine.
- No key is sent to ribqa.com.
- The vault locks after 30 idle minutes by default; you can choose from 5 minutes to 1 month. While real money holds an open position it does not lock itself.
- Before a bot goes Live, the readiness list warns when the Binance key has no IP restriction or is older than 90 days. It is a warning, not a block.
- There is no password recovery. A lost vault password means resetting the vault and adding the keys again.
- The vault code is public on GitHub, in src-tauri/src/vault of the ribqa bot repository.
Worked example: a Binance key for ribqa bot
- In Binance's API management, create a new API key for ribqa bot only.
- Enable futures trading. Leave withdrawals off.
- Restrict access to your own public IP address.
- In ribqa bot, open Settings, Exchange keys and add the key and secret.
- The app asks Binance for the key's permissions. A trade-only key is stored; a key with withdrawals on is refused.
- Paper bots keep working without it. A bot needs the key only when you switch it to Live.
Other secrets: webhook URLs
A TradingView webhook URL is a secret too: anyone who has it can send alerts to your bot. ribqa bot shows the URL once and the server stores only its hash. Rotate it if it leaks, and set a passphrase on the TradingView bot, which the app keeps only as an Argon2id hash.
- ribqa botKey vault, requirements and what the app does not do.
- TradingView webhook guideHow the webhook URL and passphrase are used.
Questions
Can a trade-only key still lose money?
Yes. It cannot withdraw, but a bot with a wrong setting or high leverage can lose the margin in the account. Keep only what you can afford to lose where the key can reach it.
Does ribqa.com see my exchange API keys?
No. The keys stay in the encrypted vault on your PC and no key is sent to ribqa.com.
What if I forget the vault password?
There is no recovery. You reset the vault and add the keys again. If a real position was open, close it and its stop on the exchange yourself.
Should I restrict my key to an IP address?
If the exchange offers it and your IP address is stable, yes. ribqa bot runs on your PC, so the address to allow is your own public IP; the app warns before Live when a Binance key has no IP restriction.
Past results and simulations, not a forecast and not financial advice. ribqa makes no return claim and gives no price direction.