LMEsource Client Interface Spec v4.12
LMEsource Client Interface Spec v4.12
Document History
Version Date Changes
Page 2
Page 2
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 3
Page 3
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Contents
1 INTRODUCTION ............................................................................................................................ 9
1.1 Purpose ................................................................................................................................... 9
1.2 Delivery Phasing for Electronic Market Data .......................................................................... 9
1.3 Products ................................................................................................................................ 10
1.3.1 Electronic Product Summary Table ............................................................................... 10
1.3.2 Non-Electronic Product Summary Table ....................................................................... 11
2 SYSTEM OVERVIEW .................................................................................................................. 13
2.1 Scope .................................................................................................................................... 13
2.1.1 Multicast ......................................................................................................................... 13
2.1.2 Dual Multicast Channels ................................................................................................ 13
2.1.3 Recovery Mechanisms................................................................................................... 13
2.2 Session Management ........................................................................................................... 14
2.2.1 Start of Day .................................................................................................................... 14
2.2.2 Normal Transmission ..................................................................................................... 17
2.2.3 End of Day ..................................................................................................................... 17
2.2.4 Error Recovery ............................................................................................................... 17
2.3 Trading Sessions .................................................................................................................. 17
2.4 Race Conditions .................................................................................................................... 17
3 COMMON MESSAGE FORMATS ............................................................................................... 19
3.1 Data Types ............................................................................................................................ 19
3.1.1 Null Values ..................................................................................................................... 19
3.1.2 Implied Decimal ............................................................................................................. 20
3.1.3 Timestamp Precision ..................................................................................................... 20
3.2 Packet Structure.................................................................................................................... 20
3.2.1 Packet Header ............................................................................................................... 20
3.3 Message Structure ................................................................................................................ 21
3.4 Control Messages ................................................................................................................. 23
3.4.1 Heartbeat ....................................................................................................................... 23
3.4.2 Sequence Reset (100) ................................................................................................... 23
3.4.3 Disaster Recovery Signal (105) ..................................................................................... 23
Page 4
Page 4
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 5
Page 5
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 6
Page 6
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 7
Page 7
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 8
Page 8
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
1 Introduction
1.1 Purpose
The LME has embarked on a program to fully rebuild its trading platform, LMEselect, and to upgrade
the technology of its market data platform, LMEsource. LMEsource will be the LME’s sole market
data platform, disseminating incremental updates for bid, ask, trade, statistics and provide recovery
and supporting services for client processing of this market data.
This document specifies the binary interface for LMEsource v4, which will disseminate electronic
market data from LMEselect v10 and non-electronic market data from Ring and Inter Office venues.
Function Reference
Options Options
Page 9
Page 9
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
1.3 Products
A range of products are provided catering for the varying needs of LMEsource clients. Each product
may contain multiple distinct multicast channels and will contain data for both futures and options.
The set of products will encompass Level 1 Top-of-Book, Level 2 15 Levels Price Book and Level 3
Full book offerings for electronic market data.
The table below shows the market data products and the specific chapters in this document that are
relevant to each individual product.
3.5 Retransmission ◆ ◆ ◆
3.6 Refresh ◆ ◆ ◆
Page 10
Page 10
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
(322)
6 Recovery ◆ ◆ ◆
7 Level 2 Aggregate ◆
Order Book
Management
Page 11
Page 11
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 12
Page 12
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
2 System Overview
2.1 Scope
Dual Refresh
Request Retrans
multicast Dual multicast
TCP/IP TCP/IP
channels channels
Client
LMEsource provides market data represented in an efficient binary message format for all
instruments traded on the LME Market. It has been designed for high throughput and low latency.
2.1.1 Multicast
Messages are published in a one-to-many fashion using the IP multicast and UDP transport
protocols. Multicast is not a connection-oriented protocol. Data is sent strictly in one direction from
server to clients.
Due to the inherently unreliable nature of the UDP transport, packets may be lost or delivered out of
sequence. To mitigate the risk of packet loss, the messages are duplicated and sent over two
separate multicast channels (dual channels). Technically, a multicast channel corresponds to a
multicast group.
Each pair of dual multicast channels has a unique identifier, which is referred to as the ChannelID.
More details regarding the configuration parameters (including the IP addresses and port numbers
corresponding to the multicast channels) will be found in the LME Systems Connectivity Guide which
will be provided at a later stage.
• A refresh server provides snapshots of the market state at regular intervals throughout the
business day, see section 3.6 and 6.4. Snapshots are sent using multicast on separate
channels for the real time messages. The time period between snapshots is 45 seconds, but
this may vary across multicast channels.
Page 13
Page 13
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
LMEsource will normally be brought up at around 00:15 – 00:30. This start up time is not rigid and the
LME has the right to adjust this time according to different trading situations.
On each channel the first message at the start of the business day is the Sequence Reset message.
The Sequence Reset message carries sequence number 1. On receipt of this message, the client
must clear all cached data for all instruments.
At start-up, LMEsource will disseminate reference data for outright and strategy tradable instruments.
If a client starts listening after the start of the business day and misses the Sequence Reset message
and reference data, it must use the refresh service to recover and synchronize with the real time
channels.
The following table provides an overview of the Electronic market data messages published by
LMEsource at start of day with indicative times:
Trading session 00:45 1. Market State - Contract (311) and Market State - Instrument
moves to Pre- (312) messages published
Open
2. Indicative Opening Price (320) messages are published
Page 14
Page 14
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Level 3 Participants
1. Order Executed (326) messages are published.
2. Trade Statistics - Intraday (352) messages are published for
the matched trades during uncrossing.
Level 3 Participants
1. Market State - Contract (311) and Market State - Instrument
(312) messages published.
2. Order Book Clear (327) message published.
3. Order Add (323) messages are published to reflect the
current state of the order book. No implied orders are
published.
4. Order Executed (326) messages are published.
Level 3 Participants
1. Order Add (323), Order Amend (324) and Order Cancel
Page 15
Page 15
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Level 3 Participants
1. LMEsource publishes Order Executed (326) messages as
they are matched in real-time.
2. Trade Statistics - Intraday (352) messages are published.
The following table provides an overview of the Non-Electronic market data messages published by
LMEsource at start of day:
Page 16
Page 16
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Normal message transmission is expected between when the market opens for trading and when the
market is closed. Heartbeats are sent at regular intervals (currently set at every 2 seconds) on each
channel when there is no activity. The LME may adjust this interval.
LMEsource will typically shut down at around 21:00 London time after the clearing procedure has
completed. A later shutdown may occur due to special circumstances. The shutdown time is not rigid
and the LME has the right to adjust this time according to different trading situations.
Page 17
Page 17
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
As an example, suppose an Instrument State message is sent showing a change to state ‘Post
Trade’, however for a very short time after this message the regular order and trade information for
this instrument may continue to arrive.
Page 18
Page 18
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Format Description
String ASCII characters which are left aligned and padded with spaces, unless
otherwise specified.
From time to time certain fields cannot be populated and specific values are used to represent null.
The table below shows the values used to represent null for different data types.
Int8 0x80
Uint8 0xFF
Page 19
Page 19
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Uint16 0xFFFF
In order to avoid decimal calculation in LMEsource, the number of implied decimals will be specified
for a field for example Price as shown below. Clients are required to perform the actual scaling for
data value.
The maximum length of a packet is 1500 bytes which includes the multicast headers, packet header
and messages.
A packet will only ever contain complete messages. A single message will never be fragmented
across packets unless otherwise stated.
All packets will begin with a common packet header. The packet header provides information
including the total packet length, the number of messages within the packet, the sequence number of
the first message and a send timestamp.
Page 20
Page 20
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
3 Filler String 1
Header length 16
Page 21
Page 21
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 22
Page 22
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
3.4.1 Heartbeat
Heartbeats consist of a packet header with MsgCount set to 0. They do not carry a sequence number
and therefore do not increment the sequence number of the multicast channel. SeqNum is set to the
sequence number of the previous message sent on the channel.
The Heartbeat message will be identical for all the services.
The Sequence Reset message is sent on each multicast channel at start of day. It may also be sent
intraday in case of a disaster recovery.
The client must ignore the sequence number of the Sequence Reset message itself and set the next
expected sequence number to NewSeqNo. The client may receive multiple sequence reset
messages from all channels. Whenever the Sequence Reset message is received, clients must clear
all cached data for all instruments traded in the Market and then subscribe to the refresh channels to
receive the current state of the market.
Total length 8
The Disaster Recovery (DR) Signal message is sent on a dedicated multicast channel (DR channel)
whenever a site failover is triggered intraday. In normal situations, the dedicated DR channel only
carries heartbeats until the end of the business day.
When site failover begins, a DR Signal is sent with “DRStatus=1” indicating that the DR process has
been activated. Clients should then clear all cached market data and prepare their own system for
the site failover. When the site failover process finishes, a DR Signal will be sent with “DRStatus=2”,
thereupon clients can start to rebuild the latest market image from the refresh service. The same DR
Signal will be sent periodically until the end of the business day. If the DR instance of LMEsource is
started as the primary on the following day and subsequent days, the DR Signal is not sent
Page 23
Page 23
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Total length 8
3.5 Retransmission
Section 6.3 Retransmission service provides details on the retransmission messages.
When the Logon (101) or Retransmission Request (201) messages are sent to the LMEsource
server, the client must also include a packet header as shown below.
The same header is used by the RTS server when sending either a Logon Response (102) or a
Retransmission Response (202) messages to clients. In this case the SeqNum and SendTime fields
are not relevant and can be discarded.
There is no Logoff required for the Retransmission service. The client can simply disconnect from the
session.
Total length 16
Page 24
Page 24
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
After this header, the fields for either Logon (101) or Retransmission Request (201) should follow.
The Logon message enables client authentication. This is not required for multicast channels and is
only used for retransmission requests.
Normal operation: The client sends a Logon message containing username to LMEsource, which
responds with a Logon Response message with the SessionStatus set to 0 (Session Active).
Total length 16
5 Filler String 3
Total length 8
Page 25
Page 25
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
6 Filler String 2
Total length 16
7 Filler String 1
Page 26
Page 26
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
RetransStatus is 0
Total length 16
3.6 Refresh
This message is published to mark the end of a refresh cycle, see section 6.4 for a full description of
refresh.
Total length 8
3.7 Trades
The Market Data Trade message is generated each time a trade has been performed in either the
Electronic, Inter Office1 or Ring venues. When an incoming order matches against multiple resting
orders, there will be one Market Data Trade message published for each matched trade.
At market open on LMEselect, a Market Data Trade message will be published for any orders
entered during Pre-Open that matched.
A Market Data Trade message in a TaS/TaR tradable instrument in the Electronic venue will be
published on Electronic channels with the differential price when the trade is transacted on
LMEselect and published on the Non-Electronic channel when the price is substituted in LMEsmart,
1
Note: Publication of Large in Scale (LIS) option trades will be deferred to next business day at
19:00, see [Link]
Page 27
Page 27
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
see section 15.1. Market Data Trades in TaS/TaR tradable instruments in the Ring and Inter Office
venues will be published with only substituted prices.
A Market Data Trade in a strategy tradable instrument in the Electronic venue will contain the
strategy price and not leg prices. Strategy trades entered in LMEsmart will contain leg prices.
Page 28
Page 28
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
kerb session
K2 = Afternoon
kerb session
C1 = Basis Ring
1
C2 = Basis Ring
2
C3 = Basis Ring
3
D1 = Basis Kerb
1
D2 = Basis Kerb
2
Page 29
Page 29
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 30
Page 30
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
present
0 for the Electronic
venue
Total length 63 +
21no
Page 31
Page 31
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
This message is published for a new contract prior to its first trading date to enable participants to
configure risk management parameters before the contract becomes tradable.
Page 32
Page 32
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
P = Physical
124 LotSize Uint64 8 The lot size for this tradable e.g. ‘20’, ‘25’,
instrument ‘5000’
Static reference data for tradable instruments is organised into two messages that provide a full list of
all securities/tradable instruments available on the LMEselect electronic market. The two messages
are shown in the entity relationship diagram below. The bold field(s) form the primary key for each
message type.
This section is only applicable to reference data for instruments traded on the LMEselect electronic
market.
Page 33
Page 33
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
The TradableInstrumentID field is used to link order and trade messages to a tradable instrument in
an Outright or Strategy Definition. This also applies to Market State - Instrument (312) messages that
are only applicable to one tradable instrument.
Tradable instruments are the lowest level in the product hierarchy as shown in section 9.
Page 34
Page 34
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 35
Page 35
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
‘NADT’
Page 36
Page 36
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
contract
109 LotSize Uint64 8 The lot size for this e.g. ‘20’, ‘25’,
tradable instrument ‘5000’
Page 37
Page 37
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 38
Page 38
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
European
1=
American
2 = Asian
NULL for
Futures
Page 39
Page 39
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Total length 87 +
29no
Page 40
Page 40
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Example 2 – Carry with two rolling prompts merges with multiple Carries containing dated
equivalent legs
A Carry with two rolling legs, Cash-3M, has legs that have single prompt equivalents.
Page 41
Page 41
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Describes the upper and lower price limits for an outright tradable instrument. Where Daily Price
Limits are enabled for a contract, they are published for electronic tradable instruments and the same
limits are also applicable to non-electronic tradable instruments.
Page 42
Page 42
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Total length 36
• Pause – order books remain active, order submission and amendment is not permitted only
cancellation.
• Halt – order books are cleared, order submission and management is not permitted.
Order Book Clear (327) messages can be generated in response to market state changes, see
section 4.3.7.
Note a Technical Halt will occur in the event of a site failover, see section [Link].
This message indicates the trading state of instruments at the contract level, e.g. Copper Futures,
Aluminium Options. The ContractCode field is common across the Contract State (311), Outright
Definition (301) and Strategy Definition (302) messages and is used to link the contract state to
individual tradable instruments.
Page 43
Page 43
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
2 = Open
3 = Post Trade
4 = Close
6 = Technical Halt
44 Filler String 2
Total length 46
This message indicates the trading state of an individual tradable instrument and is sent when the
instrument state differs from that at contract level, for example when TOM goes into Post Trade
before the contract.
Page 44
Page 44
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
41 Filler String 3
Total length 44
For a tradable instrument if Market State - Instrument (312) and Market State – Contract (311)
messages with the same TimeOfEvent have been received, the Market State - Instrument (312)
message should be used to determine the current order book state for the tradable instrument. The
Market State – Contract (311) messages should be ignored.
Page 45
Page 45
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
On receipt of a Market State – Instrument (312) message for a tradable instrument any subsequent
Market State – Contract (311) messages in the parent contract should be ignored for the tradable
instrument.
The Top of Book message is generated when the top price level has been modified. There are no
‘New’, ‘Change’ or ‘Delete’ actions for the Top of Book. Whenever the price, quantity or the number
of orders at the Top of Book changes, a new message is sent.
Whenever an order book is emptied as a result of market activity, a Top of Book message with price
fields set to Null and aggregate quantity / number of orders set to zero will be sent.
The TimeOfEvent is assigned the latest incoming event timestamp regardless of the event that
caused the update to the Top of Book. For GTC and GTD orders that were reloaded the
TimeOfEvent will reflect the uncrossing event time at market open.
Page 46
Page 46
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 47
Page 47
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
The aggregate order book is sent whenever there is an order book change within the top 15 price
levels. The TimeOfEvent is assigned the latest incoming event timestamp that resulted in any price
level being updated or removed. For GTC and GTD orders that were reloaded the TimeOfEvent will
reflect the uncrossing event time at market open.
Refer to Section 7 - Aggregate Order Book Management for details on the Aggregate Order Book
message.
Page 48
Page 48
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Total length 23 +
43no
Page 49
Page 49
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
The Order Add message is generated when an order is placed in order book. An incoming,
aggressing order that matches against one or more resting orders will not be published as an Order
Add message, unless it has residual volume after matching.
Page 50
Page 50
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
S = Sell
71 Filler String 1
Total length 72
The Order Amend message is generated when an order amendment updates the volume downward
or position in the order book.
Page 51
Page 51
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
orders
71 Filler String 1
Total length 72
The Order Cancel message is generated when an order is cancelled in the order book.
Page 52
Page 52
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
55 Filler String 1
Total length 56
The Order Executed message is generated when an order is executed. An Order Executed message
will not be published for an aggressing order unless it matches with a resting implied order.
Publishing an Order Executed message for a resting implied order will only occur when two implied
orders are matched.
Page 53
Page 53
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 54
Page 54
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Total length 57 +
29no
The Order Book Clear message is generated when order book is required to be clear, for example
after the transition between certain market states, or when an instrument’s Trading State Condition is
‘Trade Halt’.
The market state transitions that result in an Order Book Clear message are:
1. Pre-Open to Open. Any order events entered during Pre-Open that did not match during
uncrossing are published after the Order Book Clear message.
2. Open to Post-Trade.
Following an 'Order Book Clear' message, if an instrument is subsequently open for trading any
resting orders will be sent as Top of Book / Aggregate Order Book / Order Add messages to allow
clients to rebuild the order book.
An Order Book Clear message will not be published when an instrument enters or leaves ‘Trade
Pause’.
Page 55
Page 55
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Total length 22
The Quote Request message is generated when a request for quote is accepted by the Matching
Engine.
Page 56
Page 56
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
28 Filler String 2
Total length 30
The Indicative Opening Price (IOP) is the predicted opening trade price which is calculated using the
uncrossing algorithm during Pre-Open. If there are no crossed prices, no IOP is calculated or
disseminated. If a tradable instrument does not have a crossed order book but does have both a bid
and offer price then a mid-price (IOMP) will be calculated and published instead of the IOP.
An IOP and IOMP are mutually exclusive, i.e. when an IOP is available the IOMP is not applicable,
and will be set to null, and vice versa.
At the market state transition from Pre-Open to Open, an IOP message is published for every
tradable instrument with IndicativeOpeningPrice, and IndicativeOpeningMidPrice set to null and
IndicativeOpeningVolume set to 0 to indicate the IOP and IOMP prices are no longer valid.
Page 57
Page 57
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
place format.
42 Filler String 2
Total length 44
The Trade Statistics - End of Day message is generated when the market moves to the Post-Trade
session for instruments that have traded. LMEsource will publish the LMEselect Opening and Closing
Prices, LMEselect Trading High, and LMEselect Trading Low for all contracts that have traded during
the day. The LMEselect Opening Price is the price of the first trade of the day.
Note: due to sequence of message publication the Trade Statistic - End of Day message may be
disseminated before the Instrument State (312) message that confirms the instrument as being in the
‘Post-Trade’ or ‘Closed’ state.
If there was an intraday restart of the LMEselect the OHL statistics will have been reset at the restart
and will reflect the open, high and low prices for the market session after restart.
Page 58
Page 58
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Total length 54
The Trade Statistics - Intraday message contains trade information for completed trades. The trade
statistics information is provided on a snapshot basis.
At market open, if there has been any uncrossing activity in the instrument, three messages will be
published, one each for open price, high price and low price. Each of these three messages will
include any previously published OHL price. The opening price is the price of the first trade of the
day.
If there was no uncrossing activity in the instrument, a single Trade Statistics - Intraday message is
published, with the OpenPrice, TradeHigh and TradeLow fields set to null. Upon the first trade of the
day, three messages will be published, one each for open price, high price and low price.
If there is an intraday restart of the LMEselect the OHL statistics will be reset and will reflect the
open, high and low prices after the restart.
Page 59
Page 59
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Total length 46
Page 60
Page 60
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
The diagram in section 9 shows the levels in the product hierarchy which includes Instrument and
Tradable Instrument.
Page 61
Page 61
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
The InstrumentID links the tradable instrument and instrument. The InstrumentID is also used to link
reference prices, open interest and trading volume to an instrument.
For an electronic tradable instrument, the ContractCode, ExpiryDate and ISIN in the Outright
Definition (301) can be mapped to the ContractCode, ExpiryDate and ISIN in the Instrument
Definition (303) to obtain the InstrumentID and a lookup into the Reference Price (401), Open Interest
(420) or Trading Volume (424).
Note multiple tradable instruments in both the electronic and non-electronic markets can map to a
single InstrumentID, as shown in the following example:
Page 62
Page 62
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Describes an individual outright, strategy or Trade at Reference tradable instrument on the Ring or
Inter Office venue.
Page 63
Page 63
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
NULL if
InstrumentType =
Strategy
Page 64
Page 64
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
market
Page 65
Page 65
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
place format.
Page 66
Page 66
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 67
Page 67
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
type code = 9, it
represents the delta
value for each delta
hedge leg e.g.
0.413 delta (413).
This message indicates the trading state of the product on the Ring and includes the ring session.
Page 68
Page 68
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Total length 19
This message is generated each time there is a new order price and when Ring prices are withdrawn
or deleted. Prices can be withdrawn if they are no longer being quoted by traders in the Ring. Prices
can be deleted if incorrectly entered.
Page 69
Page 69
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 70
Page 70
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
published.
The value is updated
as messages are
published. When the
value of
RemainingRecords =
RecordCount it
indicates that this is
the last message.
Total length 49 +
13no
This message is generated each time there is a trade price and when a price has been deleted.
Page 71
Page 71
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
transaction occurred.
Total length 33
Under the MiFIR (Markets in Financial Instruments and Amending Regulation) pre-trade
transparency requirements, current bid and offer prices entered in the Inter Office market are
published in a Systematic Fixed Price Auction (SFPA).
This message is generated whenever there is a change in Auction status.
Page 72
Page 72
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
This message is generated at the end of each Ring trading session for instruments that have traded.
Two messages will be published, one for each high price and low price. If no price has been received
the field will be set to null.
Page 73
Page 73
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Message length 40
Reference prices are published for instruments with an InstrumentID for the following price types:
• Official
• Settlement
• Closing
• Index.
Instruments are published in the Instrument Definition (303), see section 5.1.1.
Reference prices are provided according to the following schedule:
Time Description
Page 74
Page 74
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Time Description
Index Price
The index price is based on the Closing Price and relative weighting of the index
constituent commodities.
The index value is calculated as the sum of the prices for the three qualifying
months multiplied by the corresponding weights, multiplied by a constant. The
constituents of the index are: Aluminium, Copper, Lead, Nickel, Tin and Zinc
(with each having their own weighting). Weightings of the six metals are derived
from global production volume and trade liquidity averaged over the preceding
five-year period.
Page 75
Page 75
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Page 76
Page 76
LMEsource Client Interface Specification Version Version 4.12
LME Classification: Public
Total length 98
Page 77
Page 77
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Monthly Moving Average Price I (Instrument) Settlement Provisional NULL NULL For MAF contracts every business day
(MMAP) except for the last business day of the
month
Monthly Average Settlement I (Instrument) Settlement Final NULL NULL For MAF contracts on the last
Price (MASP) business day of the month
ReFinalised
Notional Average Price (NAP) I (Instrument) Closing Final NULL NULL For MAF contracts only
Page 78
Page 78
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
ReFinalised
Page 79
Page 79
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Indicative and closing prices are published for Carries according to the following schedule:
Time Description
Page 80
Page 80
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Total length 37 +
28no
Page 81
Page 81
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Daily FX rates are available for the Cash prompt and Closing FX rates are available for all prompt
dates for physically deliverable metals. Monthly moving average FX rates are generated daily.
Monthly average FX rates are generated on the last business day of the month.
FX rates are provided according to the following schedule:
Time Description
Closing FX Rates
Note: MonthlyMovingAverage and MonthlyAverage will only be published for the Exchange category.
Page 82
Page 82
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Total length 29
The Reference Volatility Price message provides ‘raw’ strikes. LME volatilities are quoted in Delta
space. The strikes for which LME provide volatilities correspond to +/-5, +/-10, +/-25, 50 deltas, the
“at-the-money” and tradable strikes for the instrument. The volatilities for all deltas in both the strike
space and the delta space, other than the 50 and the ATM are reported as differentials from the
absolute value for the 50 in the delta space. For each of these strikes put and call premiums are
calculated. For computation of premiums, the LME uses Black76.
The calculated Call Premium and Put Premium are also provided for each volatility / strike price for
both Traded Options and TAPOs.
Prices are provided according to the following schedule:
Time Description
Page 83
Page 83
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 84
Page 84
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Total length 36 +
50no
This message provides daily and monthly average prices from the Platinum and Palladium auction.
Reference bullion prices are provided according to the following schedule:
Time Description
Page 85
Page 85
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
PM = Afternoon
∑ NumCurrencyPrices means:
NumCurrencyPrices(1)+ NumCurrencyPrices(2)+ …+NumCurrencyPrices(n)
Where n = NumPriceType
This message reports Exchange and Market Open Interest for open positions in futures and options
contracts. Exchange open interest volumes are provided per currency (contract code) and not
aggregated across currencies whereas market open interest volumes are aggregated across
currencies and reported against USD denominated instruments.
Exchange Open Interest is based on open positions in registered contracts between LME clearing
members only recorded on LMEsmart.
Market Open Interest is the reported gross, based on both open exchange positions and open client
positions for a particular contract.
Page 86
Page 86
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Time Description
Total length 36
Page 87
Page 87
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
This message reports open interest for all futures trades by product between given dates. Open
interest volumes are provided per currency (contract code) and not aggregated across currencies.
Open interest band is provided according to the following schedule:
Time Description
Page 88
Page 88
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Total length 30 +
12no
This message reports the number of market participants holding futures positions as a percentage of
Market Open Interest.
Position band data is provided according to the following schedule:
Time Description
Page 89
Page 89
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 90
Page 90
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
∑ ShortPositionPromptDateCount means:
ShortPositionPromptDateCount(1)+ ShortPositionPromptDateCount(2)+…
ShortPositionPromptDateCount(n)
Where n = ShortPositionBandCount
This message reports the number of market participants holding a significant percentage of warrants
and positions along the front of the curve (Tom, Cash and Cash plus one day).
Warrant band data is provided according to the following schedule:
Time Description
11:00 Warrant Band (WB) figures from two business days in arrears
11:00 Warrant Band Cash (WC) figures from two business days in arrears
Page 91
Page 91
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Time Description
11:00 Warrant Band Tom (WT) figures from two business days in arrears
Page 92
Page 92
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Implicit 6 decimal
place format
Total length 26 +
20no
This message provides the traded volume in lots for matched trades in futures and options
instruments.
Trading volume data is provided according to the following schedule:
Time Description
10:00 Previous business day Trading Volume including Large In Scale (LIS) options from
two business days in arrears, see also [Link]
types/Options/Large-in-scale-options
Page 93
Page 93
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Total length 40
This message provides stock movement data from LME approved warehouses by product, grade,
stock status and location in tonnes.
Warehouse stock movement data is provided according to the following schedule:
Time Description
Stock figures for one location (or port) are actually the aggregate of all the stocks in all the
warehouses in that one location.
The following report levels are published in the order specified:
• Summary (by product and status, all locations and all grades)
• Location (by product, location and status, all grades)
• Grade (by product, grade and status, all locations)
• Detailed (by product, grade, location and status)
Page 94
Page 94
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 95
Page 95
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Total length 24 +
17no
Page 96
Page 96
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
For example:
A specific location, ‘ANTW’ contains opening stock of:
900 tonnes of Primary (High Grade) Aluminium
Of which 400 tonnes is LME Western Europe Aluminium Premium
This will be reported as:
Metal = AH, Location = ANTW, Stock = 900
Metal = AW, Location = ANTW, Stock = 400
In the above example, the ‘AH’ holding of 900 is calculated as:
500 Primary (High Grade) Aluminium + 400 LME Western Europe Aluminium Premium
The ‘AW’ holding of 400 is reported in its own right.
09:00 - Indicative prices in Reference Price (401) and Reference Forward Curve (402)
17:00
09:10 T+1 Exchange Open Interest in Open Interest (420) and Open Interest Band (421)
13:30 - Monthly Moving Average Price (MMAP) / Monthly Average Settlement Price
14:30 (MASP) in Reference Price (401)
Page 97
Page 97
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
17:00 - Provisional Closing Prices in Reference Price (401) and Reference Forward Curve
17:50 (402)
17:50 - Final Closing Prices in Reference Price (401) and Reference Forward Curve (402)
18:15
No scheduled time for Index price in Reference Price (401) and Closing FX Rates in Reference FX
Rate (403).
Page 98
Page 98
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
6 Recovery
LMEsource provides three different mechanisms for recovering missed data:
1. Line arbitration – using dual multicast channels (Line A and Line B)
2. Retransmission Server – recovery of a limited number of messages
3. Refresh Server – snapshot of current market state
These mechanisms should be used as described in the following table.
Event Action
Packet lost on one either Line A or Try to recover data from the other line with a
Line B configurable timeout (“arbitration mechanism”).
Dropped packet(s) on both Line A and Recover dropped message(s) from the Retransmission
Line B Server.
Late start up or extended intraday Wait for a refresh of the current market state and then
outage continue with real time messages.
Packet 1 1 4
Packet 2 5 2
Packet 3 7 1
Packet 4 8 3
Packet 5 11 1
If the client drops the first five packets they would request a gap fill for messages 1-11.
All messages conform to the message level sequencing. Each channel has its own sequence
number. This allows recipients to detect gaps or duplicates in each message sequence number and,
Page 99
Page 99
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
if appropriate, reconcile them (line arbitration) with the primary or secondary multicast groups or
request retransmission of the missing / corrupted messages.
Users should use this sequence number to detect gaps in the transmission of messages.
Page 100
Page 100
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
The following diagram illustrates how the message sequence number should be used to detect gaps
in the feed.
Begin
Ignore Packet No
(Duplicate)
Is current SN + MsgCount
Yes in current packet less than the
next expected SN ?
No
Yes
Process messages
Yes
End
Page 101
Page 101
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
• SNs
Additional Notes:
- The above example of a dropped packet is a simplified example assuming 1 message per packet,
in reality each packet is likely to contain multiple messages
- Whilst the order of individual messages between Line A and Line B will be identical, there is no
guarantee that the packets will contain exactly the same messages.
- In the example below, three packets are sent on each line, but message ‘OrderUpdate3’ appears in
one packet from Line A but in the subsequent packet on Line B.
Page 102
Page 102
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Primary Secondary
Messages MC SN SN MC Messages
Logon
Logon RESPONSE
Retransmission REQUEST
Retrans. Server
Client
Retransmission Results
Requested Messages
6.3.1 Logon
The client establishes a TCP/IP connection and initiates a session by sending the Logon message.
Once the client is authenticated the server will respond immediately with the Logon Response
message. If the client does not send a Logon message within the logon timeout interval, the server
will close the connection.
Page 103
Page 103
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
• Invalid username
The client can make a retransmission request by sending the Retransmission Request message. The
server will respond with a Retransmission Response message to indicate whether the request has
been accepted or not. The following values for RetransStatus can be returned:
Value Description
0 Request Accepted
1 Unknown/Unauthorized channel ID
In the case of a successful request the server will send the requested messages immediately after
the Retransmission Response message.
The sequence numbers will be the same as when they were first sent on the real time multicast
channel. The framing of the retransmitted messages into a packet may differ from the original
transmission.
In the case where the client has exceeded the maximum number of requests allowed in a day, the
server will close the connection after sending the Retransmission Response message.
Page 104
Page 104
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
The following diagram is a guideline of the flow of logic when making a request:
No Contact Helpdesk
Logon to the Retransmission
Is the logon accepted? and use the Refresh
Server
Service
Yes
No
Clients can send multiple requests during a session and can keep the session open during idle
periods by responding to heartbeats sent by the server. Concurrent sessions however will not be
supported. Each user can only have one session open at a time.
If a client makes multiple requests, the server will process them serially. Clients are unable to cancel
outstanding requests.
6.3.4 Heartbeats
To determine the health of the user connection on the TCP/IP channel, the Retransmission Server
will send regular heartbeat packets to the user. The heartbeat frequency is 30 seconds. The client
application must respond with a “Heartbeat Response” packet. The time out for this heartbeat
response packet is set at 5 seconds. If no response is received by the server within this timeframe,
the TCP/IP session will be disconnected.
Heartbeat
Retrans.
Server
User
TCP/IP
Heartbeat Response
A “heartbeat response” packet consists in an exact copy of the incoming heartbeat packet.
Page 105
Page 105
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Please note that the maximum number of requests per day limit is across all channels.
For each site, two sets of IP addresses and ports are provided for the retransmission service in order
to facilitate high availability. Clients may connect to both retransmission services at the start of the
day and maintain the connection during the day by responding to heartbeats.
The LME will provide a Fully Qualified Domain Name (FQDN) to access the retransmission service.
Under normal operation the FQDN will resolve to the high availability retransmission service at the
Active Production site. Clients may connect to the retransmission service at the start of the day and
maintain the connection during the day by responding to heartbeats.
During normal conditions the retransmission service at the disaster site is not available. If clients
attempt to connect, this will fail.
In the unlikely event of a disaster recovery situation, the retransmission service at the disaster site
will be brought up and clients may connect via the backup IP addresses and ports.
Page 106
Page 106
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
6.4.1 Snapshot
Reference Data A full list of all Outright Definition, which includes any modifications or
additions made intraday. The order is sent as:
Outright Definition (301), Strategy Definition (302), Price Limits (305)
Contract Definition (300) for a pre-listed contact prior to its first trading
day
Market Status The most recent Market State - Instrument (312) message of
declared TradableInstrumentID.
Orders For L1 clients: the latest level 1 Price book via Top of Book (321)
messages.
For L2 clients: the latest 15 levels of Price book via Aggregate Order
Book (322) messages. The ordering of the price levels in the
Aggregate Order Book (322) message in the RFS snapshot will be
from worst to best. This is the reverse of the sequence in the real-
time Aggregate Order Book (322) message.
For L3 clients: the snapshot of the full order book via Order Add (323)
messages. The OrderbookPosition field and the T1, T2 and T3
timestamp fields will not be populated in the RFS snapshot.
Trade Statistics The latest Trade Statistics - Intraday (352) message of declared
TradableInstrumentID.
Trades A replay of all Market Data Trade (341) messages from start of day.
Indicative Opening Price The latest Indicative Opening Price (320) message of declared
TradableInstrumentID. IOP/IOMP messages are only included in RFS
snapshots in Pre-Open. Once the markets transition to Open and the
IOP/IOMP clear messages have been published, there are no
IOP/IOMP messages in the RFS snapshots thereafter.
Quote Request The latest Quote Request (329) message of declared Tradable
Page 107
Page 107
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Instrument ID.
Non-Electronic:
Reference Data A full list of all Instrument Definition (303) messages and any
additions made intraday
A full list of all Tradable Instrument Definition (304) messages which
includes any modifications or additions made intraday
Reference Prices Reference Price (401) of declared PriceType and PriceStatus for the
InstrumentID:
• Official
• Settlement
• Closing
• Index
Messages with PriceType = Settlement and PriceStatus = Provisional
(MMAP) will be published independent of any other price status.
Once a message with PriceStatus = Provisional has been published
for the InstrumentID, there are no further messages with PriceType =
Indicative in the RFS snapshot.
Once a message with PriceStatus = Final has been published for the
InstrumentID, there are no further messages with PriceType =
Provisional in the RFS snapshot.
Once a message with PriceStatus = ReFinalised is published for an
InstrumentID in a particular price type, no further messages will be
published with PriceStatus = Final.
Page 108
Page 108
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Reference FX Rates The latest Reference FX Rate (403) of declared Exchange Category,
Type, base currency and target currency.
The latest Reference FX Rate (403) of Closing Category, Type,
MaturityDate, base currency and target currency.
Market Status The most recent Market State - Product (310) messages of declared
ProductCode.
Open Interest All Open Interest (420) and Open Interest Band (421) messages
Positions All Position Band (422) and Warrant Band (423) messages
Page 109
Page 109
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
The ordering of refresh message types within the multicast channels is detailed below:
Electronic:
Instrument Definition and Outright Definition (301), Strategy Definition (302), Price Limits (305),
End of Day Statistics Contract Definition (300) for a pre-listed contact prior to its first trading
day, Trade Statistics - End of Day (351)
Order (L1 clients) Market State - Instrument (312), Market State - Contract (311),
Indicative Opening Price (320), Quote Request (329), Top of Book
(321)
Order (L2 clients) Market State - Instrument (312), Market State - Contract (311),
Indicative Opening Price (320), Quote Request (329), Aggregate
Order Book (322)
Order (L3 clients) Market State - Instrument (312), Market State - Contract (311),
Indicative Opening Price (320), Quote Request (329), Order Add
(323)
Non-Electronic:
Reference Data and Instrument Definition (303), Tradable Instrument Definition (304),
Intraday Statistics Order Statistics - Intraday (350)
Reference Prices Reference Price (401), Reference Forward Curve Price (402),
Reference FX Rate (403), Reference Volatility Price (404), Reference
Auction Price (405)
All trades, orders Market State - Product (310), Market Data Order (328), Indicative
Trade Price (340), Market Data Trade (341)
Daily Summaries Open Interest (420), Open Interest Band (421), Position Band (422),
Warrant Band (423), Trading Volume (424)
(Positions)
Page 110
Page 110
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
A Refresh Complete message is sent at the end of a snapshot indicating the sequence number with
which the snapshot is synchronized.
Below is an overview of the steps to carry out in order to process a channel snapshot:
• Subscribe to the real time multicast channel and cache received messages.
• Subscribe to the corresponding refresh multicast channel and discard messages until the
Refresh Complete message is received.
• Process received messages until the next Refresh Complete message is received.
• Discard the cached real time messages with sequence number less than or equal to
LastSeqNum.
• Process the remaining cached real-time messages and resume normal processing.
The retransmission server does not support refresh channels. If a client misses messages, it must
wait for the next snapshot. Similarly if a client starts listening during the middle of a snapshot, it must
wait for the next snapshot.
Page 111
Page 111
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Price No. Of No. of Agg. Price Price Agg. No. of No. of Price
Level Implied Explicit Volume Volume Explicit Implied Level
Orders Orders Orders Orders
5 - - - - - - - - 5
Page 112
Page 112
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
0 MsgSize 109
2 MsgType 322
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 1234
22 NoEntries 2
23 AggregateVolume 200
31 Price 9770
39 NumberOfExplicitOrders 2
43 TotalQtyOfExplicitOrders 200
51 NumberOfImpliedOrders 0
55 TotalQtyOfImpliedOrders 0
63 BuySell S
64 PriceLevel 2
Page 113
Page 113
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
65 UpdateAction 1
66 AggregateVolume 300
74 Price 9850
82 NumberOfExplicitOrders 1
86 TotalQtyOfExplicitOrders 300
94 NumberOfImpliedOrders 0
98 TotalQtyOfImpliedOrders 0
106 BuySell S
107 PriceLevel 5
108 UpdateAction 0
Price No. Of No. of Agg. Price Price Agg. No. of No. of Price
Level Implied Explicit Volume Volume Explicit Implied Level
Orders Orders Orders Orders
5 - - - - 9850 300 1 0 5
Page 114
Page 114
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
For example, if a bid order with price 9740 and quantity 50 is added to the order book above, it will
cause the following message to be sent:
0 MsgSize 66
2 MsgType 322
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 1234
22 NoEntries 1
23 AggregateVolume 50
31 Price 9740
39 NumberOfExplicitOrders 1
43 TotalQtyOfExplicitOrders 50
51 NumberOfImpliedOrders 0
55 TotalQtyOfImpliedOrders 0
63 BuySell B
64 PriceLevel 1
65 UpdateAction 0
After processing this message, the client’s book should look as follows:
Price No. Of No. of Agg. Price Price Agg. No. of No. of Price
Level Implied Explicit Volume Volume Explicit Implied Level
Orders Orders Orders Orders
Page 115
Page 115
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Price No. Of No. of Agg. Price Price Agg. No. of No. of Price
Level Implied Explicit Volume Volume Explicit Implied Level
Orders Orders Orders Orders
The price levels for the existing Bid orders must all be incremented even though there will not be
Aggregate Order Book messages sent for these increments. The implied bid order at a price of 9730
at (new) price level 2 remains in the order book, even though it is no longer at the best price.
0 MsgSize 109
2 MsgType 322
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 1234
22 NoEntries 2
23 AggregateVolume 250
31 Price 9750
Page 116
Page 116
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
39 NumberOfExplicitOrders 1
43 TotalQtyOfExplicitOrders 250
51 NumberOfImpliedOrders 0
55 TotalQtyOfImpliedOrders 0
63 BuySell B
64 PriceLevel 1
65 UpdateAction 0
66 AggregateVolume 110
74 Price 9710
82 NumberOfExplicitOrders 1
86 TotalQtyOfExplicitOrders 110
94 NumberOfImpliedOrders 0
98 TotalQtyOfImpliedOrders 0
106 BuySell B
107 PriceLevel 5
108 UpdateAction 1
After processing this message, the client’s book should look as follows:
Price No. Of No. of Agg. Price Price Agg. No. of No. of Price
Level Implied Explicit Volume Volume Explicit Implied Level
Orders Orders Orders Orders
Page 117
Page 117
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Price No. Of No. of Agg. Price Price Agg. No. of No. of Price
Level Implied Explicit Volume Volume Explicit Implied Level
Orders Orders Orders Orders
Price 9750 and quantity 250 is added according to the message. Price 9700 and quantity 250 must
be deleted by the client.
Price 9710 quantity must be reduced to 110. The AOB messages uses the price level 5 to reflect the
new price level of the price 9710 after the addition of the new price level at price of 9750.
0 MsgSize 109
2 MsgType 322
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 1234
22 NoEntries 2
23 AggregateVolume 250
Page 118
Page 118
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
31 Price 9750
39 NumberOfExplicitOrders 1
43 TotalQtyOfExplicitOrders 250
51 NumberOfImpliedOrders 0
55 TotalQtyOfImpliedOrders 0
63 BuySell B
64 PriceLevel 1
65 UpdateAction 2
66 AggregateVolume 250
74 Price 9700
82 NumberOfExplicitOrders 1
86 TotalQtyOfExplicitOrders 250
94 NumberOfImpliedOrders 0
98 TotalQtyOfImpliedOrders 0
106 BuySell B
107 PriceLevel 5
108 UpdateAction 0
Page 119
Page 119
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Price No. Of No. of Agg. Price Price Agg. No. of No. of Price
Level Implied Explicit Volume Volume Explicit Implied Level
Orders Orders Orders Orders
0 MsgSize 66
2 MsgType 322
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 1234
22 NoEntries 1
23 AggregateVolume 300
31 Price 9780
Page 120
Page 120
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
39 NumberOfExplicitOrders 2
43 TotalQtyOfExplicitOrders 300
51 NumberOfImpliedOrders 0
55 TotalQtyOfImpliedOrders 0
63 BuySell S
64 PriceLevel 3
65 UpdateAction 1
Price No. Of No. of Agg. Price Price Agg. No. of No. of Price
Level Implied Explicit Volume Volume Explicit Implied Level
Orders Orders Orders Orders
Page 121
Page 121
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
0 MsgSize 109
2 MsgType 322
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 1234
22 NoEntries 2
23 AggregateVolume 150
31 Price 9770
39 NumberOfExplicitOrders 2
43 TotalQtyOfExplicitOrders 0
51 NumberOfImpliedOrders 0
55 TotalQtyOfImpliedOrders 0
63 BuySell S
64 PriceLevel 2
65 UpdateAction 1
Price No. Of No. of Agg. Price Price Agg. No. of No. of Price
Level Implied Explicit Volume Volume Explicit Implied Level
Orders Orders Orders Orders
Page 122
Page 122
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Price No. Of No. of Agg. Price Price Agg. No. of No. of Price
Level Implied Explicit Volume Volume Explicit Implied Level
Orders Orders Orders Orders
Page 123
Page 123
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 124
Page 124
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Following an 'Order Book Clear' message any existing orders for the instrument will be resent as
Order Add (323) messages to rebuild the current image.
The table below shows the starting position of the order book for the following examples:
0 MsgSize 72
2 MsgType 323
4 TradingVenue EL
6 TimeOfEvent 123456789
14 T1 123456789
22 T2 123456789
30 T3 123456789
38 TradableInstrumentID 1234
46 OrderID 0006
Page 125
Page 125
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
54 BuySell B
55 Volume 75
59 Price 9720
67 OrderBookPosition 4
71 Filler -
The new Bid order 0006 is inserted into the order book at position 4. The existing order 0002 at the
same price of 9720 remains in its higher position of 3 due to its time priority. Orders 0001 and 0005
must have their order book positions adjusted down one step by the client.
0 MsgSize 72
2 MsgType 324
Page 126
Page 126
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
4 TradingVenue EL
6 TimeOfEvent 123456789
14 T1 123456789
22 T2 123456789
30 T3 123456789
38 TradableInstrumentID 1234
46 OrderID 0002
54 BuySell B
55 Volume 300
59 Price 9720
67 OrderBookPosition 3
71 Filler -
The quantity of Bid order 0002 is reduced from 350 to 300. It remains at order book position 3.
Page 127
Page 127
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
0 MsgSize 72
2 MsgType 325
4 TradingVenue EL
6 TimeOfEvent 123456789
14 T1 123456789
22 T2 123456789
30 T3 123456789
38 TradableInstrumentID 1234
46 OrderID 0001
54 BuySell B
55 Filler -
0 MsgSize 72
2 MsgType 323
Page 128
Page 128
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
4 TradingVenue EL
6 TimeOfEvent 123456789
14 T1 123456789
22 T2 123456789
30 T3 123456789
38 TradableInstrumentID 1234
46 OrderID 0001
54 BuySell B
55 Volume 165
59 Price 9710
67 OrderBookPosition 5
71 Filler -
No Order Amend message is published and the order remains at order book position 5.
Page 129
Page 129
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
0 MsgSize 72
2 MsgType 325
4 TradingVenue EL
6 TimeOfEvent 123456789
14 T1 123456789
22 T2 123456789
30 T3 123456789
38 TradableInstrumentID 1234
46 OrderID 1001
54 BuySell S
55 Filler -
The client must remove OrderID 1001 from their order book and adjust the order book position for the
remaining Ask Orders up by one step.
Page 130
Page 130
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
0 MsgSize 53
2 MsgType 326
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 1234
22 Price 9760
30 Volume 100
34 OrderID 1004
Page 131
Page 131
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
42 MatchID 9988
50 TradeCancelFlag 0
51 SubTypeOfTrade 1 (Explicit)
52 TradeBuySell S
53 StrategyLegCount 0
The client must update the quantity for OrderID 1004 in their order book. The order book should now
look like:
Page 132
Page 132
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
0 MsgSize 53
2 MsgType 326
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 1234
22 Price 9730
30 Volume 500
34 OrderID 0003
42 MatchID 7766
50 TradeCancelFlag 0
51 SubTypeOfTrade 1 (Explicit)
52 TradeBuySell B
53 StrategyLegCount 0
0 MsgSize 53
2 MsgType 326
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 1234
22 Price 9730
Page 133
Page 133
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
30 Volume 200
34 OrderID 0004
42 MatchID 7767
50 TradeCancelFlag 0
51 SubTypeOfTrade 1 (Explicit)
52 TradeBuySell B
53 StrategyLegCount 0
0 MsgSize 53
2 MsgType 326
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 1234
22 Price 9720
30 Volume 100
34 OrderID 0002
42 MatchID 7768
50 TradeCancelFlag 0
51 SubTypeOfTrade 1 (Explicit)
52 TradeBuySell B
Page 134
Page 134
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
53 StrategyLegCount 0
The client must remove Orders 0003 and 0004, and update the quantity for OrderID 0002 in their
order book. The remaining Bid orders have their order book position updated. The order book should
now look like:
- - - - - - - -
• Order 1: An explicit outright Bid Order in Month 1 with a price of 9400 and quantity of 10
• Order 2: An Ask Carry Order in Month1/Month2 with a price of 20 and a quantity of 12.
Order 3: Implied Bid is generated in Month 2 from Order 1 and Order 2 with a quantity of 10.
A subsequent order is submitted:
• Order 4: An explicit outright Ask order in Month 2 at a price of 9380 and a quantity of 9.
Order 4 trades with the Implied Bid in Month 2 (Order 3) at a price of 9380 for 9 lots.
The following Order Executed messages are published:
0 MsgSize 54
2 MsgType 326
Page 135
Page 135
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 5053
22 Price 9380
30 Volume 9
34 OrderID NULL
42 MatchID 7799
50 TradeCancelFlag 0
51 SubTypeOfTrade 7 (Implied)
52 TradeBuySell S
53 StrategyLegCount 0
0 MsgSize 54
2 MsgType 326
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 5085
22 Price 9400
30 Volume 9
34 OrderID 0006
Page 136
Page 136
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
42 MatchID 7850
50 TradeCancelFlag 0
51 SubTypeOfTrade 7 (Implied)
52 TradeBuySell B
53 StrategyLegCount 0
0 MsgSize 112
2 MsgType 326
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 23358
22 Price 20
30 Volume 9
34 OrderID 0007
42 MatchID 7862
50 TradeCancelFlag 0
51 SubTypeOfTrade 7 (Implied)
52 TradeBuySell S
53 StrategyLegCount 2
LegNumber 5085
Page 137
Page 137
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
LegBuySell S
LegPrice 9400
LegVolume 9
LegMatchID 7850
LegNumber 5053
LegBuySell B
LegPrice 9380
LegVolume 9
LegMatchID 7799
• Order 1: An explicit outright Bid Order in Month 1 with a price of 9400 and quantity 10.
• Order 2: An Ask Carry Order in Month1/Month2 with a price of 10 and a quantity of 10
Order 3: Implied Bid is generated in Month 2 from Order 1 and Order 2 with a quantity of 10
Subsequent orders are submitted:
Order 6: Implied Ask is generated in Month 2 from Order 4 and Order 5 with a quantity of 7
The implied orders trade at a price of 9390 for 7 lots.
The following Order Executed messages are published:
0 MsgSize 54
2 MsgType 326
4 TradingVenue EL
Page 138
Page 138
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
6 TimeOfEvent 123456789
14 TradableInstrumentID 5085
22 Price 9390
30 Volume 7
34 OrderID NULL
42 MatchID 8065
50 TradeCancelFlag 0
52 TradeBuySell B
53 StrategyLegCount 0
0 MsgSize 112
2 MsgType 326
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 23358
22 Price 10
30 Volume 7
34 OrderID 0008
42 MatchID 8066
Page 139
Page 139
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
50 TradeCancelFlag 0
51 SubTypeOfTrade 7 (Implied)
52 TradeBuySell S
53 StrategyLegCount 2
LegNumber 5085
LegBuySell S
LegPrice 9390
LegVolume 7
LegMatchID 1
LegNumber 5053
LegBuySell B
LegPrice 9380
LegVolume 7
LegMatchID 2
0 MsgSize 54
2 MsgType 326
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 5053
Page 140
Page 140
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
22 Price 9380
30 Volume 7
34 OrderID 0009
42 MatchID 8067
50 TradeCancelFlag 0
51 SubTypeOfTrade 7 (implied)
52 TradeBuySell S
53 StrategyLegCount 0
0 MsgSize 54
2 MsgType 326
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 5144
22 Price 9400
30 Volume 7
34 OrderID 0010
42 MatchID 8068
50 TradeCancelFlag 0
51 SubTypeOfTrade 7 (Implied)
Page 141
Page 141
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
52 TradeBuySell B
53 StrategyLegCount 0
0 MsgSize 112
2 MsgType 326
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 23357
22 Price 10
30 Volume 7
34 OrderID 0011
42 MatchID 8069
50 TradeCancelFlag 0
51 SubTypeOfTrade 7 (Implied)
52 TradeBuySell S
53 StrategyLegCount 2
LegNumber 5144
LegBuySell S
LegPrice 9400
LegVolume 7
Page 142
Page 142
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
LegMatchID 4
LegNumber 5085
LegBuySell B
LegPrice 9390
LegVolume 7
LegMatchID 8
• Order 1: An explicit outright Bid Order in Month 1 with a price of 9400 and quantity 15
• Order 2: An explicit outright Ask Order in Month 1 with a price of 9405 and quantity 15
• Order 3: An explicit outright Ask Order in Month 1 with a price of 9400 and quantity 16
Order 1 trades with Order 3 when the market moves into Open.
The following Order Executed message is published:
0 MsgSize 54
2 MsgType 326
4 TradingVenue EL
6 TimeOfEvent 123456789
14 TradableInstrumentID 5085
22 Price 9400
30 Volume 15
34 OrderID 0012
42 MatchID 8099
Page 143
Page 143
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
50 TradeCancelFlag 0
51 SubTypeOfTrade 2 (Uncrossing)
52 TradeBuySell B
53 StrategyLegCount 0
Page 144
Page 144
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 145
Page 145
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Semi-annual prompts Sequential contiguous labels: S1, S2, S3…S20. S is always June
or December, with S1 being the nearest of these after the Cash
prompt.
Specific Prompts DEC1 - the December monthly in the next calendar year according
to the current trading day
DEC2 - the December monthly in the second next calendar year
according to the current trading day
DEC3 - the December monthly in the third next calendar year
according to the current trading day
15M - the 3rd Wednesday (monthly) prompt that falls in the month
15 months from the current month
27M - the 3rd Wednesday (monthly) prompt that falls in the month
27 months from the current month
63M - the 3rd Wednesday (monthly) prompt that falls in the month
63 months from the current month
123M - the 3rd Wednesday (monthly) prompt that falls in the
month 123 months from the current month
Page 146
Page 146
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Second Business Day nM2BD - the second LME business day of the month:
4M2BD…25M2BD
It is possible for a tradable instrument to have more than one prompt date label, however the Outright
Definition (301) and Tradable Instrument Definition (304) message will only include one prompt date
label. The precedence for which prompt date label is published is:
1. A rolling prompt date label has the highest precedence, see section 11.1.1
2. A specific label (DEC1, DEC2, DEC3, 15M, 27M, 63M, 123M) takes precedence over duration
labels (e.g. annual, semi-annual, quarterly, monthly, weekly, daily).
3. Annuals duration labels take precedence over semi-annual / quarterly / monthly / weekly / daily
duration labels.
4. Semi-annual duration labels take precedence over quarterly / monthly / weekly / daily duration
labels.
5. Quarterly labels take precedence over monthly / weekly / daily duration labels.
6. Monthly duration labels take precedence over weekly / daily duration labels.
7. Weekly duration labels take precedence over daily duration labels.
8. Daily duration label take precedence over second business days of the month labels.
For example, on 15 March 2022 AA May 22 can have the following prompt date labels - D43, M2,
W10. The prompt date label published would be M2.
Carry 1
Custom (Futures) 2
Page 147
Page 147
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Carry Average 6
Call Spread 7
Put Spread 8
Custom (Options) 10
1 0.01
2 0.05
3 0.50
4 5
5 10
6 0.005
7 50
10 0.10
11 0.25
12 1
Page 148
Page 148
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Value Description
S Settlement Price
C Closing Price
B Basis Price
TC Trade at Close
TS Trade at Settlement
Note prices in Trade at Reference tradable instruments in the Electronic venue are a differential to
the reference price. The trade price will be substituted with the reference price once it becomes
available, see section 15.1.
Trade prices in Inter Office and Ring venue are published as the substituted actual price.
Page 149
Page 149
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
11.1 Futures
An LME future is defined by a symbol, and the prompt date. For LME futures, prompt date is
analogous to expiry date and is present in the ExpiryDate field in the Outright Definition (301) and
Tradable Instrument Definition (304) messages. A prompt date will have a prompt type of either
rolling or single. The prompt type is present in the PromptType field in the Outright Definition (301)
and Tradable Instrument Definition (304) messages
Prompt dates that are of prompt type rolling are relative to the current trading day. When trades in
these contracts are sent to clearing, the date is “frozen” into a calendar date. The principal rolling
prompts are:
• 3M (Three months) – this prompt date represents the settlement business day three months
from today.
• CASH – this prompt date represents the settlement business day after tomorrow.
Prompt dates that are of prompt type single are calendar dates, written in the format YYYYMMDD,
where YYYY is the year, MM is the month (01-12) and DD is the day (01-31). The LME uses the
concept of “Monthly”, “Weekly”, “Daily” contracts, but all these contract types represent a single
prompt date, and there is no difference between them in LMEsource. (For “Monthly” contracts, the
prompt date is either the 3rd Wednesday in the month or the last Business Day in the month. For
“Weekly” contracts, the prompt date is the Wednesday in each week).
Single prompt dates are present in the ExpiryDate field in the Outright Definition (301) and Tradable
Instrument Definition (304) messages.
To know what prompt dates that are available, it is necessary to have access to an LME trading
calendar. A quick and incomplete summary of the trading calendar is:
For a Future on a physically delivered metal, 3M and CASH are always present, and TOM is usually
present. TOM is not present if that date is a US national holiday. There is one prompt date per
settlement business day between the TOM and the 3M contract, thereafter a prompt date every
Wednesday until the end of the month that is six months after the current month and then prompt
dates on the 3rd Wednesday of each month for a number of months, depending on the underlying
product. There are also prompt dates on the second business day of each month, the number of
these Second Business Day (2BD) prompt dates depends on the underlying product.
Page 150
Page 150
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
For LMEminis, there is one prompt date every 3rd Wednesday in the month for 12 months. There are
no rolling prompt dates for LMEminis.
For LME Monthly Cash Settled Futures (CSFs), there is one prompt date on the last working day of
each month. The CSF prompt date does not need to fall on a settlement business day.
For LME Monthly Average Futures (MAFs), there is one prompt date on the last working day of each
month. The MAF prompt date does not need to fall on a settlement business day.
11.2 Options
An Option on a physically delivered metal is defined by a symbol, an option type, a strike price and
an expiration date.
Expiration dates are calendar dates, written in the format YYYYMMDD, where YYYY is the year, mm
is the month (01-12) and DD is the day (01-31). There is one expiration date per month: the first
Wednesday in the month. The expiration date is rolled forward one day if the expiration date is a non-
business day. The expiration date for options does not need to fall on a settlement business day.
Page 151
Page 151
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 152
Page 152
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 153
Page 153
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 154
Page 154
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 155
Page 155
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 156
Page 156
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
0 MsgSize 102
2 MsgType 401
4 TimeOfEvent 123455789
12 Category I (Instrument)
13 PriceType Closing
45 PriceStatus Indicative
57 BusinessDate 20220504
69 ProductCode CA
71 CurrencyCode USD
74 Bid NULL
82 Price 9489500000
90 Ask NULL
0 MsgSize 102
2 MsgType 401
4 TimeOfEvent 123455789
12 Category I (Instrument)
Page 157
Page 157
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
13 PriceType Official
45 PriceStatus Final
57 BusinessDate 20220504
69 ProductCode AE
71 CurrencyCode USD
74 Bid 2842000000
82 Price NULL
90 Ask 2847000000
0 MsgSize 102
2 MsgType 401
4 TimeOfEvent 123455789
12 Category I (Instrument)
13 PriceType Final
45 PriceStatus Settlement
57 BusinessDate 20220504
69 ProductCode AH
71 CurrencyCode USD
74 Bid NULL
Page 158
Page 158
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
82 Price 2708000000
90 Ask NULL
0 MsgSize 102
2 MsgType 401
4 TimeOfEvent 123455789
12 Category I (Instrument)
13 PriceType Settlement
45 PriceStatus Provisional
57 BusinessDate 20220504
69 ProductCode AH
71 CurrencyCode USD
74 Bid NULL
82 Price 2843880000
90 Ask NULL
0 MsgSize 102
Page 159
Page 159
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
2 MsgType 401
4 TimeOfEvent 123455789
12 Category I (Instrument)
13 PriceType Settlement
45 PriceStatus Final
57 BusinessDate 20220504
69 ProductCode AH
71 CurrencyCode USD
74 Bid NULL
82 Price 2836950000
90 Ask NULL
0 MsgSize 102
2 MsgType 401
4 TimeOfEvent 123455789
12 Category I (Instrument)
13 PriceType Closing
45 PriceStatus Final
57 BusinessDate 20220504
Page 160
Page 160
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
69 ProductCode NI
71 CurrencyCode USD
74 Bid NULL
82 Price 24950000000
90 Ask NULL
0 MsgSize 102
2 MsgType 401
4 TimeOfEvent 123455789
12 Category I (Instrument)
13 PriceType Closing
45 PriceStatus Final
57 BusinessDate 20220504
69 ProductCode AH
71 CurrencyCode USD
74 Bid NULL
82 Price 2767190000
90 Ask NULL
Page 161
Page 161
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
14.1 Grade
Cathodes CATS
Rounds ROUN
T-Bar TBAR
Sows SOWS
Briquettes BRIQ
Pellets PLTS
Rounds NRDR
Page 162
Page 162
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Jumbo JUMB
Ingots IN80
Ingots I121
Tbars TB26
Tbars TB80
Tbars T121
T-Bar TBAR
Sows SOWS
Page 163
Page 163
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Sows SOWS
Sows SOWS
Sows SOWS
14.2 Location
Belgium ANTW Antwerp AA, AH, AW. CA, CO, NI, PB, SN, ZS
Germany HAMB Hamburg AA, AH, AW, CA, NI, PB, SN, ZS
MOER Moerdijk AA, AH, AW, CA, CO, NI, PB, SN, ZS
ROTT Rotterdam AA, AH, AW, CA, CO, NI, PB, SN, ZS
Page 164
Page 164
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Malaysia JOHO Johor AA, AH, AS, CA, NI, PB, SN, ZS
POKL Port Klang AA, AH, AS, CA, NI, PB, SN, ZS
Singapore SING Singapore AA, AH, AS, CA, CO, NI, PB, SN, ZS
Taiwan KAOH Kaohisung AA, AE, AH, CA, NI, PB, SN, ZS
USA BALT Baltimore AH, AN, CA, CO, NI, NA, PB, SN, ZS
NEWO New Orleans AH, AN, CA, NI, NA, PB, SN, ZS
Page 165
Page 165
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
0 MsgSize 62
2 MsgType 341
4 TimeOfEvent 123455789
20 TradingVenue EL
22 MatchedTime Null
30 RingSession Null
32 TradeCancelFlag 0
33 Price 2
41 Volume 10
45 MatchID 3456
53 TradeAtReferencePriceType D = Differential
55 RemainingRecords 0
57 RecordCount 0
59 StrategyLegCount 0
The TradeAtReferencePriceType shows that the price has been substituted with the closing price.
For a substituted trade MatchedTime will be provided.
Page 166
Page 166
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
0 MsgSize 62
2 MsgType 341
4 TimeOfEvent 123455789
20 TradingVenue EL
22 MatchedTime 123466789
30 RingSession Null
32 TradeCancelFlag 0
33 Price 9872
41 Volume 10
45 MatchID 3456
53 TradeAtReferencePriceType S = Substituted
55 RemainingRecords 0
57 RecordCount 0
59 StrategyLegCount 0
Page 167
Page 167
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
4.00 11 Jun 2020 Initial release of document for electronic market data from the new
LMEselect v10
4.04 28 May 2021 Changes to message definitions for the following messages:
4.06 28 Jan 2022 Added an overview of the messages published at start of day to
section 2.2.1
Correct NULL values in section 3.1.1
Changes to Outright Definition (301)
Change data type for LegSide in Strategy Definition message to Int8
Change list of valid price codes
Remove PromptType = ‘O’
Changes to Contract State (311) message, removal of TradingState
values for SOD and EOD
TimeofEvent assignment details added to Top of Book (355) and
Aggregate Order Book Update (353)
Additional field for SubtypeOfTrade in Order Executed (350)
message
Additional values for SubTypeOfTrade in OrderExecuted (350) and
Matched Trade (360) messages for trades resulting from uncrossing
and trades resulting from two implied orders matching
Page 168
Page 168
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 169
Page 169
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
4.08 31 Mar 2023 Revised 2.3 Trading Session and 3.1.2 Implied Decimal
Updated Market Data Trade (341) to a common message format
Added Contract Definition (300), Business Event – Pre TT Auction
(342), Open Interest (420), Open Interest Band (421), Position Band
(422) Warrant Band (423) and Trading Volume (424)
MDSource changed to TradingVenue
Updated description for ISINCode
Strategy Definition (302) added MergedTradableInstrumentID,
reordered LegTradableInstrumentID and corrected offsets
Merged Instruments updated to include merged strategy order
books
Corrected offsets in Market State – Contract (311 and Aggregate
Order Book (322)
Page 170
Page 170
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 171
Page 171
LMEsource Client Interface Specification Version 0.0Version 4.12
LME Classification: Public
Page 172
Page 172