"first day" key in Balanced Loans contract does not have underscore
Closed this issue · 0 comments
bwhli commented
Hi, I noticed this issue today. The position object in Balanced Loans contract has a space instead of underscore.
position = {
'pos_id': pos_id,
'created': self.created.get(),
'address': str(self.address.get()),
'snap_id': _id,
'snaps_length': len(self.snaps),
'last_snap': self.snaps[-1],
'first day': self.snaps[0],
'assets': assets,
'total_debt': status['debt'],
'collateral': status['collateral'],
'ratio': status['ratio'],
'standing': Standing.STANDINGS[status['standing']]
}
Is this by design or a bug?