Hi, could somebody explain to me behavior of this 5-line script?

  • I place one MarketOrder to buy 1 share of Microsoft
  • Then I place one StopMarketOrder to sell 1 share of Microsoft if pricehits $1000
  • Price never hits $1000 but two orders get filled, WHY???

Why stop market order acts like market order???

Anybody?

Author