If you check the Allow signal overrides checkbox, then any settings in your webhook will be used and they will override the corresponding settings saved on the subscription. Here are some examples webhook payloads with all the different fields you can control from the webhook.
A market order is an order to buy or sell a security immediately at the best available current price.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "market"
}
A limit order is an order to buy or sell a security at a specific price or better.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"limitPrice": 100
}
When you send a limit or stop order without an explicit limitPrice or stopPrice, TradersPost can take the price from the broker quote using Entry market price type or Exit market price type on the subscription. With Allow signal overrides enabled, you can set marketPriceType on the signal to one of ask_bid, mark, ask, bid, or last. See Allow signal entry price, Allow signal exit price, Entry market price type, and Exit market price type for details.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "limit",
"marketPriceType": "ask"
}
A stop order is an order to buy or sell a security when its price touches the stop price. It is converted to a market order when the stop price is reached.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "stop",
"stopPrice": 100
}
A stop limit order is an order to buy or sell a security when its price reaches a certain point, known as the stop price, and then converts into a limit order.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "stop_limit",
"stopPrice": 100,
"limitPrice": 99
}
A trailing stop order is a stop order that can be set at a defined percentage or dollar amount away from a security's current market price. The trailing stop price is adjusted as the price moves in your favor.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "trailing_stop",
"trailAmount": 1
}
A trailing stop order is a stop order that can be set at a defined percentage or dollar amount away from a security's current market price. The trailing stop price is adjusted as the price moves in your favor.
{
"ticker": "AAPL",
"action": "buy",
"orderType": "trailing_stop",
"trailPercent": 1
}
You can control the option chain scanning functionality from the webhook as well. Here is an example payload that will override the subscription settings and scan for options with the following criteria.
{
"ticker": "AAPL",
"action": "buy",
"intrinsicValue": "itm",
"expiration": "+6 months",
"optionType": "call",
"strikeCount": 12,
"strikesAway": 2
}
Or send the exact contract you want to trade instead of using the option chain scanning functionality.
{
"ticker": "AAPL",
"action": "buy",
"expiration": "2023-01-20",
"optionType": "call",
"strikePrice": 325
}
Or send the full option contract symbol in the ticker parameter.
{
"ticker": "AAPL 230120C325",
"action": "buy"
}
Free 7-day trial
Set-up in 3 minutes
Paper account for testing
Your browser didn't send the information this action needs.
That usually means a privacy tool, ad blocker, or other browser extension changed the page before you clicked. Nothing is wrong with your account.
What to try: allow this site in your ad blocker or privacy extension, use a private window with extensions turned off, or reload the page and try again.
Still stuck? Contact support and we can help.