UniV2 - Sell on indicator signal

The UniV2 - Sell on indicator signal node waits for a technical indicator signal to appear on the chart of a Uniswap V2 trading pair and performs a sell on the pair when the signal appears.

Inputs

  • base_currency:

    • Description: The address of the base currency token of the pair for which the candles will be fetched. This is the token that will be sold when the signal appears. It must be the token contract address, not its name.

    • Allowed types: EVMAddress

    • Default value: None

  • quote_currency:

    • Description: The address of the quote currency token of the pair for which the candles will be fetched. This is the token that will be bought when the signal appears. It must be the token contract address, not its name.

    • Allowed types: EVMAddress

    • Default value: None

  • num_candles:

    • Description: The number of data points (candles) to retrieve.

    • Allowed types: integer

    • Default value: 0

  • timeframe:

    • Description: The timeframe of candles on which the technical indicator will be computed.

    • Default value: None

  • indicator_name:

    • Description: The name of the technical indicator to be calculated.

    • Allowed types: IndicatorName

    • Default value: None

  • window1 [Optional]:

    • Description: The first time window needed for the indicator calculation.

    • Allowed types: integer

    • Default value: None

  • window2 [Optional]:

    • Description: The second time window needed for the indicator calculation.

    • Allowed types: integer

    • Default value: None

  • window3 [Optional]:

    • Description: The third time window needed for the indicator calculation.

    • Allowed types: integer

    • Default value: None

  • signal_threshold [Optional]:

    • Description: The threshold for the indicator's signal calculation. For the EMA, HIGHBBAND, HIGHDONCHIAN, HIGHKC, LOWBBAND, LOWDONCHIAN, LOWKC, PSAR, SMA, and TRIX, the threshold must be left empty and the price values will be used as thresholds. For all other indicators, a threshold must be specified.

    • Allowed types: integer

    • Default value: None

  • threshold_operator:

    • Description: The operator to apply between the values of the computed indicator and the signal threshold for the indicator's signal calculation.

    • Allowed types: OperatorType

    • Default value: None

  • amount:

    • Description: The amount of the base token to be swapped when the signal is verified.

    • Allowed types: decimal

    • Default value: 0

  • wallet:

    • Description: The wallet to be used for the swapping transaction.

    • Allowed types: EVMWallet

    • Default value: None

  • slippage:

    • Description: The slippage tolerance for the swapping transaction.

    • Allowed types: decimal

    • Default value: 0

  • blockchain:

    • Description: The name of the blockchain where the swapping transaction will occur.

    • Allowed types: BlockchainName

    • Default value: None

Output

  • No output

Tags

  • crypto

  • technical analysis

  • uniswap

  • DEX

Last updated