NexusFi: Find Your Edge


Home Menu

 





Reconstruct the Time and Sales


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one grimReaper with 2 posts (0 thanks)
    2. looks_two vvhg with 2 posts (3 thanks)
    3. looks_3 Big Mike with 1 posts (2 thanks)
    4. looks_4 Quick Summary with 1 posts (0 thanks)
    1. trending_up 6,295 views
    2. thumb_up 6 thanks given
    3. group 4 followers
    1. forum 9 posts
    2. attach_file 0 attachments




 
Search this Thread

Reconstruct the Time and Sales

  #1 (permalink)
 
ligfing's Avatar
 ligfing 
Athens
 
Experience: None
Platform: NinjaTrader
Trading: ES
Posts: 6 since Oct 2012
Thanks Given: 7
Thanks Received: 4

This is an attempt of mine to reconstruct the Time and Sales and piece together the fragmented contract numbers. I used NT7 with a demo ZenFire account. I modified a strategy to show in the NT output window the last trade that occurred and added a timestamp from my PC clock with 15ms accuracy. The symbol recorded was ES at about 8:00 am EST. These are some of the outputs:

68753773 1411,5 1

68753779 1411,5 1
68753779 1411,5 22
68753779 1411,5 2
68753779 1411,5 1
68753779 1411,5 30
68753779 1411,5 30

68753939 1411,25 1

68754189 1411,5 2
68754189 1411,5 2
68754189 1411,5 6

68754339 1411,25 1

First column is a timestamp obtained by (DateTime.Now.Ticks / 100000). It’s essentially the smaller increment my PC clock granularity could get by using Ticks. (I could have used QueryPerformanceCounter API but I don’t think this accuracy is critical). So the difference of the first two trades is 600000 Ticks = 600000 x 100 nanoseconds = 60000 microseconds = 60 milliseconds.

Is it then true to assume that all that 86 trades happening at exactly the same time 68753779 is indeed one big trade split up as smaller ones? (Big market order hitting small limit ones). Could it be that I am getting those trades bundled together because of a network card or internet bandwidth issue? What are your opinions? Has anyone else tried this?

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
My NT8 Volume Profile Split by Asian/Euro/Open
NinjaTrader
NexusFi Journal Challenge - April 2024
Feedback and Announcements
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
Better Renko Gaps
The Elite Circle
Are there any eval firms that allow you to sink to your …
Traders Hideout
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
38 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
GFIs1 1 DAX trade per day journal
19 thanks
The Program
18 thanks
  #3 (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,397 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,537


Already done



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
Thanked by:
  #4 (permalink)
alone
Moskow
 
Posts: 1 since Feb 2013
Thanks Given: 0
Thanks Received: 0

Hello, is it possible to get Agregated Time and Sales for non-elite trader?

Thank you!

Reply With Quote
  #5 (permalink)
 
DavidHP's Avatar
 DavidHP 
Isla Mujeres, MX
Legendary Market Wizard
 
Experience: Advanced
Platform: NinjaTrader
Broker: Ninjatrader / Optimus Futures / AmpFutures
Trading: ES / 6E / 6B / CL
Frequency: Every few days
Duration: Minutes
Posts: 1,609 since Aug 2009
Thanks Given: 11,328
Thanks Received: 2,743


alone View Post
Hello, is it possible to get Agregated Time and Sales for non-elite trader?

Thank you!

The best and easiest way is to become an Elite Member.
Any Elite Member that sends it to you otherwise risks getting kicked out of futures.io (formerly BMT).

Besides, the advantages of supporting futures.io (formerly BMT) are obvious and very inexpensive for the value.

Of course, you could hire a programmer to do the same thing.
I think you can find one to do that for about $100 an hour, should only cost you $500 or $600 to get it programmed.

Rejoice in the Thunderstorms of Life . . .
Knowing it's not about Clouds or Wind. . .
But Learning to Dance in the Rain ! ! !
Follow me on Twitter Reply With Quote
Thanked by:
  #6 (permalink)
 grimReaper 
Los Angeles, CA
 
Posts: 50 since Nov 2011

Takes an hour to program. Don't buy into Mike's greed. If you don't know how to program - learn. A skill you need to trade in the first place.

Reply With Quote
  #7 (permalink)
 
vvhg's Avatar
 vvhg 
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
Posts: 1,583 since Mar 2011
Thanks Given: 1,016
Thanks Received: 2,824


grimReaper View Post
Takes an hour to program. Don't buy into Mike's greed. If you don't know how to program - learn. A skill you need to trade in the first place.

As I actually did program it, I can assure you that it takes more than an hour, way more!
And I do not believe that greed has anything to do with elite costing 50 bucks, that by the way are very well spent.
With the next statement I agree, it has been a huge advantage for me, although I think one can trade successfully without knowing how to program...

Vvhg

Hic Rhodos, hic salta.
Reply With Quote
Thanked by:
  #8 (permalink)
 
Xav1029's Avatar
 Xav1029 
Tampa, FL
 
Experience: Beginner
Platform: NinjaTrader, Sierra Chart
Broker: Mirus Futures/Zen-Fire
Trading: 6E, M6E, 6J
Posts: 1,375 since Dec 2011
Thanks Given: 1,452
Thanks Received: 3,377


grimReaper View Post
Takes an hour to program. Don't buy into Mike's greed. If you don't know how to program - learn. A skill you need to trade in the first place.


vvhg View Post
As I actually did program it, I can assure you that it takes more than an hour, way more!
And I do not believe that greed has anything to do with elite costing 50 bucks, that by the way are very well spent.
With the next statement I agree, it has been a huge advantage for me, although I think one can trade successfully without knowing how to program...

Vvhg

The aggregation logic can be done in about an hr, but the visual side is where the time really gets consumed


alone View Post
Hello, is it possible to get Agregated Time and Sales for non-elite trader?

Thank you!

FYI an Aggregated TS indicator would not work for forex...the most common aggregation methods work with CME Group products

London Calling
Visit my NexusFi Trade Journal Reply With Quote
  #9 (permalink)
 grimReaper 
Los Angeles, CA
 
Posts: 50 since Nov 2011


Xav1029 View Post
The aggregation logic can be done in about an hr, but the visual side is where the time really gets consumed

That's what I meant. For the visual, I just output into the output window.

Reply With Quote
  #10 (permalink)
 
vvhg's Avatar
 vvhg 
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
Posts: 1,583 since Mar 2011
Thanks Given: 1,016
Thanks Received: 2,824



grimReaper View Post
That's what I meant. For the visual, I just output into the output window.

Better don't. That would be the most expensive way of all (except actually printing them on paper).

And spending an hour programming something that is already available can only qualifyas a learning experience...

Vvhg

Hic Rhodos, hic salta.
Reply With Quote




Last Updated on February 8, 2013


© 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