def accountSummary( self, _reqId: int, account: str, tag: str, value: str, currency: str): key = (account, tag, currency) acctVal = AccountValue(account, tag, value, currency, '') self.acctSummary[key] = acctVal self.ib.accountSummaryEvent.emit(acctVal)
def accountUpdateMulti( self, reqId: int, account: str, modelCode: str, tag: str, val: str, currency: str): key = (account, tag, currency, modelCode) acctVal = AccountValue(account, tag, val, currency, modelCode) self.accountValues[key] = acctVal self.ib.accountValueEvent.emit(acctVal)
def accountSummary(self, _reqId, account, tag, value, currency): key = (account, tag, currency) acctVal = AccountValue(account, tag, value, currency, '') self.acctSummary[key] = acctVal self._ib.accountSummaryEvent.emit(acctVal)
def accountUpdateMulti(self, reqId, account, modelCode, tag, val, currency): key = (account, tag, currency, modelCode) acctVal = AccountValue(account, tag, val, currency, modelCode) self.accountValues[key] = acctVal self._ib.accountValueEvent.emit(acctVal)
def updateAccountValue(self, tag, val, currency, account): key = (account, tag, currency, '') acctVal = AccountValue(account, tag, val, currency, '') self.accountValues[key] = acctVal self._ib.accountValueEvent.emit(acctVal)
def updateAccountValue(self, tag: str, val: str, currency: str, account: str): key = (account, tag, currency, '') acctVal = AccountValue(account, tag, val, currency, '') self.accountValues[key] = acctVal self.ib.accountValueEvent.emit(acctVal)
def accountSummary(self, _reqId, account, tag, value, currency): key = (account, tag, currency) acctVal = AccountValue(account, tag, value, currency, '') self.acctSummary[key] = acctVal self.handleEvent('accountSummaryEvent', acctVal)
def updateAccountValue(self, tag, val, currency, account): key = (account, tag, currency, '') acctVal = AccountValue(account, tag, val, currency, '') self.accountValues[key] = acctVal self.handleEvent('accountValueEvent', acctVal)