【发布时间】:2015-04-14 16:22:55
【问题描述】:
我正在使用 ibpy 来获取我的投资组合的位置。我知道我可以做到:
from ib.opt import ibConnection
tws = ibConnection( host = 'localhost',port= 7496, clientId = 123)
tws.reqAccountUpdates(True,'accountnumber')
然后我应该以某种方式使用updatePortfolio(),但我不知道如何。
谢谢
【问题讨论】:
标签: python interactive-brokers ibpy