Token#
API documentation for tradingstrategy.token.Token Python class in Trading Strategy framework.
- class Token[source]#
Bases:
objectToken presentation.
Capture token essentials.
- __init__(chain_id, symbol, address, decimals)#
Methods
__init__(chain_id, symbol, address, decimals)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
chain_idsymbolEthereum address of this token.
decimals