Child pages
  • Photon User Guide
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Overview

Photon is the Marketcetera Automated Trading Platform UI client. Photon is what's know as a fat client, meaning it is a standalone native executable as opposed to a thin client, which is typically made available via a web browser. To use Photon, you must install the Photon component for your platform and architecture. See the installation guide for more information on installing Photon.

Launching Photon

Photon uses the Eclipse Rich Client Platform. If you're familiar with the Eclipse IDE, Photon will look very familiar to you. On Windows, an entry for Photon will have been added to your Start menu or Desktop, as you requested during installation. On Linux, to start Photon:

$ cd marketcetera-2.2.1
$ . ./setEnv.sh
$ cd photon
$ ./photon

On OSX, there is a Photon.app which you can add to your toolbar or Applications folder.

Logging In

Photon can run by itself, however, most of its utility comes from connecting to other components in the Marketcetera Automated Trading Platform stack, like the Order Routing System and one or more Strategy Agents. Upon start, Photon prompts you to log in to an Order Routing System.

The default credentials for the Order Routing System are admin/admin.

Once you've entered the credentials to connect to the Order Routing System, you can tell if Photon has successfully connected by the status icons at the bottom. The icons will change from

to

(the left light is for the connection to the Order Routing System, the right light is for the connection to a market data adapter, more on that later)

After connecting, some views that require a connection to the Order Routing System are populated, like the Open Orders View and the Positions View. More on these and other views later.

By default, Photon is configured to connect to an Order Routing System running on the same host. However, if you've installed your Order Routing System on another host, you can configure Photon to connect to that host instead. Select Cancel from the login dialog and then Edit->Preferences. Select Connections in the left pane.

You can enter a new IP address (in place of 127.0.0.1) for the IP address of your Order Routing System. Select OK and then File->Reconnect Server to resume the login process. There is also a menubar icon for Reconnect Server, for your convenience. If you are already connected to the server when you select Reconnect Server, your current connection will be closed and a new connection established. This is harmless, though there may be a small delay depending on the amount of trading activity that's occurred today as Photon downloads today's activity from the Order Routing System.

Views

A View in Photon is one of the dockable and resizeable tabs with a title and a menubar. Views may be maximized, minimized, closed, and moved. In addition to some common Eclipse Views, Photon provides the following custom Views:

Console View

The Console View is a standard Eclipse View with some Photon-specific customizations. 

There are three sub-views: Main, Sink Console, and Notifications. The Main Console provides basic information from Photon. The default message level is INFO. This can be changed at Edit->Preferences->Photon.

The Sink Console displays messages from connected Strategy Agents. There aren't any Strategy Agent connections yet, more on that later.

The Notifications Console displays messages from Photon that correspond to pop-up messages, like server disconnect and reconnect messages, for example.

Market Data View

Photon provides market data for display and also for consumption by running strategies. More on strategies later, for now, let's focus on the display of market data. The Marketcetera Automated Trading Platform divides market data into content types:

  • Top of Book - best bid and offer
  • Latest Tick - most recent trade
  • Marketstat - statistics, including OHLC (open price, high price, low price, and close price)
  • NASDAQ Level 2 (NQDS) - top-of-book for NASDAQ exchange participants
  • NASDAQ TotalView (ITCH) - full order book depth for NASDAQ market participants
  • NYSE OpenBook limit-order book for all NYSE-traded securities
  • Aggregated Depth - generic depth data with order sizes aggregated at each price level
  • Unaggregated Depth - generate depth data no price level aggregation

In Photon, top-of-book, latest tick, and marketstat are displayed in the Market Data View:

To display market data in the Market Data View, enter a symbol in the Market Data View menubar and press the green plus button or press enter. The symbol you enter will be submitted to all the active market data adapters. Each adapter will interpret the symbol according to its nature and return market data accordingly. If more than one market data adapter is active and returning data for the same symbol, the market data displayed will come from the most recently supplied market data event. Note that, in the above image, there are two equities and one future instrument displayed. Market data can be displayed for multiple instruments at the same time.

It is important to note that Marketcetera, Inc. does not itself supply market data. Market data comes to the platform via a market data adapter from an external source, like Thompson Reuters or Lime. You will need an account with one of these providers in order to view market data. More on market data adapters later.

If the market data event displayed in the Market Data View comes from a market data adapter that supports depth-of-book, you can select a row in the Market Data View and open the Market Depth View.

The available depth views are displayed in the right-click menu for a given row in the Market Data View. Selecting one of the available market data depth types will open the Market Depth View.


You can select buy or sell from the right-click menu from either the Market Data or the Market Depth Views. Doing so will open the appropriate Order Ticket View populated with the bid or ask from the selected row depending on whether you selected buy (ask) or sell (bid).

Order Ticket Views

The Order Ticket Views are used to place new orders and cancel replace order requests. There is a specialized Order Ticket View for each supported asset class.

Equity Order Ticket View

The Equity Order Ticket View is used to place new orders and order cancel replace requests for equities.

 

Option Order Ticket View

Future Order Ticket View

Currency Order Ticket View

outline

  1. Logging in
    1. Local host
    2. Another host
    3. Default credentials
  2. Views
    1. General
      1. Console
    2. Market Data
      1. Market Data
      2. Market Depth
    3. Photon
      1. Average Price
      2. Currency Order Ticket
      3. FIX Message Details
      4. FIX Messages
      5. Fills
      6. Future Order Ticket
      7. Open Orders
      8. Option Order Ticket
      9. Stock Order Ticket
    4. Positions
      1. Positions
    5. Strategy Category
      1. Project Explorer
      2. Strategy Engines
      3. Trade Suggestions
  3. Perspectives
    1. Equity
    2. Option
    3. Future
    4. Currency
    5. Strategy
    6. Custom
  4. Market Data Adapters
    1. Marketcetera
    2. Bogus
    3. Yahoo
    4. CSV
    5. Commercial Adapters
      1. Activ Financial
      2. Thompson Reuters
      3. Lime
      4. NYSE
      5. ICE
      6. Nordpool
  5. Configuration
  • No labels