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 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, 4:45pm   #1
 
2 Posts
Joined Aug 2012
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 4:51pm.
johnny_no_lots is offline   Reply With Quote
Old Aug 10, 2012, 4:47pm   #2
 
ChocolateDigestive's Avatar
Joined Feb 2012
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, 4:51pm   #3
 
2 Posts
Joined Aug 2012
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, 5:05pm   #4
Joined Feb 2012
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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