Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| trade-term:start [27.10.2026 20:53] – Trading terminal: new page (concept stage) aria | trade-term:start [09.11.2026 08:52] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | <WRAP centeralign> | ||
| ====== Trading terminal ====== | ====== Trading terminal ====== | ||
| - | **A trading | + | Trading terminal ('' |
| - | Trading terminal is a planned tool intended mainly for trading on crypto exchanges. Part of the [[stratum: | + | <note important> |
| - | </WRAP> | + | **Technical preview.** |
| + | </note> | ||
| - | <WRAP centeralign> | + | ===== Install ===== |
| - | **Trading terminal – concept stage** · package '' | + | |
| - | </ | + | |
| - | <WRAP center round important 80%> | + | <code>sudo apt install trade-term</code> |
| - | **Concept stage.** The project is being designed, and it is being studied whether it will materialise at all. Its future depends on that decision: the project will either be carried out or retired. This page is a concept as well – it describes intentions, not a finished product. | + | |
| - | </WRAP> | + | |
| - | ===== Where the project stands ===== | + | This also installs '' |
| - | ^ State | Concept and feasibility study | | + | < |
| - | ^ Purpose | Trading, mainly on crypto exchanges | | + | |
| - | ^ Decision | Pending – the project is carried out or retired | | + | |
| - | ^ Package | '' | + | |
| - | ===== The idea ===== | + | Open the web interface at '' |
| - | Trading terminal is meant to bring trading on crypto exchanges into one tool on a Debian host running Stratum. | + | ===== What it does ===== |
| - | If the project is carried out, it will not start from nothing: it will build on certain existing infrastructure, which will be adapted to this tool. | + | * **Live charts** — candlesticks from public exchange data (through CCXT), with built-in indicators (EMA, RSI, MACD, Bollinger Bands). |
| + | * **Paper trading** — a simulated account with market orders, fees and slippage; no real orders. | ||
| + | * **Backtesting** — run strategies over historical candles with return, drawdown and trade statistics. | ||
| + | * **Pulse** — a small, safe Pine-like language for your own indicators and strategies, with a live editor (syntax highlighting, | ||
| + | * **Exchange API keys** — stored encrypted on the server; used only with trade-only keys. | ||
| + | * **Live trading** — place real orders under strict safeguards: per-order and daily limits, an allowed-symbols list, a two-step confirmation and a kill-switch. Off by default. | ||
| + | * **Trading sessions** — attach a Pulse strategy to a market and let it trade automatically | ||
| - | ===== Planned design | + | ===== Packages |
| - | Only if the project is carried out – nothing of this exists yet: | + | * '' |
| + | * '' | ||
| + | * '' | ||
| - | * **Web interface** – the tool will work in the browser, in the same spirit as [[vm-reactor: | + | ===== How it is built ===== |
| - | * **Backend in Go** – a single, self-contained service, like VM Reactor. | + | |
| - | * **Part of Stratum** – a package in the //contrib// component of the Stratum repository, for Debian 13 (trixie) and Debian 14 (forky). | + | |
| - | ===== The package today ===== | + | A single self-contained Go service with an embedded Vue.js web interface, on its own HTTPS port with users, roles and two-factor sign-in — in the same spirit as [[vm-reactor: |
| - | The package | + | ^ Layer | Choice | |
| + | ^ Backend | Go — one self-contained service, embedded web assets, own HTTPS port, systemd, users/roles + 2FA | | ||
| + | ^ Frontend | Vue.js | | ||
| + | ^ Charts | TradingView Lightweight Charts (Apache-2.0) with an own indicator layer | | ||
| + | ^ Exchanges | CCXT, run as a sidecar (Node), for public market data and order routing | | ||
| + | ^ Scripting | Pulse — an own Pine-like language, interpreted in Go | | ||
| + | ^ Licensing | stratum-license, | ||
| - | < | + | * **Go backend** — orchestrates market data, indicators, the Pulse engine, trading sessions, the licence check and the web API and UI. One binary. |
| - | sudo apt install trade-term | + | * **CCXT sidecar (Node)** — exchange connectivity: |
| - | trade-term | + | * **Indicators** — computed in the backend (EMA, RSI, MACD, Bollinger, …) and drawn with Lightweight Charts. The same calculation serves charting, backtesting and live sessions. |
| - | trade-term --about | + | * **Pulse engine** — the Go interpreter for user indicators and strategies; one engine checks a script, runs it on a chart, backtests it and drives live sessions. |
| - | trade-term --help | + | * **Trading sessions** — a session manager: each session pairs a strategy with a market and runs supervised (running or stopped), with its own position and the live-trading safeguards. Paper by default; live is a separate, deliberate switch. |
| - | </ | + | |
| - | ===== What comes next ===== | + | ===== Security |
| - | The concept | + | * Exchange API keys can move funds, so they are the most sensitive part: encrypted at rest, meant for trade-only keys (no withdrawal), |
| + | * Live trading | ||
| + | * The licence | ||
| + | |||
| + | ===== Risk and compliance ===== | ||
| + | |||
| + | Automated trading with real funds carries financial risk, and nothing here is financial advice. Strategies must comply with the exchanges' | ||
| + | |||
| + | ===== Handbook ===== | ||
| + | |||
| + | The handbook (package '' | ||
| + | |||
| + | ===== Licence ===== | ||
| + | |||
| + | Proprietary commercial software, used under a subscription licence (monthly | ||