agent0
agent0 copied to clipboard
Freezable class function astype() does not work for Wallets
Some attributes are dictionaries, e.g. wallet.balance, which can not be trivially cast to a new type (e.g. float(dict) results in a TypeError). We should use a recursive routine that finds the lowest level of container types and propagates the type casting up.
possibly fixed by https://github.com/delvtech/agent0/pull/1442
The new wallet & agent trade DFs resolve this feature request.