OnChainBalance#

API documentation for tradeexecutor.strategy.sync_model.OnChainBalance Python class in Trading Strategy framework.

class OnChainBalance[source]#

Bases: object

Describe on-chain token position.

Amount of tokens held at the certain point of time.

__init__(block_number, timestamp, asset, amount)#
Parameters:
Return type:

None

Methods

__init__(block_number, timestamp, asset, amount)

Attributes

block_number

timestamp

asset

amount

__init__(block_number, timestamp, asset, amount)#
Parameters:
Return type:

None