![]() |
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
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Jul 2009
Posts: 85
Thanks: 2
Thanked 4 times in 3 posts
|
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? |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
tulanch,
Unfortunately it is not available.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |