Reconstruction an order book from an ITCH Feed: Am I missing something?

This is a discussion on Reconstruction an order book from an ITCH Feed: Am I missing something? within the Technical Analysis forums, part of the Trading Methods category; I am attempting to reconstruct the order book for a single day (2012-07-09), using TradingPhysics' Nasdaq ITCH CSV file. The ...

Reply
 
LinkBack Thread Tools Search this Thread
Old Aug 10, 2012, 10:45am   #1
New Member
 
johnny_no_lots's Avatar
 
Member Since Aug 2012
Default Reconstruction an order book from an ITCH Feed: Am I missing something?

I am attempting to reconstruct the order book for a single day (2012-07-09), using TradingPhysics' Nasdaq ITCH CSV file. The simulation is congruent with the ITCH feed -- by which, I mean, by treating my order book with each instruction, I get the same prices and order ID's executing -- until 09:30:00.419-04. (That's not less than one second of congruence; the first trade is at 07:00:03 and 91,404 messages were successfully processed before the error was encountered.)

At 09:30:00.419-04, the ITCH feed says an order that was placed immediately prior to the execution (0 seconds difference), executed for 300 sold. The order that was placed did not improve the best offer, and there was already 3100 shares sitting at the price offered by the new order -- that is, it was not first in queue. My order book instead said that if 300 were executing, it should have been off an order that was placed at 09:30:00.180-04. (EDIT: Previously, I mistakenly said this order was placed at the same time.) This order set the best offer.

My limit order book is well-tested, so either 1) I have failed to implement a rule that I am unaware of or 2) the ITCH feed is wrong. In general, I always assume I'm at fault until proven otherwise, so I'm going with (1).

I thought that perhaps the subsequently placed but immediately executed order was being executed elsewhere, but I don't see why that would happen.

Last edited by johnny_no_lots; Aug 10, 2012 at 10:51am.
johnny_no_lots is offline   Reply With Quote
Old Aug 10, 2012, 10:47am   #2
Legendary Member
 
ChocolateDigestive's Avatar
 
Member Since Feb 2012
Default Re: Reconstruction an order book from an ITCH Feed: Am I missing something?

dont be shilly.
__________________
accept no less then 1000% daily profits, click here
ChocolateDigestive is offline   Reply With Quote
Old Aug 10, 2012, 10:51am   #3
New Member
 
johnny_no_lots's Avatar
 
Member Since Aug 2012
Default Re: Reconstruction an order book from an ITCH Feed: Am I missing something?

johnny_no_lots started this thread
Quote:
Originally Posted by ChocolateDigestive View Post
dont be shilly.
Meaning?
johnny_no_lots is offline   Reply With Quote
Old Aug 10, 2012, 11:05am   #4
Guest
 
The Leopard's Avatar
 
Member Since Feb 2012
Default Re: Reconstruction an order book from an ITCH Feed: Am I missing something?

Quote:
Originally Posted by johnny_no_lots View Post
Meaning?
Shilly?

Could be a typo.

Actually could be two different typos pretty easily.
The Leopard is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
FX order book? MoonRocket General Trading Chat 9 Mar 15, 2012 6:53pm
order book fx doobs Technical Analysis 2 Feb 27, 2012 6:47am
Order Book help Balthazar General Trading Chat 4 Feb 22, 2012 4:20pm
Trading STIRs from the order flow and order book arabianights Money Markets 5 Apr 27, 2009 3:37am
Strangeness in the Order Book Tubbs Discretionary Trading 11 Jan 22, 2006 10:59am