Constructs an empty balance operation; populate it through the setters.
The asset, or undefined.
The account-currency average entry price, or undefined.
Sets the account-currency average entry price (accepts a value object or
DecimalInput). No FX is applied.
Throws ParamError on an invalid value.
The account-currency position PnL state, or undefined when this
adjustment does not correct it.
Sets or clears the account-currency position PnL state.
Throws TypeError, RangeError, or ParamError on an invalid PnL
state.
Returns a deep copy of this balance operation.
Balance-scoped adjustment operation for one physical asset. Average entry price and realized PnL are denominated in the account currency.