'Test price getters for StopOrder class. Note that the expected rounding
direction for stop prices is the reverse of that for limit prices.'

@parameterized.expand(EXPECTED_PRICE_ROUNDING)
def test_stop_order_prices(self, price, expected_limit_buy_or_stop_sell, expected_limit_sell_or_stop_buy):

    style = StopOrder(price)
    self.assertEqual(None, style.get_limit_price(False))
    self.assertEqual(None, style.get_limit_price(True))
    self.assertEqual(expected_limit_buy_or_stop_sell, style.get_stop_price(False))
    self.assertEqual(expected_limit_sell_or_stop_buy, style.get_stop_price(True))
