CEX - Sell on indicator signal

The CEX - Sell on indicator signal node performs a market sell on a CEX trading pair when a technical indicator signal appears.

Inputs

  • exchange:

    • description: The exchange from which the OHLCV candles will be fetched.

    • allowed types: CryptoExchange

    • default value: None

  • symbol:

    • description: The trading pair symbol for which the OHLCV candles will be fetched.

    • allowed types: string

    • 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 that will be fetched.

    • default value: empty string

  • 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, threshold must be left empty and the price values will be used as thresholds. For all the 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 currency to be traded when the signal is verified.

    • allowed types: decimal

    • default value: 0

Output

  • description: Object containing information about the performed market order.

Tags

  • crypto

  • CEX

  • technical analysis

Last updated