![]() |
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
|
|||||||
| Automated Trading Support for automated trading systems using NinjaScript. Support for our ATI (Automated Trading Interface) used to link an external application such as TradeStation and eSignal to NinjaTrader. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
Join Date: Aug 2007
Posts: 83
Thanks: 0
Thanked 0 times in 0 posts
|
okay say we bought 1000 shares of MSFT.
we used NTBuyMarket("X", 1000); then we sell 200 shares of MSFT using NTSellMarket("Y", 200); so we are long 800 shares of MSFT int NTFilled(string orderId) Gets the number of contracts/shares filled for the orderId/account combination. Now does NTFilled("X") return ----> 1000? because that is what we were filled or does it return 800. I'm pretty sure it's 1000, but just gotta make sure. Thanks |
|
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to increment string? | Richard Von | Indicator Development | 1 | 07-30-2007 07:16 AM |
| Cannot convert method group 'ToString' to non-delegate type 'string'. Did you intend | MindSabre | General Programming | 2 | 07-11-2007 07:13 AM |
| function in com or dll | smiths | Connecting | 6 | 01-31-2007 09:21 AM |
| OrderID not used? | furedde | Automated Trading | 5 | 01-31-2007 05:53 AM |
| OrderID and custom strings | furedde | Miscellaneous Support | 3 | 11-06-2006 08:27 AM |