BalanceUpdateCause#
tradeexecutor.state.balance_update.BalanceUpdateCause Python class in Trading Strategy framework.
- class BalanceUpdateCause[source]#
Bases:
Enum
An enumeration.
- __init__()#
Attributes
Reserve was deposited in the vault
User redeemed assets
Position value has change due to accrued interest
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)