![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Jan 2007
Location: , ,
Posts: 250
Thanks: 1
Thanked 2 times in 1 post
|
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 |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
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); }
Ray
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2007
Location: , ,
Posts: 250
Thanks: 1
Thanked 2 times in 1 post
|
Ok - will do - thanks Ray.
Any views on my first question? |
|
|
|
|
|
#4 |
|
Administrator
Join Date: Nov 2004
Location: Denver, CO, USA
Posts: 11,163
Thanks: 6
Thanked 45 times in 32 posts
|
You can not get any data for futures contracts from eSignal if you connect to Pats first and eSignal second.
Ray
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |