Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Ninja Trader Custom Order Book - 1LDom - Source Code
I am a broke, stressed out and mostly grumpy trader. So Im only going to say this once. This DOM is designed for people that are looking to start a career trading professionally.
It has been through about 6 months real trading in the field. It works and is designed the way it is for a reason.
I have given something of value here for free, so at least do me the courtesy of giving me 10 minutes of your time to think through your request before haphazardly throwing stuff my way. Better yet, try using it for a period of time to understand why it is the way it is, if you have done so and still wish to request something then I am all ears.
This thread is not intended to be a place for an endless list of feature requests. Unless the request is genuine and serves some real purpose to increase speed, stability or functional workflow for all involved then my time is better spent elsewhere.
Sorry to sound like an ar$ehole but these are the economics of life. I have a family and limited time as I spend all waking hours trying to survive as a professional trader. Time spent on these side things is time taken out of my day. So if you are going to make a request of my time then please make sure it is thought through otherwise it will likely not receive the friendliest of responses.
Was still having the problem of phantom leftover bid and ask order book data with TT data feed and started tweaking the row removal loops within the if(IB) code blocks. Made some progress but still not quite there yet. Will advise if I get it fixed. I have a few other minor tweaks in mind, if I can manage to avoid getting lost in the code.
Thanks for your work, 1Lot, and best wishes for your success.
Sorry mate, I completely forgot about that, I applied for a TT demo account and they sent me the wrong setup, demo for actual TT rather than Ninja.
I will have another bash and see if I can get something organised. Sounds to me like you are on the right track in terms of identifying how it's solved. The IB if block is to clear out the phantoms, it's something odd with the Market Data Event on those two feeds. It doesn't fire for a removal action like it does with the other feeds. So I had to manually clear them with that crappy bit of code (which is why IB is a bit slower and TT will likely suffer the same).
Most likely TT's bid/ask count is different to IB which would explain why some phantoms are getting through.
Will see what I can do about that demo. if I can get something up and running I will definitely chip in to sort that if you don't get there first.
The code in the OnMarketDepth method of the attached indicator seems to work OK with TT so maybe there are some clues here about how the order book can be populated without phantom rows.