Type/to search
Getting Started
Platform Basics
Exchange
Docker
Strategy Library
Live Trading
Grouping
Live Trading Observation
Live Trading Message Push
Common Causes of Live Trading Errors and Abnormal Exits
Trading Terminal
Account and Billing
Writing Strategies
Development Tools
Backtesting System
Advanced Topics
Data and Research
Extended API Interface

As opposed to a backtest, a live robot is a strategy program instance that really interacts with an exchange (fetching market data, querying positions, placing and canceling orders, etc.). An instance connected to the exchange's production environment is a live robot, and so is one connected to the exchange's simulation environment (many exchanges offer a test environment).

Creating a live robot

On the robot creation page, choose the strategy, the docker and the exchange accounts, then create the robot. Three things must be ready beforehand:

Live robots are billed by the hour and cannot start without enough balance (see Live Robot Billing and Top-up).

Robot monitoring

On the live trading page, click "Monitor" in the actions column of a running robot to enable monitoring. Once enabled, when the robot exits for any reason other than a manual operation, the platform sends a notification according to the push settings (App, email, Telegram; never to the WebHook).

Robot database

For robot ID 123456, the database file is logs/storage/123456/123456.db3 (SQLite) under the working directory of the docker running it, with these tables:

  • chart: chart data.
  • cfg: the latest state such as the status bar content and the chart configuration.
  • kvdb: data persisted with the _G() function.
  • log: robot logs.
  • profit: profit data.

The same directory also holds the strategy process's standard output stdout.log and standard error stderr.log.

To let other people view and operate some of your robots, use sub-accounts (see Sub-accounts).

In this sectionRead the whole section

NameDescription
GroupingClick the Group Management button on the right of the "Live Trading" page or the "Strategy Library" page to group robots or strategies; group names are up to yo…
Live Trading ObservationClick the "Public" button of a robot in the robot list on the Live Trading page to let others watch it.
Live Trading Message PushA live robot can push log lines as messages to the mobile app, email, Telegram or a WebHook; enable the channels on the push settings page.
Common Causes of Live Trading Errors and Abnormal ExitsWhen a robot will not start, reports errors or exits abnormally, check the causes below by category.