Solana - DCA with USDC

The Solana - DCA With USDC node performs a Dollar Cost Averaging (DCA) strategy on a Solana token on Jupiter DEX using USDC as the sell currency.

Inputs

  • 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_usdc:

    • description: The amount in USDC 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: 0

  • wallet:

    • description: The wallet to be used for the swapping transactions.

    • allowed types: SolanaWallet

    • default value: None

  • 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