
Execute trades and automate workflows with EXANTE CLI
- CLI allows you to use simple commands and scripts to automate repetitive tasks and streamline your trading workflows.
- Access market data, manage orders and execute trades directly from your terminal.
Direct access. More ways to trade.
If you already use Claude or ChatGPT, you don’t need to learn the commands. Describe what you want in plain words, ask the assistant to write the EXANTE CLI command, check it, and run it in your terminal.
If you’re comfortable with the command line, write the commands yourself. Type /help to see what you can do and which options each command takes. You can also combine commands into scripts to automate repetitive tasks.
Either way, EXANTE CLI works within your existing account permissions.

$ exante quote AAPL.NASDAQ
AAPL.NASDAQ bid 195.98 ask 196.04 last 196.01
$ exante buy AAPL.NASDAQ 10 limit 185
Confirm buy 10 AAPL.NASDAQ at 185.00, GTC? [y/N] y
Order placed · working in Orders
$

rebalance.sh
Every weekday at 09:00 · next run in 14 h
Last run: 4 of 4 orders filled
Get up and running in minutes
EXANTE CLI is straightforward to install and configure securely. Get started with these simple steps:
- 01
Install EXANTE CLI
using Python’s package manager.
- 02
Connect your account
using the browser-based login.
- 03
Start trading
by entering commands directly in your terminal, or incorporating them into scripts and automated workflows.
Predefined CLI command examples
Check the account and buy an instrument
- 1.
exante summaryshows cash and NAV, so you can see whether there is enough money. - 2.
exante quote AAPL.NASDAQshows the last quote for the instrument. - 3.
exante buy AAPL.NASDAQ 100 limit 150places a limit buy order for 100 shares at 150. - 4.
exante orders get <ID>checks the order status using the ID from step 3.
| Command | What it does |
|---|---|
| login | Logs in through the browser (PKCE) and stores the key in the keychain. --no-browser prints the URL instead. |
| logout | Clears stored credentials |
| config set | Sets defaults: environment (live or demo), account, and currency |
| config show | Shows current defaults and the config file location |
| accounts | Lists accounts visible to the current credentials |
| summary | Shows account summary (cash, NAV). Options: --account, --currency, --date |
| transactions | Lists transactions filtered by account, date range, operation type, or symbol |
| repl | Opens an interactive shell where you type commands without the exante prefix |
The instruments, quantities and prices shown are examples only and do not constitute investment advice or a recommendation.
Get up and running in minutes
Setup for EXANTE CLI is fast and easy. Here are some brief tutorials to help you connect.


Still got questions?
Note: Please review all commands carefully before running them, including those drafted by AI assistants or used in scripts, as all orders placed through EXANTE CLI are treated as your instructions.