![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
|
On historical data from eSignal for Forex, it shows 5 min tick volume ranging from 200 to around 900 per 5 minutes.
But when running real time, like today, it shows 4,418K up to 1,100 K. Is there some explanation or formula that can be used by switching with the if(!Historical) variable? Sincerely, Wayne |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
NT displays the data it receives from eSignal (historical and live). If you experience oddities on volume you would need to contact eSignal support for clarification.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Volume on forex may not be of much value anyways. Not sure where eSignal gets this data since forex is not a centralized market.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#4 |
|
Senior Member
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
|
FYI: I use as a good mechanical indicator of holidays and other low activity periods when it's best to avoid trading at all. I don't use it as a "true" volume.
NOTE: I realize now that I also connected to MB Trading as a secondary connection. eSignal is the primary. I'll test this evening if it's eSignal or MB Trading that's giving these different volume. eSignal historical volume reports the number of "ticks" or changes in the bid/ask spread. That's useful. What in the world they or MBT appear to be reporting real time, I don't know. Does that give any ideas? I would think it gets all data including volume from eSignal primarily. Sincerely, Wayne |
|
|
|
|
|
#5 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
Got it. No ideas on why volume may be different, the values are just passed through.
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
|
The result is that supposedly eSignal reports the volume as the actual number of ticks meaning changes in bid/ask quotes.
So the number of times that OnBarUpdate gets called is supposed to match the volume on historical bars. Can you explain any reaon why OnBarUpdate() gets called significantly less than the volume (or tick count) data provided by eSignal? Is there perhaps some duplicate tick filtering in NT? Or could it be some other issue? Sincerely, Wayne |
|
|
|
|
|
#7 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Next update will have the duplicate tick filter removed which was in place for currencies. Thanks for reporting this issue.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#8 |
|
Senior Member
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
|
You're welcome. Is there no workaround at present?
I have found counting ticks (included duplicates) an effective means of measure a low activity market. It especially keeps my automated strategy out of the market on Holidays or days where the market sleeps in advance of a news announcement, etc. Please advise or an ETA of the next release. I'm very happy to have gotten the production release of 6.5. I'm curious. How often do you release? Monthly? twice a month? Thanks! Wayne |
|
|
|
|
|
#9 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
- unfortunately no workaround present
- please see release notes/dates in docs for frequency of releases - next NT6.5 should be available within the next 2 weeks
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#10 |
|
Senior Member
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
|
Awesome, awesome, awesome.
Sincerely, Wayne |
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
|
Dierk,
Please add this as an option rather than always. Maybe you realized this already. It's a waste of resource to process duplicate ticks. If possible make another option like UpdateOnClose called DuplicateTicks = true or false. You can make the default false for backward compatibility. Also, you could add a property called DuplicateTick T/F that you set if it's a duplicate so our method can just count it and return. That last one is only a nice-to-have since I could implement logic to compare the bid and ask each time myself. Adding these features would simply make it an elegant solution just like the rest of NinjaTrader and NinjaScript. Not perfect, but very elegant. Sincerely, Wayne |
|
|
|
|
|
#12 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Thanks for your suggestions. We'll add it to the list of future considerations.
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IB forex real-time data realiability | jcsteward | Connecting | 5 | 04-13-2008 10:28 PM |
| Esignal Delayed quotes + IB real time data | ssierra | Connecting | 3 | 03-24-2008 08:57 PM |
| eSignal & Forex | cls71 | Connecting | 1 | 02-13-2008 04:10 AM |
| No real time YM data from eSignal? | azmke | Charting | 7 | 01-23-2008 08:15 AM |
| Backfilling Forex Real-Time Charts with Historical Data | JohnL | Connecting | 4 | 05-24-2007 11:42 AM |