Viewing Order's History

From MultiCharts
Jump to navigation Jump to search
Order History Viewer

This tool is designed to display the entire order’s route that was performed within MultiCharts, from the moment of order generation to the moment the order was sent to the broker's API.
The purpose of this feature is to provide the ability for MultiCharts users to know every single detail about their orders, like who or what sent the order, why it was sent, what statuses were received for the order and so on. Order History Viewer remembers the setup settings as they were at the moment the order was sent and what could influence it. All of this information is taken from the encrypted and secure storage from the user's machine.

Accessing Order's History

show order's history

Order History Viewer is a part of the Order and Position Tracker.
To open it in the Order and Position Tracker navigate to the Orders tab, find the order of interest and right-click on it. Then choose Show order's history.

Once it is opened, the table on the Orders tab will be replaced with the Order History Viewer diagram.
The order details can be viewed in the upper left corner by hovering the mouse over the (i).PNG icon.

NOTE: The complete information about the orders is taken from the current and backup user logs. This means that it may take a while to extract all of the required info from those files.
NOTE 2: The info about the orders can be unavailable (No Data) because:
  • the Order and Position Tracker files have been removed from the machine.
  • it has been more than 7 days since the order generation and the user logs have been deleted (they are deleted once every 7 days from the user’s machine).
  • a newer MultiCharts version has been installed.

Understanding the Diagram

In the left part of the diagram a multilayer structure is displayed (see the picture in the beginning of the page). It includes the application components that work with the commands and statuses. One can see the following items:

  1. User Interface – these are all the buttons and menu components that are intended for manual order placement.
  2. Auto Trading Engine – this is the auto trading module. It handles the commands generated by the strategy script and processes the order statuses. It also monitors the broker and chart positions.
  3. Trading Server – this is the main module for trading that handles both manual and automatically generated orders and processes their statuses. It also monitors the positions in MultiCharts and at the broker.
  4. Trading Plugin <PROFILE_NAME> – this module serves as a bridge between Trading Server and the broker API.
  5. <PROFILE_NAME> - this is a broker interface. MultiCharts places the orders by calling the methods of this interface. It supplies the order statuses to MultiCharts.

In the right part, a time-based diagram of the command execution or order status processing is displayed. Each command or status is presented by a block with a caption. In the upper right corner of the diagram there is a slider that is for scaling the diagram and its blocks.

Understanding Informational Blocks

Informational Blocks

Each block in the diagram represents an action that was performed by a certain module.
The block’s caption hints to the nature of these actions.
All blocks are lined in order from the first to the last and are strictly aligned on the time line with millisecond precision. It allows for estimating the time and speed that is required for placing the orders and receiving the statuses for them.
The arrows on the diagram mean that the command or control is delegated towards the next block.
To view the details about an action, hover the mouse over a block and a hint with a description will appear.
Clicking on the block will display a snapshot of the trading settings at the moment of the command was executed.

Understanding the Order Execution Settings

This is an informational window that allows for the viewing of the trading parameters as they were configured in MultiCharts at a given historical moment.
This snapshot of settings can be called for a specific order in the Order and Position Tracker. To see this on the Orders tab, right-click on the order and select Show Order Execution Settings at. In this case the snapshot will reflect the settings at the time of the order generation (this time is specified in the Generated column).
It can also be displayed for any block of the Order History Viewer diagram. To do that click on the block of interest, and the Execution Settings window will be displayed for that moment.

The Execution Settings window contains the following information:

  1. Running Applications – displays the exact application from which the order was placed and the date/time when it was started.
  2. Trading Preferences – the settings of Manual Trading from Preferences.
  3. Strategy Properties – the settings selected for the strategy in the Strategy Properties settings.
  4. <PROFILE_NAME> Broker profile – contains the information about the symbol mapping for the symbol. Hovering the mouse over a symbol mapping line displays a hint with details.
NOTE: The snapshot is for informative purposes only. One cannot change the settings in it. It is just a container of the settings that influenced the order placement or command execution.