I coded a strategy, which works in backtesting. But everytime I try to let it run realtime with realtime market data (FXCM demo) I get two error warnings at the first trade:
1)
Strategy 'SwingTrading/91980897' submitted an order that generated the following error 'Order rejected'. Strategy has sent cancel requests, attempted to close the position and terminated itself.
2)
Sim101, Sell stop or sell stop limit orders can't be placed above the market. affected Order: Sell 1 StopMarket @ 10644,71
What could that mean?
Kind regards,
Harvard
Comment