Paper-trading guide
Practise with fake money first. Follow the steps in order; each one shows whether it is already done.
1. Create or enable the paper account at Interactive Brokers
In IBKR Client Portal go to Settings → Account Settings → Paper Trading Account and create it. IBKR gives the paper account its own username and password and an account id that starts with DU (for example DU1234567). Write both down: the username is what you use to log in to the gateway in step 3, the account id is what you enter in PotoRix.
Ask Poto if IBKR shows something different on your screen.
Ask Poto if IBKR shows something different on your screen.
2. Let the server talk to IBKR (one-time server setup)
On your server (Hostinger, folder
/opt/aiip) the .env file needs these lines, then a restart:COMPOSE_PROFILES=ibkr
FEATURE_BROKER_ORDERS=true
IBKR_PAPER_ACCOUNT_ID=DU1234567 # your paper account id
# FEATURE_LIVE_ORDERS stays false: live trading stays lockedcd /opt/aiip && sh deploy/install.sh3. Log in to the IBKR gateway (needed again whenever the session expires)
The gateway is IBKR's own small program running on your server; you log in to it yourself, so PotoRix never stores your IBKR password. Open the login page, enter the page password, then log in with the paper username from step 1 and confirm the two-factor prompt. Wait until the page says Client login succeeds.The login expires after a while (plan to repeat this regularly, roughly daily). If the check below says "not ready", this is almost always why.
Other way: SSH tunnel from your computer
ssh -L 5000:127.0.0.1:5000 root@<your-server>
# then open http://localhost:5000 in your browser and log inThe web login is switched on once on the server with sh deploy/ibkr-web-login.sh, which prints the page password.4. Connect the paper account in PotoRix
to do
Open Orders → Broker connections, pick your Interactive Brokers broker (add it on the Brokers page first if needed), enter the DU… account id, press Add paper connection, then tick enabled. A live account cannot be switched on here: it is locked.
5. Link your watchlist names to their IBKR contracts
IBKR tickers are not unique and often differ from the exchange ticker (Prysmian is AEU on Xetra but PRY at IBKR; "AEU" at IBKR is an Australian share). So each name you want to trade needs your one-time link: on Orders → Contract links press Link, search IBKR, check the name, currency and exchange, then press This is it — link. Without a link, every order for that name is blocked.
6. Set your safety limits and switch ordering on
In Settings → Orders & auto-trading set how much one order may be worth, how much per day and how many orders per day, then switch Order execution on. This is the kill switch: switching it off stops every order at once.
Starting advice: small orders (for example 100 EUR) so one mistake cannot hurt, and a low orders-per-day limit.
7. Place your first test order by hand
to do
On Orders press Create proposal on one of the paper-account suggestions (or write your own). A proposal sends nothing. Read the checks under it, then press Confirm & send. It is a limit order: it only fills at your price or better, and a DAY order disappears at the end of the day if it did not fill. Then look at the order in IBKR's paper account to see it arrive.
Markets are open Monday to Friday; outside opening hours the order waits for the next session.
8. Learn from the suggestions
After every Poto run the platform lists 3 stocks to buy and 3 held stocks to sell with the reasons (trend, momentum against the benchmark, Poto's assessment, news, stop-loss, take-profit). Sells only ever come from shares the paper account really holds. Compare a few suggestions with the chart before trusting them, and ask Poto to explain any reason you do not understand.
9. Optional: let the auto-trader place paper orders for you
In Settings → Orders & auto-trading set the limits it must respect (max value per order, max value held per stock, orders per run, stop-loss, take-profit) and switch Auto-trader on. It then places the suggestions as limit orders after each run, on the paper account only. Use Preview a run on the Orders page first to see what it would do. Every automatic order is listed on Orders with the source “auto”, and you can stop everything with the kill switch.
Review its orders every day at first. If something looks wrong, switch the auto-trader off and ask Poto why.
10. Before you ever consider a live account
Run on paper for several weeks, compare the results with simply holding the benchmark, and look at the cases where the auto-trader lost money. Live trading stays locked in this platform (server flag
FEATURE_LIVE_ORDERS), and a live account is never traded automatically. This is education, not financial advice.