Solana - DCA With SOL
The Solana - DCA With SOL
node performs a Dollar Cost Averaging (DCA) strategy on a Solana token on Jupiter DEX using SOL as the sell currency.
Inputs
wallet:
description: The wallet to be used for the swapping transactions.
allowed types: SolanaWallet
default value: None
token_to_buy:
description: The mint address of the token that will be bought at regular intervals. It must be the token mint address, not its name.
allowed types: SolanaAddress
default value: None
amount_usd:
description: The USD amount that will be invested at regular intervals using SOL.
allowed types: decimal
default value: 0
time_interval_min:
description: The time interval between recurring buys, expressed in minutes.
allowed types: integer
default value: 0
slippage:
description: The slippage tolerance for the swapping transactions.
allowed types: decimal
default value: 0
priority_fee:
description: The priority fee for the swap transactions.
allowed types: low, medium, high
default value: high
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
Output
No output
Tags
crypto
solana
SPL
jupiter
DEX
Last updated