JSONAssetDelta#
tradeexecutor.state.blockhain_transaction.JSONAssetDelta Python class in Trading Strategy framework.
- class JSONAssetDelta[source]#
Bases:
object
JSON serialisable asset delta.
Used for diagnostics purposes only.
See
eth_defi.tx.AssetDelta
for more information.Methods
__init__
(asset, raw_amount)from_asset_delta
(source)from_dict
(kvs, *[, infer_missing])from_json
(s, *[, parse_float, parse_int, ...])schema
(*[, infer_missing, only, exclude, ...])to_dict
([encode_json])to_json
(*[, skipkeys, ensure_ascii, ...])Attributes
Address of ERC-20
Integer as string serialisation.
Convert token amount back to int.