Skip to content

Instantly share code, notes, and snippets.

from ib.opt import Connection, message
from ib.ext.Contract import Contract
from ib.ext.Order import Order
from random import randint
import time
def error_handler(msg):
print ("Server Error: %s" % msg)