BalanceUpdateCause#

tradeexecutor.state.balance_update.BalanceUpdateCause Python class in Trading Strategy framework.

class BalanceUpdateCause[source]#

Bases: Enum

An enumeration.

__init__()#

Attributes

deposit

Reserve was deposited in the vault

redemption

User redeemed assets

interest

Position value has change due to accrued interest

correction

Accounting correction from on-chain balances to the state (internal ledger)

deposit = 'deposit'#

Reserve was deposited in the vault

redemption = 'redemption'#

User redeemed assets

interest = 'interest'#

Position value has change due to accrued interest

correction = 'correction'#

Accounting correction from on-chain balances to the state (internal ledger)