class_docstr: A class for using a binary operation for criteria.
  
  Parameters
  ----------
  left : `Callable[[Order, Exchange], bool]`
      The left criteria argument.
  right : `Callable[[Order, Exchange], bool]`
      The right criteria argument.
  op : `Callable[[bool, bool], bool]`
      The binary boolean operation.
  op_str : str
      The string representing the op.
class_docstr_tok: ["A","class","for","using","a","binary","operation","for","criteria",".","Parameters","--","--","--","--","--","left",":","`","Callable","[","[","Order",",","Exchange","]",",","bool","]","`","The","left","criteria","argument",".","right",":","`","Callable","[","[","Order",",","Exchange","]",",","bool","]","`","The","right","criteria","argument",".","op",":","`","Callable","[","[","bool",",","bool","]",",","bool","]","`","The","binary","boolean","operation",".","op_str",":","str","The","string","representing","the","op","."]
code: def check(self, order: "Order", exchange: "Exchange") -> bool:
      left = self.left(order, exchange)
      right = self.right(order, exchange)
  
      return self.op(left, right)
  
imports: import operator
  from abc import abstractmethod, ABCMeta
  from typing import Callable, Union, TypeVar
  from enum import Enum
  from tensortrade.oms.orders import TradeSide, Order
  from tensortrade.oms.exchanges import Exchange
label_desc: Use image node_id 2 for calling the CriteriaBinOp obj's underlying member method code with example usage: obj.check(order, exchange) and returns: self