UniV2 - DCA With Coin
The UniV2 - DCA With Coin
node performs a Dollar Cost Averaging (DCA) strategy on Uniswap V2 using the blockchain's native coin as sell currency.
Inputs
token_to_buy:
description: The address of the token that will be bought at regular intervals.
allowed types: EVMAddress
default value: None
amount_usd:
description: The USD value that will be invested at regular intervals.
allowed types: decimal
default value: 0
time_interval_min:
description: The time interval between recurring buys, expressed in minutes.
allowed types: integer
default value: 1
total_swaps [Optional]:
description: The total number of swaps that will be performed in the DCA. If this field is not set it will keep swapping until the program is stopped.
allowed types: integer
default value: None
wallet:
description: The wallet to be used for the swapping transactions.
allowed types: EVMWallet
default value: None
slippage:
description: The slippage tolerance for the swapping transactions.
allowed types: decimal
default value: 0
blockchain:
description: The name of the blockchain on which the DCA has to be performed.
allowed types: BlockchainName
default value: None
Output
No output
Tags
crypto
EVM
ERC20
uniswap
DEX
Last updated