![]() |
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 |
|
Senior Member
Join Date: Jan 2009
Posts: 216
Thanks: 0
Thanked 1 time in 1 post
|
Hi NT experts,
After 4 entry orders filled, My strategy submitted a pair of stop and target orders for each entry, matching each entry's quantity. Based on log, however, immediately after the stop and target order submission, each of them has its quantity changed to the sum of all entry orders. Any idea what is going on? Regards, |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
binwang2,
When you run your strategy please run with ByStrategyPosition as the Stop & Target Handling as opposed to PerEntryExecution.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Order quantity bug | trader20 | Strategy Analyzer | 1 | 09-14-2009 03:31 PM |
| Auto trading, order types, order quantity, MBTrading | PipSqueak | Automated Trading | 11 | 07-21-2009 08:16 AM |
| order.filled and order.quantity | junkone | Strategy Development | 3 | 12-09-2008 05:10 AM |
| Receiving order changed and execution events from NT | bboyle1234 | Automated Trading | 13 | 06-05-2007 11:19 AM |
| order ID changed? | BCA | Automated Trading | 3 | 12-28-2005 08:53 AM |