AutoExec
Updated this week

The AutoExec module allows users to create Automated Execution strategies. The current guide focuses on our first available strategy – the Grid. Read on for the detailed instruction on how to use the module.

Grid strategy

Grid strategy (also known as the “Ladder strategy”) automates the placement of buy and sell orders at fixed intervals or price levels, given the market volatility within a predefined range.

How it works

The Grid places original buy and/or sell orders on predetermined price levels. When the original order is executed, a new one is activated in the opposite direction at a predefined distance.

The Grid operates with one instrument at a time only.

Pausing a strategy will cancel all of its placed and working orders.

Where to find it

You can find the AutoExec module in the left-side toolbar of the desktop platform.

AutoExec – Left-Side Toolbar

You can also find it in the upper toolbar. Just click on Trading and choose AutoExec in the drop-down list.

AutoExec – Upper Toolbar

Parameters

The AutoExec module includes a list of your strategies and their parameters: Status, Name, Account, Type, Instrument, CCY, Orders, Filled Orders, Unrealised P&L, and more.

AutoExec – Parameters

You can add or remove parameters by clicking the Gear icon and checking or unchecking the options in the drop-down list.

In the upper toolbar, you can also see your account number, action icons and such parameters as Unrealised P&L, Realised P&L, Position, Orders, and Filled orders.

AutoExec – Parameters

Parameter

Description

Status Icon

This is the status of your strategy. It can be the following:

active

close

create

edit

edit (disabled)

filter all

filter finished

Status

The status of your strategy:

  • Paused. The strategy was created but still not running, or the strategy was paused.

  • Running. The strategy is in progress.

  • Terminated. The strategy was deleted.

Name

The name of your strategy

Account

Your account number

Type

Currently, only the Grid strategy type is available.

Instrument Status

This is the schedule status.

active

unknown

delayed feed

expired

offline

schedule break

Instrument

Your instrument

CCY

Currency

Unrealised P&L

Expected Profit and Loss

Realised P&L

Delivered Profit and Loss

Position

The quantity of assets pertaining to the strategy

Orders

All your orders

Filled Orders

Executed orders

How to use it

How to create a new strategy

1. To create a new strategy, click the Plus button in the upper toolbar.

Upper Toolbar – Create Strategy

If the main module is empty, click Create Strategy.

Empty Module – Create Strategy

2. Drag the desired instrument into the window.

Alternatively, open Instruments or Watchlists, right-click on an instrument and choose Add Strategy from the context menu.

AutoExec – Open via Instruments

3. Fill in the fields in the Settings tab and click Save. The example below is for the Grid strategy.

Parameter

Description

Name

The name of your strategy. By default, it contains the last numbers of the trading account and the instrument name.

Type

Grid by default

Direction

Buy or Sell

Price Range

The lowest and highest acceptable prices. It is configurable in the currency of the selected instrument. Regardless of the chosen direction, the first input of the range is always for the lowest price.

Levels

The number of active orders in each direction

Quantity

The Order size for each level

Step Size

The distance between price levels for placing original orders

Take Profit

Distance at which the Opposite order will be placed, if the Original one is filled.

AutoExec – Settings

4. Before launching, you will see your potential orders in the Market Depth module and the strategy Chart.

AutoExec – Market Depth

AutoExec – Chart Button

AutoExec – Chart

5. Click Run to launch the strategy.

Alternatively, run a saved strategy from the module’s main window. Choose it from the list of strategies. Its current status is Paused. Click the Run button in the upper toolbar.

AutoExec – Launching Strategy

The strategy places original Buy or Sell orders on various price levels. When the original order is executed, a new one is placed on the opposite side at a predefined price.

Here’s an example of a Buy-side Grid strategy. If an Original Buy order was filled at 100, and Take Profit was set to 10, the Robot will place a Sell order at 110 (Original + Take Profit = 100 + 10 = 110).

How to track

Strategy performance

You can track how your active strategy performs using these parameters:

  • Unrealised P&L

  • Realised P&L

  • Position

  • Fill Ratio*

  • Active orders

  • Filled orders

  • Placed orders

*Fill Ratio is the ratio of successfully filled orders to all orders ever placed by a strategy. If it is low, the strategy may not work as intended.

AutoExec – Tracking Performance

Instruments

You can also track the status, current market price, daily change, and 52-week change of the selected instrument.

How to view your strategy history

After running the strategy, you will see its history on the Activity tab of the strategy window, including active and inactive orders.

AutoExec – Activity

How to edit your strategy

There are three ways to edit your strategy:

1. Choose the strategy from the list and click the Pencil button.

AutoExec – Edit Option

2. Right-click on the strategy and choose Edit.

AutoExec – Edit Option

3. Double-click on the strategy.

All the changes are applied after confirmation.

Please bear in mind that you can only edit paused strategies.

How to delete your strategy

To delete your strategy, right-click on it in the module’s main menu and choose Delete in the context menu.

AutoExec – Delete Option

Alternatively, you can delete the strategy in the strategy window by clicking Delete in the upper right corner.

AutoExec – Delete Option

Note! When you intend to delete a strategy, you will see a pop-up window that suggests either closing all strategy-related assets or cancelling the action and keeping the assets in your portfolio.

AutoExec – Confirm Deletion

Use the AutoExec module to run the Grid strategy and optimise your trading activity.

Did this answer your question?