The Lab

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 1.1.17

Table of Contents

...

Central Limit Order Book

Order Depth

The This is the unconflated, raw, view of each individual order, and it's place within the Central Limit Order Book (CLOB). UsuallyCLOB containing maximum market information. It is usually, but not always, ranked by price and then time. All the following CLOB examples are based off this book data.

Each MDEntry is a separate resting order in the Venue.

Orders which have MinQty (including FullAmount) or LotSize  constraints will have a single NoOfSecSizes group populated for this MDEntry.


    

NoOfSecSizes

Number Of Orders  QtyBidOrderDepthOfferQty Number Of Orders 

NoOfSecSizes

(MinQty)





1

1     

1

1.20011

1

1.20020

3

 1 3







 2   1      

2

1.20000

2

1.20020

1

 1 1          







11

1

1.20000

3

1.20023

3

 1 3







 2   1      

2

1.19997

4

1.20029

1

 1 1          







21

2

1.19997

5

1.20037

4

 1 4        







51  

5

1.19995

6

1.20042

1

 1 1







 2   1      

2

1.19987

7

1.20042

3

 1 3         







11 

1

1.19974

8

1.20042

1

 1 1







 1   1      

1

1.19961

9

1.20056

1

 1 1          







51

5

1.19961

10

1.20063

1

 1 1







 7   1      

7

1.19910

11

 

 













 

 

          

 

 

12

 

 

         

 

 













 

 

13

 

 

   

 

 













 

 

    

 

 

14

 

 

       

 

 













 

 

 

 

15

 

 

      





NOTE: All the following CLOB examples are based off the above book data. Quantities in red denote FullAmount constraints.

Price Depth

An Order Depth book, where multiple orders at a given price/side are aggregated together. Depending on the Venue, order count NumberOfOrders or a full NoOfSecSizes group may also be provided..

Each MDEntry is an aggregated view of the liquidity available at that price level in the Venue.

If populated, the NoOfSecSizes group have the following attributes:

  • There will be an entry for each order at that price level.
  • The entries are ordered by time, the first entry being the oldest (highest in priority).
   

NoOfSecSizes

(MinQty)

Number Of OrdersOrder DepthCountQtyBidPriceDepthOfferQtyCountOrder Depth   Number Of Orders

NoOfSecSizes

(MinQty)





1111.2001111.200204231   





   12231.2000021.20023313    






   22241.1999731.20029111        







5151.1999541.20037414    







    2121.1998751.2004253131  





    1111.1997461.20056111       






51261.1996171.20063111    







    7171.199108  











              9  











  10  






Using Whisperer

...

Pricing

For both book types, each NoOfSecSizes group, if available/relevant to the venue, will contain:

  • MDSecSize == order size (this will match the parent MDEntrySize for OrderDepth books)
  • MinQty - indicates that that order is restricted to only match in amounts above a certain minimum quantity (for FullAmount, the order quantity), i.e. 0 (partial fills allowed) .. MDEntrySize (i.e. FullAmount).

In either case, when clients attempt to sweep the book for a given quantity, they must ignore any NoOfSecSizes entries for greater MinQty amounts (not just FullAmount).

This also applies when calculating the limit price for VWAP orders. I.e. orders for lesser amounts will trade through this level.

Trading

Client trades may aggress (Taking) resting orders published in the orderbook. These orders should not be directly visible in the MarketData feed, but the resultant fills may be observed via the TradeTicker (if available). Depending on the venue, the client may achieve this by:

  • Specifying TimeInForce=FOK to indicate that the client wishes to place a FullAmount order.
  • Specifying a MinQty order - depending on other order parameters (Price, DiscretionPips, etc), this may be filled immediately by the venue without entering the book (like a FOK).

Conversely, the client may use resting order (Making), again they may specify a MinQty for their order, up to the full order quantity for FullAmount; in the event of no immediate match, the order will be published in the market data feed.

Other Book Representations

Spread

This is not Bid/Offer spread, but the liquidity available at a pre-defined price offset from top of book. Usually issued in snapshot form, since the entire view changes with each change of top of book price in the base OrderDepth book.

   

NoOfSecSizes

 

(MinQty)

Number Of OrdersCountQtyBidSpreadOfferQtyCountNumber Of Orders 

NoOfSecSizes

(MinQty)






     111.200110.00001.2002042          









111.200010.00011.2003084       









  6131.199910.00021.20040125     









     7151.199810.00031.20050178         









10221.199610.00051.200701910     









     10221.199110.0010            










11291.198110.0020        






Amount

Presents VWAP prices for pre-defined volume rungs. Because the view aggregates multiple resting orders, a single aggressing order may well result in multiple partial fills, since you are effectively trading through the base Order Depth book.

       

NoOfSecSizes

(MinQty)

Number Of Orders  QtyBidAmountOfferQty Number Of Orders      

NoOfSecSizes

(MinQty)







11.2001111.200201      











     21.2000621.200202           











51.2000251.200215           











101.19999101.2002510           











201.1998820             











  50       






Full Amount

The prices at which pre-defined volumes may be filled in a single execution.

   

NoOfSecSizes

(MinQty)

Number Of Orders  QtyBidFullAmountOfferQty Number Of Orders 

NoOfSecSizes

(MinQty)





 1    111.2001111.200201 1 1          







2121.2000021.200202 1 2    







51      51.199955               













10            











   20  











              50        

Bank

Bank Liquidity is typically offered in two forms:

  • Order-Based
  • Volume-Ladder

Many banks offer both, in which case the form of the liquidity offered is bilaterally agreed between the Bank and the Customer. For Whisperer Enterprise, MarketFactory is not involved in this decision and has no formal knowledge of the form chosen, although both will be delivered as MassQuote messages.

Order-Based

The raw liquidity offered by the Bank to the Customer. Typically presented as a single quote. The Customer may trade through this 'book', provided they submit orders in strict sequence from best price to worst. No individual piece of offered liquidity can be traded more than once.

Limit orders - The client provides the price associated with a requested quantity. This will either be the price of a given rung/side, or it will be a VWAP across multiple rungs. Typically the client will obtain a single fill for each individual request.

Market orders - No price is specified, the Bank will compute this (VWAP or rung) on the Customer's behalf, based on the provided quantity and Quote ID.

...








Executable Streaming Pricing

Whilst terminology varies greatly from venue to venue, direct LP/Bank trading is generally offered via two liquidity models:

  • Sweepable - AKA Orders, OrderBook, Order-Based, Stacked, Clips, Exchange, Volume-For-Price
  • FullAmount - AKA Quote-based, Tiers, Buckets, OTC, Price-For-Volume, Cumulative, Volume-Ladder

The liquidity is offered on a quotation negotiation basis, with the LP typically exercising Last Look against the dealt Quote IDs.

Quotes may have time-to-live constraints and be marked as Indicative or Tradeable.

When submitting orders, the validity of the specified ID is assessed by the venue, not Whisperer.

Sweepable




QtyBidPriceDepthOfferQty







11.2000911.200205
   












21.2000021.200233
      
 












21.1999731.200291
     
   












51.1999541.200374
        












51.1998751.200421
     
 












51.1997461.200561
 
      












101.1996171.200631
        












101.199108
  
  
          












201.199009
           
  











  
 
10  
      














11















12















13















14















15

Volume Ladder

A VWAP representation of the above, with pre-configured volume rungs. Could be considered an equivalent to a CLOB Full Amount book,

For a given quote a Customer may typically hit a single rung only, although some banks do allow trading through the ladder, to a maximum total of the largest rung.

...









Pricing

  • Liquidity rungs typically dynamically change depending on market conditions, each rung of the rate ladder can be considered as if they are orders on an exchange.
  • The client should not expect higher amounts per successive price level.
  • The total quantity available is the sum of the individual rung quantities for the latest quote.

Trading

  • Trading is expected to be an explicit sweep of the published quote, with successive individual orders at each rung, in sequence.

  • Each order is executed individually, when the client has utilised a rung, it cannot be re-used and subsequent trades need to utilise the liquidity from the remaining rungs.

  • Depending on the LP, Clients may also be able to submit a VWAP order in order to combine multiple individual clips into a single trade and reduce per-ticket trading costs.

  • The client is typically expected to provide their calculated VWAP rounded bank favour, but some LPs mandate different rounding rules. Rounding modes are as follows:

TODO

FullAmount

...




QtyBidFullAmountOfferQty
       
 








11.2000911.200201
     
       












21.2000521.200202
            












51.2000151.200205
  
          












101.19998101.2002410
 












20
 
1.19989
 
20  
       20












501.
19989
19950 
20
50  
            501.19950 50        






Pricing

  • Essentially this is a VWAP presentation of the available liquidity, with higher amounts per successive price level.
  • The VWAP rungs are usually preconfigured by the LP,  but some allow the client to specify the required rungs in their QuoteRequest. This is supported by Whisperer via the QuoteRequest.NoUnderlyings group
  • Can be considered an equivalent to a CLOB Full Amount book.

Trading

  • Sweeping is not possible, since the liquidity of each rung is implicitly included in the VWAP pricing of all other lower level rungs as well.
  • Instead, client trades are characterised by hitting a particular rung for their requested trade amount. For example, with rungs of 1/2/5m, if the client wishes to trade 3m, this would need to be submitted against the 5m rung.
  • Generally, the MassQuote is invalidated after a single trade (because of the VWAP), however in some cases, the LP will allow multiple trades against a single MassQuote rung so long as the aggregate total, across both sides, does not exceed the rung size.

Using Whisperer

The form of the liquidity offered is bilaterally agreed between the Bank and the Client, who must interpret and use the MassQuote messages accordingly.

Minimal configuration is required in Whisperer, although clients may wish to apply a naming convention for their venues sessions.

Whisperer uses MassQuote messages for ESP pricing, and trade requests are submitted via the NewOrderMultileg message. OrdType=PreviouslyQuoted is always supported, other order types may also be available, depending on the LP.

PreviouslyQuoted Orders

The NewOrderMultileg.QuoteID field should be used as follows:

  • For Sweepable and FullAmount orders, the QuoteEntryID of the target rung must be specified.
  • Where venues support VWAP orders against a sweepable book, the QuoteID of the overall MassQuote ladder must be used.

Market Orders

ESP Market orders ares sometimes offered by an LP.  As with a standard Market orders, the client provides their order quantity without a price, however a QuoteID must still be specified, so unlike a standard Market order, there is less risk of uncontrolled slippage on the the actual price achieved.

Instead, the LP will use the the provided quantity and QuoteID to compute the price (either VWAP or rung) on the Customer's behalf.


Note

Support for VWAP and Market order types varies across Venue.