Skip to article
XTester Help
XTester Launcher

Terminal

Use the robot terminal’s chart, layers and panels.

Reviewed: Applies to: 1.0.0-preview.1

Charts

The Terminal shows charts over the whole page. Above each chart is its toolbar: the symbol, the timeframe and the chart view (Candles or Line), and the exchange and market the robot trades on (they cannot be changed here).

Application screenshotXTester 1.0.0-preview.1
The stopped robot can display market candles. Positions, Orders and Trades separately show account data when available.Interface screenshot · XTester 1.0.0-preview.1
  1. Chart and history navigation.
  2. Account data tabs.

• A click on the symbol opens a list: the strategy's symbols first, then the others.

• A click on the timeframe opens the timeframes grouped by minutes, hours and days. The strategy's timeframe is marked.

• The mouse wheel zooms; the buttons under the chart go to the start of the loaded history, one screen back, one screen forward and to the latest candles.

If data stops coming from the exchange, the chart shows Data stopped with the time of the last candle.

Following the last candle

The chart moves on with new candles by itself while the last candle is on screen. Come back after a few hours and you see the latest candles.

• The candle at two thirds of the width or further right: the chart follows it at the same distance from the right edge it had.

• The candle left of two thirds: the chart stays where it is until new candles reach two thirds, then keeps the last candle there.

• The last candle past the right edge (you are looking at history): the chart stays put, new candles do not move it.

The To the latest candles button under the chart puts the last candle at two thirds of the width, and following goes on. While the chart follows, the button is off.

Indicators and layers

The Indicators and chart layers button on the chart toolbar turns on and off what this chart draws:

Application screenshotXTester 1.0.0-preview.1
Open Layers to choose what the current chart displays.Interface screenshot · XTester 1.0.0-preview.1
  1. Layers menu

• Trades: entry and exit marks; hovering shows the action, price, quantity, fee and result. The marks are drawn on the robot's timeframe and finer ones. A grey Robot was off band is the time between runs when the robot was stopped (if at least one bar was missed); a dotted Restart after crash line is where the launcher started the robot again after a crash. An ordinary start is not marked.

• Orders and position: lines of the robot's orders and position.

• Volume.

• Strategy series: lines the strategy draws itself.

• Four moving averages: exponential over 20, 50 and 200 candles and simple over 100 candles. They are off by default.

• Order book: the exchange book the strategy reads, right of the chart of its symbol, as in the tester. The item is there only while the robot works and its strategy reads the book. A click on the book's header switches the view (ladder, profile, along the price scale), the wheel groups levels (in the price-scale view it zooms the price), hovering shows the price on the chart and a click pins it.

A stopped robot's orders and position are not drawn: they are the last run's data, not what is on the exchange now.

Several charts

• New Chart…: pick a symbol and open one more chart.

Application screenshotXTester 1.0.0-preview.1
Split the chart to place two panes side by side.Interface screenshot · XTester 1.0.0-preview.1
  1. Two chart panes

• Split Right (Ctrl+\) splits the chart; with Alt held, down. Split Down is also in the chart's More menu.

• Synchronized Cursor (in the More menu) moves the crosshair on all charts at once; the price matches only on charts of the same symbol.

• Close Chart, when there is more than one chart.

The page holds up to 8 charts. The layout of the charts and the panel is remembered for this robot.

Positions, orders and trades

Under the charts is a panel with the Positions | Orders | Trades switch. Drag its border to change its height; the buttons on the right maximize and hide it. Ctrl+J hides and shows the panel, and from another page opens Terminal with the panel shown.

• Positions: symbol, side, quantity, entry price, current price, unrealized PnL, stop loss and take profit.

• Orders: purpose (entry, stop loss, take profit), type, side, price, quantity, status and the time it was placed.

• Trades: time, side, action (such as Open Long or Reverse to Short), price, quantity, fee and result. A Filter is above the list.

A click on a row shows it on the chart; so do the On Chart button and Enter. The up and down arrows move between rows.

The number on Trades: for LIVE, the exchange's trades in the robot's symbol over the last day; for Paper, the latest trades of this run. All trades since the first start are on the Statistics page.

While the robot is not running, positions and orders are not read from the exchange, and the panel says so. Check them on the exchange.