![]() |
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 |
|
Junior Member
Join Date: Jan 2009
Posts: 19
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
I have multiple trades Running.
If I now send a trade, which can not be executed (no Money). Why are all my active trades then closed? |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
doc11,
Are you doing discretionary trading? NinjaScript Strategy? Please clarify. Thank you.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jan 2009
Posts: 19
Thanks: 0
Thanked 0 times in 0 posts
|
NinjaScript Strategy.
I have noted, if a trade of NinjaTrader can not be executed, NinjaTrader automatically closes all open positions. how can I prevent it? |
|
|
|
|
|
#4 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
doc11,
This occurs when the strategy runs into an irreconcilable error. When you submit an order that is rejected, NinjaTrader does not know how you want to handle this and as such it will cancel any working orders. This is to limit any potential fall out. If you feel like the order is reconcilable you can override this behavior with this: http://www.ninjatrader-support.com/H...rHandling.html We do NOT recommend you using this unless you have absolute confidence that you have programmed a fall out plan for every possible scenario.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jan 2009
Posts: 19
Thanks: 0
Thanked 0 times in 0 posts
|
Thanks for the help.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Phantom execution | MelbourneRich | Miscellaneous Support | 1 | 08-13-2008 07:10 AM |
| Order execution | funky_boy | Strategy Development | 11 | 07-18-2008 01:19 AM |
| Weird execution error | ct | Strategy Development | 1 | 07-16-2008 11:07 AM |
| Two step execution | stefy | Strategy Development | 3 | 05-12-2008 03:19 PM |
| Execution on the same bar | MrBaffalo | Strategy Development | 3 | 01-23-2007 01:57 AM |