class_docstr: Tests for zipline ExecutionStyle classes.
class_docstr_tok: ["Tests","for","zipline","ExecutionStyle","classes","."]
docstr: Test price getters for the LimitOrder class.
docstr_tok: ["Test","price","getters","for","the","LimitOrder","class","."]
code: def test_limit_order_prices(
      self,
      price,
      expected_limit_buy_or_stop_sell,
      expected_limit_sell_or_stop_buy,
      asset,
  ):
      """
      Test price getters for the LimitOrder class.
      """
      style = LimitOrder(
          price, asset=self.asset_finder.retrieve_asset(asset)
      )
  
      assert_equal(
          expected_limit_buy_or_stop_sell,
          style.get_limit_price(is_buy=True),
      )
      assert_equal(
          expected_limit_sell_or_stop_buy,
          style.get_limit_price(is_buy=False),
      )
  
      assert_equal(None, style.get_stop_price(_is_buy=True))
      assert_equal(None, style.get_stop_price(_is_buy=False))
  
file_path: zipline/tests/test_execution_styles.py
imports: from nose_parameterized import parameterized
  from six.moves import range
  import pandas
  from zipline.errors import BadOrderParameters
  from zipline.finance.execution import LimitOrder, MarketOrder, StopLimitOrder, StopOrder
  from zipline.testing.fixtures import WithLogger, ZiplineTestCase, WithConstantFutureMinuteBarData
  from zipline.testing.predicates import assert_equal
label_desc: Use image node_id 5 for calling the ExecutionStyleTestCase obj's underlying member method code with example usage: obj.test_limit_order_prices(price, expected_limit_buy_or_stop_sell, expected_limit_sell_or_stop_buy, asset) without return types