title: IB API Python sample not using Ibpy
body: <p>Can someone help me to figure out how to do basic request by using IB API Python socket?  (I am using the latest IB API and it seems it support Python so should not need the Ibpy which people used to use)</p>
  
  <p>My code like this can simply work and make it connect to TWS.
  The problem is : I have no idea how to "see" the message sending back from IB.</p>
  
  <pre><code>from ibapi import wrapper
  from ibapi.client import EClient
  from ibapi.contract import *
  
  
  w = wrapper.EWrapper()
  myTWS = EClient(w)
  myTWS.connect(host='localhost', port=7496, clientId=100)
  
  print("serverVersion:%s connectionTime:%s" % (myTWS.serverVersion(),
                                            myTWS.twsConnectionTime()))
  myTWS.startApi()
  
  
  c = Contract()
  c.m_symbol = "AAPL"
  c.m_secType = "STK"
  c.m_exchange = "ISLAND"
  c.m_currency = "USD"
  
  
  myTWS.reqRealTimeBars(999, c, 5, "MIDPOINT", True, [])
  </code></pre>
  
  <p>I know that it was something like Register() before with IBPy. I just don't know how to do it in this current IB original python API. Can someone help by giving me a simple example? Thanks in advance. </p>