class_docstr: Subclasses the IBPy order to provide the minimum extra functionality
  needed to be compatible with the internally defined orders
  
  Once ``OrderBase`` has processed the parameters, the __init__ method takes
  over to use the parameter values and set the appropriate values in the
  ib.ext.Order.Order object
  
  Any extra parameters supplied with kwargs are applied directly to the
  ib.ext.Order.Order object, which could be used as follows::
  
    Example: if the 4 order execution types directly supported by
    ``backtrader`` are not enough, in the case of for example
    *Interactive Brokers* the following could be passed as *kwargs*::
  
      orderType='LIT', lmtPrice=10.0, auxPrice=9.8
  
    This would override the settings created by ``backtrader`` and
    generate a ``LIMIT IF TOUCHED`` order with a *touched* price of 9.8
    and a *limit* price of 10.0.
  
  This would be done almost always from the ``Buy`` and ``Sell`` methods of
  the ``Strategy`` subclass being used in ``Cerebro``
class_docstr_tok: ["Subclasses","the","IBPy","order","to","provide","the","minimum","extra","functionality","needed","to","be","compatible","with","the","internally","defined","orders","Once","``","OrderBase","``","has","processed","the","parameters",",","the","__init__","method","takes","over","to","use","the","parameter","values","and","set","the","appropriate","values","in","the","ib.ext.Order.Order","object","Any","extra","parameters","supplied","with","kwargs","are","applied","directly","to","the","ib.ext.Order.Order","object",",","which","could","be","used","as","follows",":",":","Example",":","if","the","4","order","execution","types","directly","supported","by","``","backtrader","``","are","not","enough",",","in","the","case","of","for","example","*","Interactive","Brokers","*","the","following","could","be","passed","as","*","kwargs","*",":",":","orderType='LIT","'",",","lmtPrice=10.0",",","auxPrice=9.8","This","would","override","the","settings","created","by","``","backtrader","``","and","generate","a","``","LIMIT","IF","TOUCHED","``","order","with","a","*","touched","*","price","of","9.8","and","a","*","limit","*","price","of","10.0",".","This","would","be","done","almost","always","from","the","``","Buy","``","and","``","Sell","``","methods","of","the","``","Strategy","``","subclass","being","used","in","``","Cerebro","``"]
docstr: Get the printout from the base class and add some ib.Order specific
  fields
docstr_tok: ["Get","the","printout","from","the","base","class","and","add","some","ib.Order","specific","fields"]
code: def __str__(self):
      """Get the printout from the base class and add some ib.Order specific
      fields"""
      basetxt = super(IBOrder, self).__str__()
      tojoin = [basetxt]
      tojoin.append("Ref: {}".format(self.ref))
      tojoin.append("orderId: {}".format(self.m_orderId))
      tojoin.append("Action: {}".format(self.m_action))
      tojoin.append("Size (ib): {}".format(self.m_totalQuantity))
      tojoin.append("Lmt Price: {}".format(self.m_lmtPrice))
      tojoin.append("Aux Price: {}".format(self.m_auxPrice))
      tojoin.append("OrderType: {}".format(self.m_orderType))
      tojoin.append("Tif (Time in Force): {}".format(self.m_tif))
      tojoin.append("GoodTillDate: {}".format(self.m_goodTillDate))
      return "\n".join(tojoin)
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import collections
  from copy import copy
  from datetime import date, datetime, timedelta
  import threading
  import uuid
  import ib.ext.Order
  import ib.opt
  from backtrader.feed import DataBase
  from backtrader import TimeFrame, num2date, date2num, BrokerBase, Order, OrderBase, OrderData
  from backtrader.utils.py3 import bytes, bstr, with_metaclass, queue, MAXFLOAT
  from backtrader.metabase import MetaParams
  from backtrader.comminfo import CommInfoBase
  from backtrader.position import Position
  from backtrader.stores import ibstore
  from backtrader.utils import AutoDict, AutoOrderedDict
  from backtrader.comminfo import CommInfoBase
label_desc: Use image node_id 1 for calling the IBOrder obj's underlying member method code with example usage: obj.__str__() and returns: str