AssetType#
API documentation for tradeexecutor.state.identifier.AssetType Python class in Trading Strategy framework.
- class AssetType[source]#
Bases:
object
What kind of asset is this.
We mark special tokens that are dynamically created by lending protocols.
- __init__()#
- Return type:
None
Methods
__init__
()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
ERC-20 vToken with dynamic balance()
ERC-20 aToken with dynamic balance()
Normal ERC-20
- token = 'token'#
Normal ERC-20
- collateral = 'collateral'#
ERC-20 aToken with dynamic balance()
- borrowed = 'borrowed'#
ERC-20 vToken with dynamic balance()
- __init__()#
- Return type:
None