TSLab
TSLab.proSupportTSLab LiveTSVerse
Eng
Eng
  • TSLab trading platform
  • For newbies
    • A beginner's guide
      • Purchasing a license key for a data provider
      • An example of connecting text quotes
      • Example of connecting a data provider to a broker / exchange
      • An example of creating a script in TSLab
      • An example of creating a trading algorithm in TSLab
  • Installing TSLab
    • TSLab Installation Guide
      • System requirements
      • TSLab Installation manual
    • Update TSLab
      • Preparing for update
      • Release build
      • Nightly build
    • Restarting the TSLab program
    • TSLab Changelog
      • TSLab 2.1 Changelog
      • TSLab 2.2 Changelog
        • 2.2.26.0 - 2024/01/31
        • 2.2.25.0 - 2024/01/17
        • 2.2.24.0 - 2024/12/04
        • 2.2.23.0 - 2024/09/19
        • 2.2.22.0 - 2024/08/30
        • 2.2.21.0 - 2024/05/17
        • 2.2.20.0 - 2024/05/15
        • 2.2.19.0 - 2024/02/21
        • 2.2.18.0 - 2024/02/09
        • 2.2.17.0 - 2023/11/16
        • 2.2.16.0 - 2023/10/20
        • 2.2.15.0 - 2023/10/13
        • 2.2.14.0 - 2023/08/11
        • 2.2.13.0 - 2023/05/12
        • 2.2.12.0 - 2023/02/28
        • 2.2.11.0 - 2022/12/15
        • 2.2.10.0 - 2022/10/27
        • 2.2.9.0 - 2022/09/16
        • 2.2.7.0 - 2022/06/23
        • 2.2.5.0 - 2022/04/29
        • 2.2.3.0 - 2022/04/01
        • 2.2.2.0 - 2021/12/29
  • Data providers
    • Cryptocurrency exchanges
      • Binance Cryptocurrency Exchange
        • Registration on Binance
          • Registration on Binance Exchange website
          • Configure Binance Wallet
          • Creating a Binance API Key for TSLab
          • Binance. Transferring USDT from wallet to wallet without commission
        • Registration on TSLab [Binance]
          • Account registration on the TSLab website [Binance]
          • Creating a free Binance Data Provider for TSLab
        • Setting up a Binance Data Provider in TSLab
        • TSLab Binance Edition
          • Starting the program
          • Configuring the Binance Data provider
      • Bitget Cryptocurrency Exchange
        • Registration on the Bitget official website
        • Creating a Free Bitget Data Provider
        • Configuring the Bitget Data Provider in TSLab
      • ByBit Cryptocurrency Exchange
        • Registration on the ByBit website
        • Creating a free ByBit data provider
        • Configuring the ByBit Data Provider in TSLab
      • Deribit Cryptocurrency Exchange
        • Deribit data provider settings
        • Deribit. Frequently asked questions and useful information
        • Deribit. Possible problems and solutions
        • Deribit Margin Requirements Calculation
        • An example of a ready-made script for Deribit
      • Kucoin Cryptocurrency Exchange
        • Registration on the KuCoin official website
        • Creating an API key on the KuCoin website
        • Issuing a free license for KuCoin Data Provider
        • Setting up the KuCoin data provider in TSLab
      • OKX Cryptocurrency Exchange
        • Setting up an OKX account
          • Registration on the OKX website
          • OKX API Key creation
          • Issuing a free license for OKX Data Provider
          • Setting up the OKX data provider in TSLab
          • OKX demo account
        • TSLab OKX Edition
          • First launch of TSLab OKEx Edition
          • Configuring the OKEx data provider
          • Trading in TSLab [OKEx]
          • OKEx Demo
    • Historical Data
      • YahooFinance
      • Offline data provider in CSV format
      • An example of connecting text quotes
      • Text files with historical data
    • Interactive Brokers
      • Getting Started with Interactive Brokers Data Provider
        • Installing and configuring the Trader Workstation (TWS) terminal
        • Installing and configuring the IB Gateway terminal
      • Features of working with Interactive Brokers data provider
      • Known issues for Interactive Brokers Data Provider
      • Loading instruments in a package
  • Working with the program
    • Main menu
      • File
        • Program Settings
      • View
        • Chart
          • Features of working with the Chart in TSLab
          • Chart Controls
        • Depth of Market
        • Quotes
        • All Trades
      • Data
        • Data Providers window
        • Add online data provider
        • Add offline data provider
      • Lab
        • Scripts window
          • Script Container
      • Trading
        • Accounts window
        • Positions window
        • My trades window
        • My orders window
          • Move orders and deals to an agent
        • Autotrading Control Center window
          • Agent window
          • Agent trading settings
            • Event recalculations
            • Slippage
          • "Forget errors" of the agent
        • Orders manager
          • Linking a manually completed order to an agent
        • Agent Control Center window
      • Tools
        • Data backup and recovery
        • Notifications manager
          • Notifications Manager Filters
          • Reference List of Service Message Numbers
          • Example of setting up notifications for Gmail
        • Export to Excel
    • Common interface
      • Status bar
      • Tab
      • Workspace
      • Spreadsheets
    • Visual editor
      • Toolbar
        • Compress and Decompress Blocks
      • List of visual blocks
        • Service Elements
        • Cycles
        • TSChannel
      • The syntax of the Formula, Boolean expression and String expression blocks.
    • Autotrading Control Center
      • Agent trade settings
        • Agent trade settings - Placing orders
        • Agent trading settings - Script execution
        • Agent trading settings - Events
    • TSLab API
      • API Introduction
        • Visual Studio Installation
        • First script (API)
        • First Indicator (API)
        • Script Debugging
        • Logging
      • Writing scripts on the API
        • Trading Instrument Data
        • Working with positions
        • List of deals
        • The order queue
        • Standard Indicators and Handlers
        • Script parameters
        • Caching
        • Local and global cache
        • Multiple Tools
      • Writing indicators on the API
        • Stream indicator
        • Bar indicator
        • Pre-processed indicator
        • Indicator with multiple calculations
      • Additional features
        • The ability to create your own optimizers *
        • C ++ / CLI script
        • API Control Panel
        • Result from script
        • * Оптимизация. Пул массивов.
      • Examples
        • Get script results
        • Get script parameters
        • Get script and agent settings
        • Get position balance (net worth)
        • An example of a strategy Breakout of the Donchian channel
        • Example of a Moving Average Crossover strategy
        • Indicator example
        • How to speed up the processing of a script on the API
        • Links to examples
      • Question - Answer
        • HandlerParameter Attribute
    • Optimization
      • Insufficient load on a multicore processor
  • Examples of scripts and indicators
    • Examples of algorithms and indicators
    • Examples of implementing strategies in TSLab
      • A trading system based on indicator CCI
      • A trading system based on Standard Deviation
      • A trading system based on Aroon
      • A trading system based on ADX and DI technical indicators
      • A trading system based on the RSI indicator
      • Example of a trading strategy without parameters
  • TSLab website
    • TSLab Support Service
      • Memory dump of TSLab application
      • TSLab program log files
Powered by GitBook
LogoLogo

Мы в соцсетях

  • Группа в Telegram
  • Новости TSLab
  • Vkontakte
  • YouTube канал TSLab Live

Наши веб-сайты

  • TSLab
  • Служба поддержки
On this page
  • Autotrading Control Center window
  • "Autotrading Control Center" window commands
  • "Autotrading Control Center" window columns
  • Column filters in the "Autotrading Control Center" window
  • Context menu of the "Autotrading Control Center" window
  • "Autotrading Control Center" window properties
  • Quick access buttons
  • Chart
  • Agent
  • Common agent settings
  • Agent trading settings
  • Agent State
  • TSCloud

Was this helpful?

Export as PDF
  1. Working with the program
  2. Main menu
  3. Trading

Autotrading Control Center window

Last updated 2 years ago

Was this helpful?

Autotrading Control Center window

Agent is a trading copy of the script linked to your accounts. The number of agents that can be created based on one script is not limited.

The "Autotrading Control Center" window displays the general status of agents, settings, current trading results, and tools for starting and stopping agents. If there are several instruments in the script, only one instrument is displayed in the "Ticker" column, according to the first source in the script (the Source block, which was added to the editor first).

The Autotrading Control Center window can be opened by selecting the Main menu item: Trading - Autotrading Control Center.

"Autotrading Control Center" window commands

Button
Description

Add agent

Opens the window for adding and configuring an agent.

Delete agents

Removes an agent from the list. If the agent is active, has open positions, deletion is impossible.

Forget errors

Start all agents

Starts all agents

Stop all agents

Stops all agents.

Start selected agents

Starts the selected agents

Stop selected agents

Stops the selected agents

Edit script

Opens in the editor the script on which the selected agent is based. Saving the edited script will restart this agent.

"Autotrading Control Center" window columns

Column
Description

Agent

Agent name. If the agent has a trade name, it is displayed in brackets. For your convenience, in the field displaying the name of the agent, there are buttons "Agent" (monitor), "Common settings" (list) and "Trading settings" (gear).

Ticker

Short name of the instrument. For your convenience, in the field displaying the ticker, there is a button "Show chart" made in the form of a chart.

Script

Agent related script

Account

Broker account name.

TSCloud

Broadcast agent to TSCloud service

State

The current state of the agent (Started/Stopped), toggled by pressing the button.

Volume of limit

Indication of the amount of funds available for trading by the agent.

Slippage %

Allowable slip value set as a percentage.

Slippage

Allowable slip value set in absolute terms.

Active

Indication of the possibility of trading (trading account is active).

Connected

Indication of connection to the trade server.

Positions (lots)

The current position on the script-instrument link in lots.

Positions (money)

The current position on the link agent - instrument is in the money.

Currency

Indication of the currency of the account connected to the agent

NP/L

Unrealized profit / loss.

P/L

Profit / Loss.

P/L (day)

Profit / loss daily.

Assessed price

The average price of transactions of the current open position for the instrument.

Balance price

The price assigned to shares for accounting purposes.

Current

The current price of the instrument broadcast by the broker.

Status

Status of the trading session for the instrument.

Long positions (lots)

The number (in lots) of long positions managed by the agent at the moment.

Short positions (lots)

The number (in lots) of short positions managed by the agent at the moment.

Commission

The commission paid by you on a set of transactions in the "instrument - agent" link.

Column filters in the "Autotrading Control Center" window

The data in the "Autotrading Control Center" table can be sorted using the built-in filtering system. You can access the filters by clicking on the special button located in the header of the table.

Context menu of the "Autotrading Control Center" window

The context menu is available by pressing the right mouse button in the workspace of the "Autotrading Control Center" window.

Menu item
Description

Properties

Opens the properties of the "Autotrading Control Center" window.

Show at

Moves the window "Autotrading Control Center" to one of the existing sheets.

Clone window

Creates a copy of the "Autotrading Control Center" window.

"Autotrading Control Center" window properties

The "Autotrading Control Center" window properties can be opened:

  • from the context menu of the "Autotrading Control Center" window;

  • by selecting the Main menu item: Edit - Window Properties

Attention! The settings of the "Font Settings" and "Background row color" properties that you have chosen can be returned to their original settings using the "Select Default Settings" button located to the right of the drop-down menu for this property. The application of custom settings is indicated by a red indicator on the "Select Default Settings" button.

Appearance

Menu item
Description

Use alternating row colors

Highlighting every second line with an alternative color.

Background row colors

Background color of table rows.

Font settings

Select font type and size.

Columns caption

Shows/Hides column headers.

Quick access buttons

Chart

Agent

In the Agent window, you can access the Agent Chart, Log, Results, Trades, Parameters and Profit tabs.

Common agent settings

In the "Common" menu, you can select the required script from the list to connect it to the agent, specify the source of trading data, and also specify the type of limit management.

In order to make changes to the general settings of an agent, you must stop the agent itself. Make sure the button in the State column is in the disabled (gray) state

Agent trading settings

The agent's Trading settings as well as the Common settings are available when creating a new agent. The Trade Settings window can be opened by clicking on the gear icon in the Agent column

Agent State

The button in the State column is responsible for starting and stopping the agent. When a provider is enabled, the button turns green. In the disabled state, the color of the button is gray.

The agent can be started even if there is no connection to the data provider. TSLab remembers the state of the agent when the program is turned off

TSCloud

The TSCloud button allows you to broadcast or receive data from the TSCloud cloud service. To work with the service, you must have an account set up in the TSCloud system, as well as a connection to the service in the program itself. Connection in the program is carried out in the corresponding section of the Main menu of the program.

The agent stops broadcasting messages about current errors. Read the article

using the "Properties" button located on the window's title bar;

Opens in a separate window the of the same instrument, with the same Period as in the agent.

Clicking the button opens the . The tab of the Agent window has a graphic designation in the form of the letter "A" and a name corresponding to the name of the agent.

Chart
Agent window
Forget errors of the Agent