![]() |
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
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Oct 2009
Location: DTC
Posts: 15
Thanks: 1
Thanked 2 times in 2 posts
|
I run my FX strategies on the same account with each the maximum leverage. As it is a scalping systems I sometimes get excess margin error when one currency is moving fast (often during news). Example : Yen is moving fast and one strategy enter on GJ with maximum leverage and then another strategy try to enter EJ, but fail cause of margin. At this moment Ninja disable the strategy which caused the error. I want the strategy to continue running. I'm thinking about RealtimeErrorHandling.TakeNoAction but I would like to know exactly what are risks. I use managed approach. I enter Market only, and use Stop & Target Submission = PerEntryExecution. If I get an overfill error (this happen cause of market's speed only when my trail is running fast....(need real IB trail....;-)) what will happen ? Will Ninja cancel my trail ?
Any other idea may be ? Alchi |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,414
Thanks: 252
Thanked 978 times in 961 posts
|
Alchi, correct an overfill would halt the strategy per default, but in the unmanaged approach you could address that via code - http://www.ninjatrader.com/support/h...reoverfill.htm
Bertrand
NinjaTrader Customer Service |
|
|
|
![]() |
| Tags |
| realtimeerrorhandling |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RealtimeErrorHandling and automated ATM strategies | pepelucho | Automated Trading | 1 | 06-11-2010 01:26 PM |
| RealtimeErrorHandling Issues | John833 | Strategy Development | 5 | 05-12-2010 04:05 PM |