If you check Allow signal override next to Entry market price type, then the stopPrice, limitPrice, and marketPriceType parameters in your webhook will be used if they exist. If the parameters do not exist in your webhook, then the latest quote price and Entry market price type from the subscription are used.
Checking the global Allow signal overrides automatically checks every per-field Allow signal override checkbox (including the one next to Entry market price type), so entry price fields are honored.
limit order{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 150
}
stop_limit order{
"ticker": "AAPL",
"action": "buy",
"orderType": "stop_limit",
"stopPrice": 100,
"limitPrice": 99
}
marketPriceType (price from quote)When you omit explicit prices, TradersPost fetches a quote and chooses which quote field to use from Entry market price type on the subscription. Sending marketPriceType in the webhook overrides that setting for this signal only. For example, if Entry market price type is Bid but you want this entry to use the ask, send:
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"marketPriceType": "ask"
}
TradersPost will derive the limitPrice from the quote using ask instead of whatever Entry market price type is configured on the subscription.
The allowed values are ask_bid, mark, ask, bid, and last. If your signal does not contain an explicit price or marketPriceType, then the Entry market price type on the subscription is used. Other values are rejected with the webhook message Invalid Market Price Type.
Free 7-day trial
Set-up in 3 minutes
Paper account for testing