VECTOR MIRROR for Linux — v2.6.64.32
==================================

Install — one command, it guides you step by step (safe to run again any time):

    ./install.sh              the guided install
    ./install.sh --check      only check what is missing, change nothing
    ./install.sh --help       all options

What it does, in order:

1. Sign-in. With a PurplEdge account: press Enter at the key question, then sign in in VECTOR MIRROR: ⚙ ▸ Vector link ▸ sign in
   with your PurplEdge account; in each Chrome extension: the VECTOR icon ▸ Sign in with PurplEdge.
   With a VECTOR key (vm_…, in the e-mail from PurplEdge): paste it when ./install.sh asks (the input is hidden); it is checked with
   the server once, then VECTOR MIRROR links with it by itself. In each Chrome extension you paste it once (its «VECTOR for …» tab).
   Skipped it? VECTOR MIRROR: ⚙ ▸ Vector link ▸ sign in with your PurplEdge account (or paste your VECTOR key ▸ Link).

2. System packages — installed into Linux itself, once. It checks python3, venv, PyGObject and WebKitGTK and prints
   the exact command for your distribution if one is missing (it can run it for you with sudo):
       Debian / Ubuntu / Mint:  sudo apt update && sudo apt install -y python3 python3-venv python3-gi gir1.2-webkit2-4.1
       Fedora:                  sudo dnf install -y python3 python3-gobject webkit2gtk4.1
       Arch / CachyOS:          sudo pacman -S --needed python python-gobject webkit2gtk-4.1
       openSUSE:                sudo zypper install -y python3 python3-gobject typelib-1_0-WebKit2-4_1
   No WebKitGTK / PyGObject? MIRROR still runs, in a Chrome app window (force it: MIRROR_BROWSER=1 ./vectormirror.sh).

3. MIRROR's Python environment — in your home folder (~/.local/share/VectorMirror/venv), about a minute, needs internet.

4. The menu entry «VECTOR MIRROR» (Applications ▸ Office). It points at THIS folder — moved it? Run ./install.sh again.

5. The VECTOR extensions — installed into Google Chrome itself, once per extension:
   VectorMirror/Tradovate extension/
   VectorMirror/TopstepX extension/
   VectorMirror/TradingView extension/
   In Chrome:
     1. chrome://extensions
     2. top right: turn on «Developer mode»
     3. «Load unpacked» ▸ choose the folder ▸ Select          (in the folder window: Ctrl+L, paste the path, Enter)
     4. the «VECTOR for …» tab opens: click the VECTOR icon in Chrome's toolbar ▸ Sign in with PurplEdge (same login as purpledge.io) — or, with a VECTOR key, paste it ▸ Connect
   Then inside the platform itself:
     Tradovate:   once, on the chart: Indicators ▸ search VECTOR ▸ «VECTOR by PE» ▸ Save — without it no levels.
     TopstepX:    topstepx.com — the levels appear on the chart by themselves.
     TradingView: tradingview.com/chart — the levels appear by themselves; orders go through the broker connected in TradingView (Trading Panel).
     every extension: in VECTOR's panel on the chart: ⚙ Accounts ▸ ✓ Allow all current accounts
       (or the VECTOR icon in Chrome's toolbar — not there? 🧩 ▸ 📌 next to VECTOR — ▸ «Accounts VECTOR may trade»).
   Don't connect MIRROR and the TopstepX extension with the same TopstepX user — TopstepX allows one session.

Start:     menu ▸ VECTOR MIRROR, or ./vectormirror.sh   ✓ It works: the chart with the levels shows in MIRROR's window.
Updates:   MIRROR's Vector tab ▸ «Pull update» (MIRROR and the extension folders here);
           then in chrome://extensions press ↻ on each VECTOR extension.
           The browser add-ons also update by themselves: while VECTOR MIRROR runs, it checks every 30 minutes, installs a signed
           new version into the extension folders here, and the add-on then restarts itself at a quiet moment. No setting turns this off.
Files:     settings and the key vault ~/.config/VectorMirror  ·  Python environment ~/.local/share/VectorMirror/venv
(optional) Trading Tradovate from MIRROR's window too? Pair them: MIRROR ⚙ ▸ Broker ▸ Tradovate shows the pairing code.
