3.3.2.2Open price on pending orders

The openPrice on a pending order, and the triggerPrice on stop-limit orders, can be specified using any of the following. (It is ignored on new trades.)

openPrice:

Description

number

Fixed price such as 1.23456

{price: x}

Same as a simple number: fixed price such as 1.23456

{offset: x}

Offset from the current market price, such as 0.0020. The value is directional depending on the tradingAction. For a sell-limit or buy-stop, it is added to the current price. For a sell-stop or buy-limit, it is subtracted from the current price.

{pips: x}

Offset from the current market price in pips, such as 20. Converted by the framework using the market's pipSize. The value is directional depending on the tradingAction.

{bar: barDef}

See the description of candle-based prices below