| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| trade-term:start [09.11.2026 17:20] – Pulse is Pine Script compatible (trade-term 0.21) aria | trade-term:start [09.11.2026 20:37] (current) – Pulse: higher timeframes, drawing objects, short paper positions, editor suggestions (trade-term 0.27) aria |
|---|
| * **Paper trading** — a simulated account with market orders, fees and slippage; no real orders. | * **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. | * **Backtesting** — run strategies over historical candles with return, drawdown and trade statistics. |
| * **Pulse** — a scripting language for your own indicators and strategies, **compatible with Pine Script** (TradingView): series history, ''ta.*'' indicators, ''strategy.*'' orders, loops and functions, so most TradingView scripts run unchanged. Live editor (syntax highlighting, as-you-type checking, an inputs form) and a standard library of ready-made scripts. | * **Pulse** — the project's own scripting language for indicators and strategies: series with history, ''ta.*'' indicators, ''strategy.*'' orders, loops, functions, libraries, higher-timeframe values, drawing objects and short paper positions. Live editor (syntax highlighting, suggestions while typing, as-you-type checking, an inputs form) and a standard library of ready-made scripts. |
| * **Exchange API keys** — stored encrypted on the server; used only with trade-only keys. | * **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. | * **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 on each closed candle; several sessions run at once, in paper or live mode. | * **Trading sessions** — attach a Pulse strategy to a market and let it trade automatically on each closed candle; several sessions run at once, in paper or live mode. |
| |
| ===== Pulse and Pine Script ===== | ===== Pulse language ===== |
| |
| Pulse follows TradingView's Pine Script (version 6) syntax and semantics; the language version stays ''Pulse v0'', and a script may keep its ''//@version=6'' line. | Pulse is Trading terminal's own scripting language; the version is ''Pulse v0'', written as ''//@pulse 0'' at the top of a script. |
| |
| * **Runs unchanged:** the bar-by-bar series model, ''indicator()'' and ''strategy()'', ''var'', history (''close[1]''), ''if''/''switch''/''for''/''while'', user functions, tuples, arrays, ''input.*'', the ''ta.*'' indicator library, ''math.*'', ''str.*'', ''color.*'', plots and shapes, and ''strategy.entry''/''strategy.exit''/''strategy.close'' with next-open fills and stop/limit emulation. | * **What it does:** executes once per candle with series history (''close[1]''), ''var'', ''if''/''switch''/''for''/''while'', user functions, tuples, arrays, ''input.*'', the ''ta.*'' indicator library, ''math.*'', ''str.*'', ''color.*'', plots and shapes, labels and lines drawn on the chart, libraries (''library''/''export''/''import''), higher-timeframe values of the same market (''request.security''), and ''strategy.entry''/''strategy.exit''/''strategy.close'' with next-open fills and stop/limit emulation. |
| * **Not available:** ''request.security'' (one symbol and timeframe per script), matrices, maps, user-defined types, methods and libraries; drawing objects are accepted but not drawn; scripts are evaluated on closed candles. | * **Not available:** markets other than the one selected in the terminal and the other ''request.*'' functions, matrices, maps, user-defined types and methods; boxes and tables are recorded but not drawn; scripts are evaluated on closed candles. |
| * The old Pulse spellings (''sma'', ''ema'', ''entry'', ''exit'', ''input'') still work, so earlier scripts keep running. | * The earlier Pulse spellings (''sma'', ''ema'', ''entry'', ''exit'', ''input'') still work, so older scripts keep running. |
| |
| ===== Packages ===== | ===== Packages ===== |
| |
| * ''trade-term'' — the application (non-free). | * ''trade-term'' — the application (non-free). |
| * ''trade-term-pulse'' — the Pulse standard library (required dependency). | * ''trade-term-pulse'' — the Pulse standard library and two Pulse libraries, ''ta-extra'' and ''patterns'' (required dependency). |
| * ''trade-term-handbook'' — the user guide and the Pulse language reference, shown as a //Handbook// tab inside the web interface (optional). | * ''trade-term-handbook'' — the user guide and the Pulse language reference, shown as a //Handbook// tab inside the web interface (optional). |
| |
| ^ Charts | TradingView Lightweight Charts (Apache-2.0) with an own indicator layer | | ^ 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 | | ^ Exchanges | CCXT, run as a sidecar (Node), for public market data and order routing | |
| ^ Scripting | Pulse — Pine Script compatible, interpreted in Go, bar by bar | | ^ Scripting | Pulse — the project's own language, interpreted in Go, bar by bar | |
| ^ Licensing | stratum-license, feature ''trade-term'' (subscription) | | ^ Licensing | stratum-license, feature ''trade-term'' (subscription) | |
| |
| ===== Handbook ===== | ===== Handbook ===== |
| |
| The handbook (package ''trade-term-handbook'') covers the web interface and the Pulse language, with a complete function reference, worked examples and a chapter on what Pulse takes from Pine Script and what it does not support. | The handbook (package ''trade-term-handbook'') covers the web interface and the Pulse language, with a complete function reference, worked examples and a chapter on the language's limitations. |
| |
| ===== Licence ===== | ===== Licence ===== |