![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jul 2011
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
|
I think it will close the opposite positions first and then open a position when submitting an order with an open opposite position. want a confirmation for this.
|
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,858
Thanks: 162
Thanked 579 times in 570 posts
|
Hello,
Can you please clarify what type of orders you're using? Are they market or stop/limit orders? Are you using the managed or unmanaged approach?
Matthew
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2011
Posts: 22
Thanks: 0
Thanked 0 times in 0 posts
|
I don't think an unmanaged approach will make this effect.
The second question: I don't think it will make any difference between market order or limit order in this case. |
|
|
|
|
|
#4 |
|
NinjaTrader Customer Service
Join Date: Apr 2010
Location: Denver, CO, USA
Posts: 4,858
Thanks: 162
Thanked 579 times in 570 posts
|
Hello,
Correct, there are additional rules with using the managed approach which prevents you from opening additional positions depending on the type of order you are using. However in the unamanged approach, there are no order handing rules. If you are in a 1 long position and submit a sell order for 2 contracts, you will see the 1 long position closed and a short position opened from the 2 qty execution.
Matthew
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| reverse to more opposite positions | solvmatic | ATM Strategies (Discretionary Trading) | 1 | 05-30-2012 02:28 PM |
| Issue with opening orders in opposite direction to open trades | PolarBear | Strategy Development | 1 | 05-08-2012 07:07 AM |
| Submit orders to set positions | pstrusi | Automated Trading | 3 | 11-20-2011 06:08 PM |
| Managed Order handling - enter to opposite size | boaza | Strategy Development | 3 | 08-23-2011 11:32 AM |
| Option to submit ATM stop loss order at the same time as entry order | Softturbo | Version 7 Beta General Questions & Bug Reports | 1 | 06-15-2010 04:02 AM |