NinjaTrader Support Forum  
X

Attention!

This website will be down for maintenance from Friday May 24th at 6PM MDT until Sunday May 26th at 12PM 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 > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 02-27-2008, 02:22 PM   #1
rt-trader
Senior Member
 
Join Date: Jan 2007
Location: , ,
Posts: 250
Thanks: 1
Thanked 2 times in 1 post
Default Data & Volume Questions

Hi,

I have a PATS broker and so connect NT (6.5) to them first and eSignal next.
That all works well except that I can not get live data from the eSignal connection for any symbol which is not mapped to PATS - is this correct?

If so - is it likely to change in a future release? I ask this because of next question.

The PATS volume data appears to filtered. The puzzle is this;

All exchange data (buys, sells, volume, time etc) related to the live PATS symbol flows through the Time and Sales window. Yet when accessing this data via the OnMarketData method, reduced volume data results. If I drop the PATS feed and use eSignal full data is available.

So - my question is - if when connected to PATS a full data stream is observable through the T & S window, why cant the OnMarketData method get to that data?

Or (and very possible) am I misunderstanding something here?

Thanks
rt-trader is offline  
Reply With Quote
Old 02-27-2008, 02:35 PM   #2
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

The same data in the NinjaTrader T&S window and the OnMarketData() method in an indicator or strategy should be identical.

You can test this by only connecting to Patsystems and applying a custom indicator to a chart that has the following code.

protected override void OnMarketData(MarketDataEventArgs e)
{
if (e.MarketDataType == MarketDataType.Last)
Print(e.Price + " " + e.Volume);
}
NinjaTrader_Ray is offline  
Reply With Quote
Old 02-27-2008, 02:50 PM   #3
rt-trader
Senior Member
 
Join Date: Jan 2007
Location: , ,
Posts: 250
Thanks: 1
Thanked 2 times in 1 post
Default

Ok - will do - thanks Ray.

Any views on my first question?
rt-trader is offline  
Reply With Quote
Old 02-27-2008, 03:01 PM   #4
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

You can not get any data for futures contracts from eSignal if you connect to Pats first and eSignal second.
NinjaTrader_Ray 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
Newbe questions: Historical data and formats r44chopper Market Analyzer 58 06-20-2011 09:55 AM
Data in volume charts JohnG Miscellaneous Support 3 11-07-2007 09:57 AM
Most complete volume data... funk101 General Programming 3 11-03-2007 05:40 PM
Questions about imported Historical data maskiepop General Programming 3 08-27-2007 07:13 AM
Three questions (Pivots ,Andrews' Pitchfork and data window) max1ci6 Charting 4 03-12-2007 06:11 AM


All times are GMT -6. The time now is 03:29 AM.