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-05-2009, 02:57 PM   #1
tulanch
Member
 
Join Date: Jul 2009
Posts: 85
Thanks: 2
Thanked 4 times in 3 posts
Default Any way to see if trade was a short or a long

Is there any data element in onmarketupdate or onmarketdepth that lets one know if the last trade was a short or a long?

I do know if it was as the ask or the bid or inbetween, but I don't know if it was a short or a long.

My guess is no as for every sell this is a buy, and for every buy there is a sell.

I'm wanting to get a running total of shorts and longs.

Any ideas?
tulanch is offline  
Reply With Quote
Old 11-05-2009, 03:06 PM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
Default

tulanch,

Unfortunately it is not available.
NinjaTrader_Josh 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
Long and Short ZendoZafu SuperDOM and other Order Entry Windows 1 07-10-2009 08:38 AM
Can I be long/short simultaneously? heech General Programming 5 05-18-2009 03:39 AM
Different Optimization Long vs Short 123r34 Strategy Analyzer 1 04-29-2009 02:48 PM
Long and short on same instrument swandro Strategy Analyzer 1 11-03-2008 08:58 AM
Always start with a long or short Nu2NT Automated Trading 4 05-12-2008 12:05 PM


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