NinjaTrader Support Forum  
X

Attention!

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


Go Back   NinjaTrader Support Forum > NinjaScript Development Support > Strategy Development

Strategy Development Support for the development of custom automated trading strategies using NinjaScript.

Reply
 
Thread Tools Display Modes
Old 04-08-2008, 06:30 AM   #1
wayneFH
Senior Member
 
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
Default Forex Volume Different Between eSignal Historial and Real Time?

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
wayneFH is offline  
Reply With Quote
Old 04-08-2008, 06:43 AM   #2
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

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.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 04-08-2008, 07:11 AM   #3
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Volume on forex may not be of much value anyways. Not sure where eSignal gets this data since forex is not a centralized market.
NinjaTrader_Ray is offline  
Reply With Quote
Old 04-08-2008, 07:24 AM   #4
wayneFH
Senior Member
 
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
Default

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
wayneFH is offline  
Reply With Quote
Old 04-08-2008, 07:29 AM   #5
NinjaTrader_Ray
Administrator
 
NinjaTrader_Ray's Avatar
 
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
Default

Got it. No ideas on why volume may be different, the values are just passed through.
NinjaTrader_Ray is offline  
Reply With Quote
Old 04-09-2008, 03:53 PM   #6
wayneFH
Senior Member
 
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
Default Spoke with eSignal Support

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
wayneFH is offline  
Reply With Quote
Old 04-09-2008, 10:54 PM   #7
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Next update will have the duplicate tick filter removed which was in place for currencies. Thanks for reporting this issue.
NinjaTrader_Dierk is offline  
Reply With Quote
Old 04-10-2008, 05:10 AM   #8
wayneFH
Senior Member
 
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
Default You're welcome.

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
wayneFH is offline  
Reply With Quote
Old 04-10-2008, 05:13 AM   #9
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

- 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
NinjaTrader_Dierk is offline  
Reply With Quote
Old 04-10-2008, 05:16 AM   #10
wayneFH
Senior Member
 
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
Default

Awesome, awesome, awesome.

Sincerely,
Wayne
wayneFH is offline  
Reply With Quote
Old 04-10-2008, 05:22 AM   #11
wayneFH
Senior Member
 
Join Date: Mar 2008
Posts: 105
Thanks: 0
Thanked 0 times in 0 posts
Default Important Suggestion

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
wayneFH is offline  
Reply With Quote
Old 04-10-2008, 05:24 AM   #12
NinjaTrader_Dierk
Administrator
 
NinjaTrader_Dierk's Avatar
 
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
Default

Thanks for your suggestions. We'll add it to the list of future considerations.
NinjaTrader_Dierk is offline  
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -6. The time now is 01:55 AM.