Describes if batch trading should be enabled (if not trades can be executed one-by-one)
Example: true
revertOnErrorboolean · default: true
Describes if the batch execution should revert if one trade fails. Otherwise the already positive executed trades are settled.
skipBalanceValidationboolean · default: false
Describes if balance check should be skipped. (Can be useful for testing).
failOnMissingPricePairboolean · default: true
If true, an exception is thrown, indicating that no price pair can be found for at least one of the tokens. (Only assets with a balance greater than 0 are considered.) If false, the rebalancing is still calculated without considering the tokens with no pairs.
Example: true
asyncboolean · default: false
If true the rebalancing will be calculated asynchronously. The progress can be checked with the responded id
Example: true
setTokenstringrequired
Set token the rebalancing should be calculated for