class_docstr: A class for order creation following an order being complete.
  
  Parameters
  ----------
  side : `TradeSide`
      The trading side of the specification.
  trade_type : `TradeType`
      The type of trade for the specification.
  exchange_pair : `ExchangePair`
      The exchange pair for the specification.
  criteria : `Callable[[Order, Exchange], bool]`
      The criteria for executing the order after its been created.
code: def __init__(
      self,
      side: "TradeSide",
      trade_type: "TradeType",
      exchange_pair: "ExchangePair",
      criteria: "Callable[[Order, Exchange], bool]" = None,
  ):
      self.side = side
      self.type = trade_type
      self.exchange_pair = exchange_pair
      self.criteria = criteria
  
file_path: tensortrade/tensortrade/oms/orders/order_spec.py
imports: from typing import Callable
  from tensortrade.core import Identifiable
  from tensortrade.oms.orders import Order, TradeSide, TradeType
label_desc: Use image node_id 1 to create a new OrderSpec object from inherited base classes: Identifiable with example: obj = OrderSpec(side, trade_type, exchange_pair, criteria)