Receiving Account Updates by Model

View as MarkdownOpen in Claude

The resulting account and portfolio information will be delivered via the IBApi.EWrapper.accountUpdateMulti and IBApi.EWrapper.accountUpdateMultiEnd

EWrapper.accountUpdateMulti (

requestId: int. The id of request.

account: String. The account with updates.

modelCode: String. The model code with updates.

key: String. The name of parameter.

value: String. The value of parameter.

currency: String. The currency of parameter.
)

Provides the account updates.

1def accountUpdateMulti(self, reqId: int, account: str, modelCode: str, key: str, value: str, currency: str):
2 print("AccountUpdateMulti. RequestId:", reqId, "Account:", account, "ModelCode:", modelCode, "Key:", key, "Value:", value, "Currency:", currency)

EWrapper.accountUpdateMultiEnd (

requestId: int. The id of request

)

Indicates all the account updates have been transmitted.

1def accountUpdateMultiEnd(self, reqId: int):
2 print("AccountUpdateMultiEnd. RequestId:", reqId)