I get errors such as the following when opening short trades on Oanda - these do not occur when opening long trades.

This issue only occurs when connected to Oanda, it does not occur during backtests.

I am setting the stop price by assigning a small value (i.e. 3*PIP) to "Stop" - note there is a limit entry price on all orders too so the trade is not opened at the stazrt of the bar.

Any ideas?

-K

(USD/CAD::S) Entry limit 1.31336 hit at 02:35:58
!Order: {
"code" : 33,
"message" : "Invalid stopLoss error: requested stopLoss is below price 1.3134",
"moreInfo" : "http://developer.oanda.com/docs/v1/troubleshooting/#errors"
}
(USD/CAD::S) Can't open 100000 @ 0.00000 at 02:35