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 > General Programming

General Programming General NinjaScript programming questions.

Reply
 
Thread Tools Display Modes
Old 11-11-2009, 04:15 PM   #1
RJay
Senior Member
 
Join Date: May 2008
Location: Hartford, CT. USA
Posts: 618
Thanks: 12
Thanked 24 times in 18 posts
Default Market Orders Filled @ Ask and @ Bid!!!

NT,

I am looking for a way to display market orders that have been filled at ask and at bid.

I tried to reproduce this today and to display results to the output screen.

I found the following:

-----------------------------------------------------------------------

e.MarketData.Bid.Price feed - gives me the current bid price.

e.MarketData.Bid.Volume feed - gives me the current number of contracts available @ that bid price.

MarketDataType.Last feed - gives me the sum of bid and ask contracts traded between each update.

------------------------------------------------------------------------

I have not been able to find a stream displaying filled Bid and Ask Market Orders.

I believe your volume series is the sum of Market Orders filled at Bid and Ask.

This problem seems pretty basic, but its got me stumped!!!

How do I go about collecting this data???

Thanks,

RJay
RJay is offline  
Reply With Quote
Old 11-12-2009, 06:10 AM   #2
NinjaTrader_Bertrand
NinjaTrader Customer Service
 
NinjaTrader_Bertrand's Avatar
 
Join Date: Sep 2008
Location: Germany
Posts: 22,421
Thanks: 252
Thanked 982 times in 964 posts
Default

RJay, I don't believe there is such a stream - you would need to create this logic yourself in the code, for samples please check into our BuySell Pressure / Volume indicators, which classify trades with Level 1 data.

http://www.ninjatrader-support.com/H...ndicators.html
NinjaTrader_Bertrand is online now  
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
Orders don't get filled #2 MasterSepp General Programming 16 12-11-2009 08:53 AM
Orders don't get filled MasterSepp Connecting 12 08-27-2009 08:54 AM
Strategy entry market orders don't get filled serman Strategy Development 7 08-26-2009 09:37 AM
my limit orders immediately filled at market .? mini_me SuperDOM and other Order Entry Windows 6 05-31-2009 11:24 AM
orders filled outside of market malcolm Strategy Development 4 11-13-2008 10:53 AM


All times are GMT -6. The time now is 01:11 PM.