Home/Dovee/Function reference

qty

Script-side quantity hint stored on the risk plan.

Reference/Language/Language

qty 1

A number on the script, stored with stop/target for hosts that read dovee.risk.qty. It is only a hint: if Deploy has a size set, that size is the one that is used. Live orders always take size from Deploy and the broker, not from qty.

Return value

Note

  • qty does not size live trades. Deploy size wins whenever it is set.

Example

when ema(9) crosses above ema(21)
  buy
qty 1
stop 10 points

See also