Documentation contents

Trading

Levels

A level is a spread threshold at which the server itself opens or closes a position in lots. Levels are set in the "Levels" panel of the bundle window, separately for entry and exit and separately for each polarity. A new level is created turned off.

Fields of a level row:

Field What it is
"On" turns the level on for live execution
"Gross spread" the threshold on the spread axis, 4 decimal places, can be negative; the net threshold is shown next to it
"Mode" CRS, HLD or ONE — see below
"Lot" the lot of one trigger — from the bundle's lots or entered manually
"Limit in lots" / "Limit, base" entry only: how much the level will accumulate in total
"When filled" entry only: "Unchanged" or "Turn off" when the limit is reached

A lot below the minimum order of the two legs is an error; a lot that is not a multiple of the pair step gets a recommendation to round it. An entry level without a limit does not trigger. Below the sections are "Net spread range" and "Total entry limit".

Trigger modes:

Mode Name Behavior
CRS "Only on crossing" triggers once per crossing; again — after a pullback to the center and a new crossing
HLD "While the condition holds" triggers repeatedly while the spread stays beyond the threshold, with a pause of "Lot restore after fill, s"
ONE "Only once" no repeats until the level is turned on again or edited

Crossing rule: a level triggers only on the sample where the spread crossed the threshold in the trading direction. Right after being turned on or edited, a level waits for a fresh crossing — a spread that is already beyond the threshold does not trigger it.

"Level settings" — two settings, separately for entry and exit:

Setting What it does Default Range
"Spread verification, s" CRS and ONE: after a crossing, the spread must stay beyond the threshold for the whole window, otherwise there is no trigger; filters out short spikes; 0 — immediately 0.3 0–60
"Lot restore after fill, s" the pause after a trigger before the next one; in HLD — the repeat interval 1 0–600

A change applies until the trading session closes; a new session starts with the default values.

Entry

Entry trigger: volume = the smaller of the lot and the remaining limit minus the unpaired volume, no more than the depth of both books; below the minimum order — skipped. Both legs are sent at the same time as market orders (see "Execution"). If the threshold is crossed for several levels at once, the farthest one triggers.

Exit

The exit level "Type":

  • "Simple" — the exit spread threshold is set as a number and stays in place;
  • "Range level" — the threshold is calculated from the position's average entry spread and moves with it (see "Levels → Sliding exit").

An exit trigger closes the lot, but no more than the paired closable volume of its polarity. Changing the type turns the level off and resets its settings.

Sliding exit

"Range level" is an exit level tied to the position: the line is the average entry spread shifted by "Range from entry" (1 % by default) toward profit. The line moves with the average entry and is read-only on the chart; without a position, the level waits for one. The range is not smaller than the bundle's minimum exit range (0.3 %): a smaller one is clamped to it, and the level shows the "· floor-clamped" mark. Simple levels are not clamped.

Running on the server

Levels are executed by the server, in the bundle's trading session. The session opens when the bundle window is opened in the app, and keeps running while the device sleeps or the network drops. It closes when the bundle window is closed, the bundle is moved to the archive or the server restarts. After a server restart, the session does not reopen by itself: enabled levels are not executed until you open the bundle window again or perform any level action or a quick trade in the open window.

The "On" state is stored on the server and survives closing the bundle window and restarts of the app and the server.

The "Disarm levels on exit" setting (off by default): if the window has lost its connection to the server for longer than "Disarm after, s" (60 by default), all levels of this bundle are turned off; quitting the app then closes the sessions immediately.

A level cannot be turned on if: a leg has no connection; a leg is occupied by another bundle; the polarity is locked; the account is frozen; the contract is delisted; the commission balance is empty. Turning a level off is always possible.

Levels turn off by themselves:

Reason Which
the limit is reached, "When filled" = "Turn off" entry
the opposite polarity is filled on an account that cannot hold both sides entry of the other polarity
the leg is occupied by an open position of another bundle entry
the leg's connection is deleted all
the commission balance is empty entry
the account is frozen — they do not turn back on after the freeze entry
the contract is delisted entry
30 days since turning on or the last edit entry
the bundle is moved to the archive all
"Disarm levels on exit" all

Exits are not blocked by an empty commission balance, a freeze or a delisting.

The "Level reached" notification — see "App → Notifications".