class_docstr: Tests for catalyst ExecutionStyle classes.
docstr: Test that execution styles throw appropriate exceptions upon receipt
  of an invalid price field.
code: def test_invalid_prices(self, price):
      """
      Test that execution styles throw appropriate exceptions upon receipt
      of an invalid price field.
      """
      with self.assertRaises(BadOrderParameters):
          LimitOrder(price)
  
      with self.assertRaises(BadOrderParameters):
          StopOrder(price)
  
      for lmt, stp in [(price, 1), (1, price), (price, price)]:
          with self.assertRaises(BadOrderParameters):
              StopLimitOrder(lmt, stp)
  
file_path: catalyst/tests/test_execution_styles.py
imports: from nose_parameterized import parameterized
  from six.moves import range
  from catalyst.errors import BadOrderParameters
  from catalyst.finance.execution import LimitOrder, MarketOrder, StopLimitOrder, StopOrder
  from catalyst.testing.fixtures import WithLogger, CatalystTestCase
label_desc: Use image node_id 1 for calling the ExecutionStyleTestCase obj's underlying member method code with example usage: obj.test_invalid_prices(price) without return types