NexusFi: Find Your Edge


Home Menu

 





Unfiltered data feeds and HFT, detecting algos with orderflow?


Discussion in Brokers

Updated
      Top Posters
    1. looks_one Lornz with 4 posts (0 thanks)
    2. looks_two lookOutBelow with 3 posts (2 thanks)
    3. looks_3 MooneyNYG with 3 posts (0 thanks)
    4. looks_4 cashinvestor with 3 posts (4 thanks)
    1. trending_up 10,347 views
    2. thumb_up 6 thanks given
    3. group 6 followers
    1. forum 17 posts
    2. attach_file 0 attachments




 
Search this Thread

Unfiltered data feeds and HFT, detecting algos with orderflow?

  #1 (permalink)
 
cashinvestor's Avatar
 cashinvestor 
Spokane, WA
 
Experience: Intermediate
Platform: ninjatrader, tradestation, esignal
Trading: Futures, Futures Options
Posts: 13 since Jul 2009
Thanks Given: 0
Thanks Received: 10

I recently attended a webinar for Shadow Traders. The CIO, Barbara, says that she is primarily a programmer, not from a trading background. And since she has coded for some trading houses has inside knowledge of HFT structure and behavior. Also that trading is no longer a technical analysis game, but a programming game. I can attest that writing strategies using standard TA tools (like stochastics and macd) are very hard to make profitable. It seems like more time is spent trying to stay out of bad trades than getting into good trades.

I'm also a programmer and know where she is coming from. I'm not a Wall Street coder, but I am doing a lot of study about it. Goldman makes $50M a day front running stock quotes. The Quants are PhD physicists, mathematicians, statisticians, etc. They are coding up some nasty looking math equations. But their algorithms work best when the market is acting nice. As soon as things get wonky, their models don't apply any more.

I'd like to hear from any experienced coders from Wall Street. Is it true that the HFT robots can be detected by watching the order flow database? I googled "order flow database" and only got back a single page of hits, most of the references being on people's resumes. Can Shadow Traders really detect when the HFT engines start trading, or is increased volume activity just the outside behavior and they are attributing it to HFT.

I know that an unfiltered data feed is better overall, but is it really a make-or-break scenario? Tradestation has a lot of customers trading every day. Can they really be all losers because they aren't getting rocket speed unfiltered data?

Is watching the order flow database in this fashion only good for scalping? If I want to catch 60 ticks and stop for the day, do I really care if the HFT's are running the market around. I'm looking for setups and building stop movements around the bigger move.

I don't have enough inside knowledge and experience to validate what Barbara is saying. Does anybody here?

Thanks.

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
REcommedations for programming help
Sierra Chart
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Just another trading journal: PA, Wyckoff & Trends
34 thanks
Tao te Trade: way of the WLD
24 thanks
My NQ Trading Journal
14 thanks
HumbleTraders next chapter
11 thanks
GFIs1 1 DAX trade per day journal
11 thanks
  #3 (permalink)
 
Lornz's Avatar
 Lornz 
Oslo, Norway
 
Experience: Advanced
Platform: CQG, Excel
Trading: CL
Posts: 1,193 since Apr 2010


Since Shadow Traders have been mentioned in at least three different threads this past week, I caved in and did a search on Youtube:



I am amazed that she sells products; she seems completely clueless. These fraudsters piss me off! Apparently @tigertrader knows who she is, and he did not seem impressed either.

If you have a decent feed, you can get access to cancels. I would guess that she simply looks at increased activity (number of ticks p/s, e.g.), maybe combined with analysis of the fluctuating order depth (doubtful).

As retailers we can just forget about competing on speed. Take a step back and try to catch some of the bigger moves...

Visit my NexusFi Trade Journal Reply With Quote
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,440 since Jun 2009
Thanks Given: 33,212
Thanks Received: 101,599

Moderator Notice
Moderator Notice



Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #5 (permalink)
 
Lornz's Avatar
 Lornz 
Oslo, Norway
 
Experience: Advanced
Platform: CQG, Excel
Trading: CL
Posts: 1,193 since Apr 2010


Big Mike View Post
Moderator Notice
Moderator Notice



Mike

Yeah, I guess my post was a little out of place. But it seems that they have been overrepresented on this board the past week or two.

My point was just that I wouldn't really give much credence to her opinion based on her portrayed "knowledge".

Not that I claim to be all-knowing on the subject either.

Visit my NexusFi Trade Journal Reply With Quote
  #6 (permalink)
 
cashinvestor's Avatar
 cashinvestor 
Spokane, WA
 
Experience: Intermediate
Platform: ninjatrader, tradestation, esignal
Trading: Futures, Futures Options
Posts: 13 since Jul 2009
Thanks Given: 0
Thanks Received: 10

I don't want to talk about them. I want to know about the order flow database.

How do you look at it from a programmers view inside of ninjatrader? Is there any sample code for looking at transactions, volume, etc that might come close to this?

In MetaStock I created a chart that plotted each tick as a dot and price action looked like a wide spray paint swatch that moved up and down. So that was my first inkling to how transactions were being recorded. But I wasn't programming the platform back then.

I've thought about the bid/ask model and how I might dig into it from ninja. Is there any clues in there that might give an edge?

Started this thread Reply With Quote
Thanked by:
  #7 (permalink)
 
Lornz's Avatar
 Lornz 
Oslo, Norway
 
Experience: Advanced
Platform: CQG, Excel
Trading: CL
Posts: 1,193 since Apr 2010


cashinvestor View Post
I don't want to talk about them. I want to know about the order flow database.

How do you look at it from a programmers view inside of ninjatrader? Is there any sample code for looking at transactions, volume, etc that might come close to this?

In MetaStock I created a chart that plotted each tick as a dot and price action looked like a wide spray paint swatch that moved up and down. So that was my first inkling to how transactions were being recorded. But I wasn't programming the platform back then.

I've thought about the bid/ask model and how I might dig into it from ninja. Is there any clues in there that might give an edge?

I don't really know what she means with "order flow database". I assume she is referring to Level III. To be quite honest, I am not really sure how much information certain firms gets from the exchanges. Maybe someone else can chime in on that.

I started looking into the possibilities of pursuing something like this, but I quickly discovered that it was hopeless. Just the cost of an in-memory database like kdb+ is about $200k/year. You also have one-stop shops like OneTick and Deltix. The latter looks really interesting for my purposes, but it costs around $6-8000/mo, excluding data. Add about the same amount for a good data feed and it adds up quickly.

I'm not really a programmer, so I can't really say what people can do with NT or not. But last time I checked, it didn't have CEP capabilities!

I must warn that I am really out of my depth here, and I am simply offering a layman's perspective. However, I did spend a considerable amount of time last year researching various options.

Keep in mind that the feeds we retailers use are crap for such purposes. There are missed ticks and services like IQFeed only timestamps to the second. NxCore does sub-second timestamps and is priced reasonably. I'm not really aware of any other comparable solution in that price range.

As for my personal experience, there used to be a lot of information in the DOM, but it has changed drastically with the advent of HFT. Quote stuffing ruined a lot of my analysis. I export the DOM (along with other data) to Excel, and there were a lot more useful things one could gain from that several years ago. Things have gotten more "primitive" now, but I still make money. Now I am reliant on catching the bigger swings, though.

Portraying ticks as dots, representing the size of the order, is a very intuitive way of looking at price action. @Vegas has made a product that does just that.

Are you a programmer by trade? I became increasingly frustrated with the limitations of all the platforms I've used, I finally decided to take some CS classes this year. It seems that nearly all of my ideas require custom programming not supported by retail platforms, and I am tired of doing things semi-manually in Excel.

Visit my NexusFi Trade Journal Reply With Quote
  #8 (permalink)
MooneyNYG
New York, NY USA
 
Posts: 11 since Mar 2012
Thanks Given: 4
Thanks Received: 6

For direct trade routes search the exchange web sites. for example, cme site - search trading platforms.

it gives a full list of direct data feeds

Reply With Quote
  #9 (permalink)
MooneyNYG
New York, NY USA
 
Posts: 11 since Mar 2012
Thanks Given: 4
Thanks Received: 6

i looked at shadow trader before, about 4 years ago. i can not believe they still around. for rookies...anyone know a moving over cross over with fancy background coding

Reply With Quote
  #10 (permalink)
 
cashinvestor's Avatar
 cashinvestor 
Spokane, WA
 
Experience: Intermediate
Platform: ninjatrader, tradestation, esignal
Trading: Futures, Futures Options
Posts: 13 since Jul 2009
Thanks Given: 0
Thanks Received: 10


yes, I am a programmer by trade. Even though I've been a software engineer for 30 years, I've been out of the loop as a full time programmer. So there are a lot of technologies that I don't know. I've only been coding on ninja for a short time. But I like C# as a language and it has career enhancing properties.

From my research, I know that most of the HFT programs are running as C++ under Linux on big PC-based hardware hanging off the exchange. This is the fastest it can get.

The London Exchange tried going to a Microsoft infrastructure and it died. They had to scrap it and go to a Linux based structure.

So writing C#/.Net/Windows over the open internet is not a good formula for fast transations. But that's not what we are doing anyway.

I'm also looking into what protocols the HFT's are using, like FIX. This is supported by the CME and many vendors use it. But I'm thinking that to go that route, you have to write a custom C++ app for talking to the exchange directly and not using any visual charts, etc.

There is an open source java-based framework that does a similar thing. No graphics, just algorithms and order management.

Right now I'd just like to experiment with what ninja can do at the bid/ask level and see how far that can go. One interesting example is the indicator that plots the speed of order flow. I can't remember what it's called, but it is freeware. When orders pick up speed, he displays the bars in a different color and I think there is an audio alert.

I would like to do something like measure the orders based on whether they are at the bid or at the ask. This should give indication as to where the transaction flow might be headed.

Started this thread Reply With Quote
Thanked by:




Last Updated on May 3, 2014


© 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