ib_async icon indicating copy to clipboard operation
ib_async copied to clipboard

Implement protobuf

Open gnzsnz opened this issue 1 month ago • 2 comments

works with protobuf ONLY, requires 10.40 or greater replaces wrapper._results with a reactive pipeline implemented in eventkit. This simplifies the solution by removing state management

simple test script

import logging
import ib_async


ib_async.util.startLoop()
logging.basicConfig(
    level=logging.DEBUG,
    format='%(asctime)s %(levelname)s %(name)s: %(message)s',
    filename='debug_connection.log',
    filemode='w')
ib = ib_async.IB()

ib.connect('localhost',7497,clientId=0)
print("connection completed")

aapl = ib_async.Stock("AAPL",'SMART','USD')
aapl_details = ib.reqContractDetails(aapl)
print(aapl)
print(aapl_details)

ib.disconnect()
print("disconnected.")

gnzsnz avatar Oct 27 '25 16:10 gnzsnz