Skip to main content

Utility Classes of the SDK

DowntimeTradeSignal

Allows you to detect downtime in trading. It’s useful for detecting when a trading pair is not trading for a certain period (i.e. exchange maintenance, end of trading day, etc.).

DowntimeTradeSignal example class

VolumeTradeSignal

Allows you to set a minimum volume that you want to trade. It’s useful for detecting when the volume of a trading pair is below a certain threshold.

VolumeTradeSignal example class

IndicatorCrossTradeSignal

Allows you to detect when two indicators cross each other (Up, Down, Over). It’s useful for detecting when a trading pair is in a certain state (i.e. bullish, bearish, etc.).

IndicatorCrossTradeSignal example class

Utility functions of the SDK

  • Arc Cosine
  • Arc Sine
  • Arc Tangent
  • Highest Value
  • Index of Highest Value
  • MidPoint over Period
  • Midpoint Price over Period
  • Lowest Value
  • Index of Lowest Value
  • Lowest and Highest Values
  • Indexes of Lowest and Highest Values
  • Summation

Vector Functions

  • Vector Addition
  • Vector Ceil
  • Vector Cosine
  • Vector Cosh
  • Vector Division
  • Vector Exponential
  • Vector Floor
  • Vector Natural Logarithm
  • Vector Base-10 Logarithm
  • Vector Multiplication
  • Vector Sine
  • Vector Sinh
  • Vector Square Root
  • Vector Subtraction
  • Vector Tangent
  • Vector Tanh

SDK Functions