OrderOrder='190777' Name='Stop loss' New State=Working
Instrument='FDAX 06-09' Action=Sell Limit price=0 Stop price=4863,5
Quantity=1 Type=Stop Filled=0 Fill price=0
Error=BrokerOrderError Native error='12237 PRICE HIGHER THAN INSIDE MKT ASK PRC'
and then
Strategy 'AndreasLongEntry' submitted an order that generated the following error 'BrokerOrderError'. Strategy has sent cancel requests, attempted to close the position and terminated itself
What has gone wrong here?
What I do is the following:
1. SetStoppLoss
2. EnterLongLimit
3. Only when exit conditions are given I call SetProfitTarget to exit
Please any advice,
best regards
Andreas
Broker is a PATS system

Comment