Hello,

Is there something special I need to do when I make a StopMarketOrder for a short position?

With my long positions, my stop order works as expected:

  • buy at $100
  • set stop at $90
  • position closes when $90 is hit

With my short positions, there seems to be a bug:

  • buy at $100
  • set stop at $110
  • position immediately closes at $100

Why is this happening?

Author