Skip to main content

Signal Generation

Your onBar function must return an array of signals with the same length as the input data. Valid signals are:

  • "BUY": Open or add to a position
  • "SELL": Close or reduce a position
  • "HOLD": No action