Skip to main content

Simulation run log

The Simulation run log shows, for every requested historical simulation of the whole instance, how large it was and how long it computed. It is the basis for later defining a better limit for the duration of a simulation than today’s maximum number of trading days in gt.simulation.max.run.trading.days. You find it under Administrative data in the entry Admin only as the tab Simulation run log. Only administrators see it.

A row contains no reference to a tenant, user, strategy or security, only dates, counts, times and flags. It therefore remains when the simulation or the user account is deleted, and it belongs to no data export. Rows older than the number of months in gt.simulation.run.log.retention.months (default 36) are deleted by GT as soon as a new row is written.

Outcome of a request

Every request receives exactly one row, even if it was not computed:

  • Completed, Cancelled and Failed are simulations that computed.
  • Refused: day limit is a request whose period covers more trading days than gt.simulation.max.run.trading.days allows. It shows the demand the measured runs cannot contain.
  • Refused: server busy is a request for which neither of the server’s two simulation slots was free.

Refused requests have no Worker time. A simulation interrupted by a server restart does not appear in the log because its duration is unknown. An empty field always means “not known for this outcome”, never zero.

Properties and table columns

The columns divide into the start profile, which is known before the first simulation day, and the measured outcome. A later limit may only use the start profile, because only that is known to GT when a new simulation is requested. The outcome explains why a run took longer or shorter than expected.

The start profile comprises:

  • Trading days planned is the requested period in trading days, the figure compared with the day limit.
  • Strategy types lists the numbers of the strategy types configured anywhere in the strategy, for example 1 for rebalancing and 72 for the exposure signal.
  • Instruments, Currencies, Security accounts, Cash accounts and Asset classes describe the size of the simulation environment.
  • Mean reversion pairs counts the active pairs of strategy and security. GT checks each of them on every trading day, even when it buys nothing.
  • Signal series daily, weekly and monthly count the exposure signals by their signal check. A reference signal steering several securities is one series; an own signal per security results in one series per security.
  • Rebalancing checkpoints per year, Cash standing orders, Security standing orders, Opened with positions and Opening transactions distinguish, for example, a monthly rebalancing, an initial purchase from cash or an environment with a long booking history.

The measured outcome comprises:

  • Worker time (ms) is the time the simulation occupied one of the two simulation slots. Preparation (ms) is the preceding check of the request.
  • ms per trading day is the worker time divided by the evaluated trading days and the figure that compares runs most easily.
  • Initialization, Valuation, Rebalancing, Exposure signal, Mean reversion, Income and fees and Completion distribute the worker time over the steps. Other (ms) is the remainder no step covers. A large remainder shows where a more precise measurement would pay off.
  • Failed in step names, for a failure, the step in which it occurred.
  • Rebalancing plans, Signal checks, Events written and Transactions booked count what the simulation actually did.
  • Parallel to another run is set when a second simulation computed at the same time. Such runs should be compared separately from undisturbed runs.

The table first shows the columns that compare runs. You show the others through the View menu.

Info

An analysis of completed simulations only should always show the number of the other outcomes as well. Cancelled or failed runs may be exactly the expensive ones, and requests above the day limit appear only as refusals.