...
if (enterOrderL == null && enterOrderS == null){
enterOrderL = EnterLongLimit(0, true, DefaultQuantity, GetCurrentBid()-SpredVal * TickSize, "");
enterOrderS = EnterShortLimit(0, true, DefaultQuantity, GetCurrentAsk() + SpredVal * TickSize, "");
}
...
EnterLongLimit() executed correctly, but EnterShortLimit() shows this error:
"**NT** An Enter() method to submit an entry order at '01.10.2012 13:53:15' has been ignored. Please search on the term 'Internal Order Handling Rules' in the Help Guide for detailed explanation."
After using "Unmanaged = true" EnterShortLimit() shows another error:
"**NT** Error on calling 'OnBarUpdate' method for strategy 'Spreader_a/ee88b08fcd2a4c3c83f65ccff284d70b': 'EnterLongLimit' method can't be called on unmanaged strategies."
Is there any way to deceive "Internal Order Handling Rules that Reduce Unwanted Positions"?
Comment