Skip to content

Instantly share code, notes, and snippets.

@Goldtean
Goldtean / ib-python-basic.py
Created June 18, 2017 18:41
Request IB Data in Python
from ibapi.wrapper import EWrapper
from ibapi.client import EClient
from ibapi.utils import iswrapper
from ibapi.common import *
from ibapi.contract import *
from ibapi.ticktype import *
# Request IB Data in less than 50 lines of code
class BasicApp(EWrapper, EClient):
def __init__(self):
EClient.__init__(self,self)