NexusFi: Find Your Edge


Home Menu

 





Level 1 and level 2 recording


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one ToMerK with 4 posts (0 thanks)
    2. looks_two Fat Tails with 2 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 VasilyS with 1 posts (0 thanks)
    1. trending_up 4,120 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 7 posts
    2. attach_file 0 attachments




 
Search this Thread

Level 1 and level 2 recording

  #1 (permalink)
 ToMerK 
Tel Aviv Israel
 
Experience: Beginner
Platform: NinjaTrader
Broker: CQG
Trading: Futures
Posts: 21 since Feb 2015
Thanks Given: 30
Thanks Received: 13

Hi all,
After reading a lot in this great forum I still have some questions that I wish someone can help me with.

Currently I am connected to CQG data feed and I wish to record Level 1 and Level 2 data for analysis purposes.
I will start with the ES futures.

So these are my questions:
1. Is there a good research or statistics about the L1 and L2 impact on price movements?
2. If I use OnMarketDepth to record each L2 change should I face any issues? (miss some data, sync issues, etc.)
3. If I am recording data into one csv file from OnMarketData and from OnMarketDepth should I expect any issues?
4. Does CQG do any filtering to the data?
5. What does filtering data mean? Aggregating market orders?
6. Does NT do any filtering to the data?
7. The fact that NT doesn't supply the ms timestamp means that the data can arrive out of order?
8. If I use my own computer's ms timestamp will it be enough to sync between the L1 and L2?very
9. Do I need a very fast computer to record the data?
10. Will charting or using other softwares on my computer may interfere with the recording process?
11. Should I use my internet connection only for recording? (and not for downloading at the same time for instance)
11. What is the minimum bandwidth requirement for catching all the events properly?
12. Is WIFI enough or should I use a cable?

I know these are a lot of questions but I am sure others will benefit from them as well.

Thanks,
Tomer.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NexusFi Journal Challenge - May 2024
Feedback and Announcements
How to apply profiles
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
Better Renko Gaps
The Elite Circle
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
22 thanks
  #3 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


NinjaTrader 7 comes with two different data formats:

-> Historical Data: You can download backfill for minute and tick data from various historical data providers. Time stamps do not come with subsecond granularity. Analysis of trade data, level 1 and level 2 data is not possible, as it is not synchronized.

-> Replay Data: NinjaTrader 7 offers free replay data - including level 1 and level 2 - which can be downloaded for many instruments. Simply download via File -> Utilities -> Downloade Replay Data and select instrument and date.


If you wish to go beyond the features that are offered by NinjaTrader 7, I suggest to install the GOM recorder, which records and stores trade data, bid and ask data in a different format.




https://nexusfi.com/wiki/trading-wiki/Gom-User-Manual

Reply With Quote
  #4 (permalink)
 ToMerK 
Tel Aviv Israel
 
Experience: Beginner
Platform: NinjaTrader
Broker: CQG
Trading: Futures
Posts: 21 since Feb 2015
Thanks Given: 30
Thanks Received: 13


Fat Tails View Post
NinjaTrader 7 comes with two different data formats:

-> Historical Data: You can download backfill for minute and tick data from various historical data providers. Time stamps do not come with subsecond granularity. Analysis of trade data, level 1 and level 2 data is not possible, as it is not synchronized.

-> Replay Data: NinjaTrader 7 offers free replay data - including level 1 and level 2 - which can be downloaded for many instruments. Simply download via File -> Utilities -> Downloade Replay Data and select instrument and date.


If you wish to go beyond the features that are offered by NinjaTrader 7, I suggest to install the GOM recorder, which records and stores trade data, bid and ask data in a different format.

Thanks for your quick reply.

I am aware of the existence of the GOM RECORDER. If I record my data on the OnMarketData event than I will also have the L1 info in the correct order like in the GOM RECORDER, am I right?

I want to record live data in order to have the events ordered in the way the came (which I hope is correct) and not lose sync between L1 and L2. My concerns are in the questions I posted above.

Started this thread Reply With Quote
  #5 (permalink)
 
Fat Tails's Avatar
 Fat Tails 
Berlin, Europe
Market Wizard
 
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,102


ToMerK View Post
Thanks for your quick reply.

I am aware of the existence of the GOM RECORDER. If I record my data on the OnMarketData event than I will also have the L1 info in the correct order like in the GOM RECORDER, am I right?

I want to record live data in order to have the events ordered in the way the came (which I hope is correct) and not lose sync between L1 and L2. My concerns are in the questions I posted above.

L1 nad L2 needs to be synchronized with trade data (actual transactions). NinjaTrader cannot do that without the GOM recorder. So you will need it for recording level 1 and 2 data.

Reply With Quote
  #6 (permalink)
 ToMerK 
Tel Aviv Israel
 
Experience: Beginner
Platform: NinjaTrader
Broker: CQG
Trading: Futures
Posts: 21 since Feb 2015
Thanks Given: 30
Thanks Received: 13

Hi again,
Sorry for the late reply but I had to consult my fellow traders that went over GOMI's recorder code and used it.

As they (and I) see it, the recorded data is correctly synced if written from a feed. Gomi just added the ms for use in other indicators he publishes. If I do not need the ms my recording will be sufficient.

So this leads us back to my original set of questions except 8. Can anyone please help me with some of them?

Thanks in advanced!

Started this thread Reply With Quote
  #7 (permalink)
 VasilyS 
Moscow, Russia
 
Experience: Intermediate
Platform: Sterling Trader Pro
Trading: Stocks
Posts: 15 since Jun 2014
Thanks Given: 12
Thanks Received: 1

Have you done level2 data recording?

Reply With Quote
  #8 (permalink)
 ToMerK 
Tel Aviv Israel
 
Experience: Beginner
Platform: NinjaTrader
Broker: CQG
Trading: Futures
Posts: 21 since Feb 2015
Thanks Given: 30
Thanks Received: 13


VasilyS View Post
Have you done level2 data recording?

I had some experiments with it and discovered that there are more complications with this task. Sometimes the L2 collection is not synced correctly and if you build the order book yourself you have the take into consideration that small disconnects can cause sync issues as well. Also if you use ms timestamps like GOMrecorder you will get issues with that also because the computer syncs its clock every now and then which can create earlier timestamps to new events. You ca find threads here that address some clock syncing issues.

The bottom line is that it is possible but requires more programming than I originally expected and may result in some out of sync L2 data.

Started this thread Reply With Quote




Last Updated on August 27, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts