def __store_cash_balances_per_currency(self, cash_balances):
cash = self.model.get_cash_asset_class()<EOL>for cur_symbol in cash_balances:<EOL><INDENT>item = CashBalance(cur_symbol)<EOL>item.parent = cash<EOL>quantity = cash_balances[cur_symbol]["<STR_LIT>"]<EOL>item.value = Decimal(quantity)<EOL>item.currency = cur_symbol<EOL>cash.stocks.append(item)<EOL>self.model.stocks.append(item)<EOL><DEDENT>
Store balance per currency as Stock records under Cash class