Public
Documentation Settings

Signals

POST{{baseUrl}}/v1/signals

{{baseUrl}}/v1/signals

Parameters

NameTypeRequiredDescription
strategy_ids[integer]false
typestringtruebuy or sell
operand_1stringtrue
operatorstringtrue<= or >=
percentage_differencenumbertrue0 - 1
operand_twostringtrue
next_signal_inclusivebooleanfalseIf the next signal of the same type should be evaluated inclusively or exclusively.
Use null if there is no next signal of the same type.

Valid Operands

  • price
  • avg_entry_price
  • sma_50_day
  • sma_200_day
  • high_52_week
  • low_52_week
  • cagr_3_year
Bodyraw (json)
json
{
    "strategy_ids": [1],
    "type": "buy",
    "operand_1": "price",
    "operator": ">=",
    "percentage_difference": 20,
    "operand_2": "sma_50_day",
    "next_signal_inclusive": null
}

GET{{baseUrl}}/v1/signals

{{baseUrl}}/v1/signals

GET{{baseUrl}}/v1/signals/:id

{{baseUrl}}/v1/signals/1

PATCH{{baseUrl}}/v1/signals/:id

{{baseUrl}}/v1/signals/1
Bodyraw (json)
json
{
    "strategy_ids": [1],
    "type": "buy",
    "operand_1": "price",
    "operator": ">=",
    "percentage_difference": 20,
    "operand_2": "sma_50_day",
    "next_signal_inclusive": null
}
Loading