Getting started¶
Apathia runs on your own computer. Install it, enable an exchange, add a trading pair and create a strategy. Backtest that strategy, then create a signal or a trade. Each step links to the page with the details.
1. Install¶
Download Apathia for the computer that will run the bot. Downloads lists a native package and Docker for each computer and marks one (recommended): native on desktop Windows and Mac, Docker on Linux, a VM or VPS, and a Raspberry Pi.
Then follow the page for that computer: Windows, Mac, Linux, Raspberry Pi or VPS / VM. When the UI is open, continue here.
2. Create your account¶
On first visit, create a username and a password (at least 10 characters). This is the only account; it protects the app and any exchange keys you add later.
The Dashboard shows Get started until an exchange is enabled, a trading pair is saved and a strategy exists. A bar under the top bar names the next of those steps and opens its page.
The address keeps the page you are on, such as #pairs or #backtest, so reloading the browser opens that page again.
Paper and Live are both modes. Paper is not a step you have to finish before Live. You choose the mode on the trade. A new live entry still asks the license service.
3. Enable an exchange¶
Open Exchanges, search for the exchange and tick it. It is listed under Enabled Exchanges. Signals and backtests need only this; they do not need API keys.
For live orders, enter an Account name and the fields that exchange asks for (most ask for an API key and secret), then click Connect. Create the key with trading on and withdrawals off.
More: Exchanges and API keys covers unreachable exchanges, the fields each exchange asks for, and key permissions.
4. Add a trading pair¶
Trading Pairs → Add Trading Pair. Pick the Exchange, the Market type (Spot, Margin, Perpetual, Futures or Options) and the Base currency: the currency you pay with and settle in, such as USDT for BTC/USDT. Tick a pair, then Save.
More: Trading pairs and markets covers base currencies, options, the live lock, and notes for each exchange.
5. Create a strategy¶
Strategies → Create Strategy, then Open Standard workspace. The other workspaces are in Which workspace?.
- Choose Buy (long), Sell (short) or Both.
- Add entry conditions, for example "RSI crosses above 30".
- Set the Exit: indicator conditions, a take-profit, a stop, or a mix. The first one hit closes the trade.
- Click Save.
The Strategies page has a tab for each type. A strategy in use is locked; Duplicate makes a copy you can edit, and Start opens the saved strategy so you can enter the run settings. More: Saved strategies.
You can also start from a ready-made preset: Strategies → Strategy Library, then Add to my strategies, and edit it like any other.
More: Strategy builder. For Both, see Both and hedge mode.
6. Backtest it¶
Backtest: pick the Trading Pair and the Strategy, then Execute Backtest. Trades show on the chart and in the table, with fees.
More: Backtest and When orders fill.
7. Create a signal or a trade¶
A signal notifies you when the strategy fires. A trade runs the strategy.
Signals → Create Signal. Set a Name, pick the Trading pair and the Strategy, choose Alert on and Trigger, pick Notification methods, then Save Signal. Notification accounts are set up under Settings → Signal Notification Accounts: Telegram, Discord, Email or a webhook.
Trading Center → Build Trade. Pick the Trading pair and the Strategy, set Order size and Order type, then Save. A new trade starts Paused. Click Resume and wait until Status shows Running.
The Paper / Live control is on the trade's row in the Trading Center. Paper runs against a simulated balance and sends no exchange order. Live sends real orders.
More: Trading Center, Paper trading and leverage, Live trading, and the kill switch.
Back up and update¶
Back up all of data/, including data/secrets/, together with .env, which may hold the encryption key. Keep backups private.
When a newer release exists, a banner in the app says so. You install it yourself, after a verified backup. The steps are on Updating.