Skip to content

Enums

TradeDirection

Direction (buy or sell) of a Trade.

Allowed valued are:

  • BUY
  • SELL

Transaction Status

Status of a transaction.

Allowed valued are:

  • CREATED: trade was created
  • REQUIRED: trade was required to provider
  • PENDING: trade was required to provider and waiting for answer
  • CONFIRMED: trade was confirmed by provider
  • CLOSED: trade was closed by provider
  • REFUSED: trade was refused by provider

Transaction Status

Available units for a CandleSet.

Possible values are:

  • TICK
  • SECOND
  • MINUTE
  • HOUR
  • DAY
  • WEEK
  • MONTH
  • YEAR

Candle Type

Available type of Candles for a Candle Set.

Possible values are:

  • CLASSIC
  • HEIKIN_ASHI

Candle Color

Available colors of a Candle.

Possible values are:

  • GREEN last is superior to open
  • RED last is inferior to open
  • BLACK last is equal to open

Pivot Types

Available pivot types.

Possible values are:

  • CLASSIC: P = (H + L + C) / 3.
  • OLHC : P = (O + H + L + C) / 4.

P: Pivot H: high L: low C: close O: current period open.