The Lab

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Name of Trading VenueMF Feed name
Bank of America Meryll LynchBAML
BNP ParibasBNPP
Barclays BankBarx
Citadel SecuritiesCitadel
Citi BankCiti
Commerz BankCommerz
Credit SuisseCreditSuisse
Deutsche RapidDeuRapid
EBS SelectEBS Select
Goldman SachsGoldmanSachs
HSBCHSBC
Morgan StanleyMorgan Stanley
NomuraNomura
Royal Bank of CanadaRBC
Royal Bank of ScotlandRBS
Saxo MarketsSaxo
Societe GeneraleSocGen
Standard CharteredStandardChartered
UBSUBS
XTXXTX

 

 The stale quote protection is achieved by monitoring two parameters that can be statically configured below:

...

Exact Match (Y/N)

  • With Exact Match enabled your orders will only be mapped to Quotes of the exact same price. Whisperer will always use the most recent quote matching the specified pair/side/qty/price.

  • With Exact Match disabled, if there is a later quote available at a better price then MarketFactory will use that in preference to the specified Order price details.

Stale Quote Protection (Y/N)

  • By default MarketFactory stores up to 64 historic quotes in a per-pair cache.

  • Enabling Stale Quote protection ensures that the client will never submit orders to the venue against quotes in this cache beyond a certain staleness:

    • StaleAfterMilliseconds (chronological age) <2000ms

    • DeleteMessageBuffer (number of quotes age) = 5

Example

 

Quotes

To keep the example simple, we'll use only bid quotes. The example below displays that the history of quotes that live for a duration of a single tick.

QuoteID
Price
Quantity
Status
Delete Time
Quote11.401000000deleted00:00:05
Quote21.301000000deleted00:00:04
Quote31.102000000deleted00:00:03
Quote41.201000000deleted00:00:02
Quote51.101000000deleted00:00:01
Quote611000000current 

  

StaleAfterMilliseconds=2000, DeleteMessageBuffer not specified

The example below demonstrates the history of quotes once the condition of stale after 200 milliseconds is invoked without the deleted message buffer

Price and Quantity Needed
Quote matched
What happens
1000000@1Quote6QuoteID returned
[email protected]Quote3No quote matched – Quote3 is too old
[email protected]Quote5QuoteID returned
[email protected]Quote2No quote matched – Quote2 is too old

  

StaleAfterMilliseconds not specified, DeleteMessageBuffer = 3

With both conditions invoked (and the buffer size set to a tick size of three (3)) the history for the same period would be seen as below:

...