• 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.

  • 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

EXANTE CLI is straightforward to install and configure securely. Get started with these simple steps:

  1. Install EXANTE CLI

    using Python’s package manager.

  2. Connect your account

    using the browser-based login.

  3. Start trading

    by entering commands directly in your terminal, or incorporating them into scripts and automated workflows.

Check the account and buy an instrument

  1. 1.

    exante summary shows cash and NAV, so you can see whether there is enough money.

  2. 2.

    exante quote AAPL.NASDAQ shows the last quote for the instrument.

  3. 3.

    exante buy AAPL.NASDAQ 100 limit 150 places a limit buy order for 100 shares at 150.

  4. 4.

    exante orders get <ID> checks the order status using the ID from step 3.

CommandWhat it does
loginLogs in through the browser (PKCE) and stores the key in the keychain. -⁠-⁠no-⁠browser prints the URL instead.
logoutClears stored credentials
config setSets defaults: environment (live or demo), account, and currency
config showShows current defaults and the config file location
accountsLists accounts visible to the current credentials
summaryShows account summary (cash, NAV). Options: -⁠-⁠account, -⁠-⁠currency, -⁠-⁠date
transactionsLists transactions filtered by account, date range, operation type, or symbol
replOpens 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.

Explore CLI commands

Setup for EXANTE CLI is fast and easy. Here are some brief tutorials to help you connect.

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.