-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sample limit order book export to csv... #2
Comments
How are you getting TotalView ITCH data? Who’s is the data provider? |
I downloaded the file from nasdaqs demo server. It contains level 2 data for all instruments in the exchanges the cover, during one day. I will use this data for testing the script. |
I don’t think you have enough data if you only got the snapshot. It’s easy to transform the data by timestamp. |
where is the link to the sample data? |
Hi @DanielRonnstam, It has been a while since I've done anything with this code - There is likely something much nicer out there that can do what you want. I am however planning to make some changes so that it can take as input a CSV containing limit order events and output a CSV with summary stats for each LOB update. Sticking to basic limit order types, the input CSV might look like:
Where |
That would be great @phil8192 are you able to get LOB data for stocks? |
Thanks. With LOB update, what do you mean? Do you know of any other order book sampling script that does what I need it to do? |
Hello. For research purposes, I need a script that can parse a message flow of Level II limit order data (order, delete, modify, trades etc), and sample the order book to a CSV for each ticker symbol (stock) in the following format;
The messages are converted from Nasdaq ITCH 5.0 and are loaded into an R data.table, or exported to CSV. I have this already from another script.
Can your script do this sampling? Or can it be easily modified to do the sampling? Or, do you know some other script that can? thanks
The text was updated successfully, but these errors were encountered: