def __get_cash_row(self, item: CashBalance, depth: int) -> str:
assert isinstance(item, CashBalance)<EOL>view_model = AssetAllocationViewModel()<EOL>view_model.depth = depth<EOL>view_model.name = item.symbol<EOL>view_model.curr_value = item.value_in_base_currency<EOL>view_model.curr_value_own_currency = item.value<EOL>view_model.own_currency = item.currency<EOL>return view_model<EOL>
formats stock row