A formula value (leading "=") could not be parsed. Use only supported operators and reference top-level payload fields as signal.. Allowed functions: abs, ceil, floor, max, min, round. See invalid-formula-syntax in the reference manual.
TradersPost could not parse the text after the leading = in one of your JSON fields. The substring after = must be a valid formula using only the supported operators (see invalid formula operator for the full list), and property access must use the signal.<topLevelKey> form.
Where formulas are supported
ticker, action, test, and cancel—those four must always be sent as literal JSON values (no leading =).takeProfit and stopLoss only, on sub-fields that accept formulas the same way (values starting with =).For any other nested object or array path, send literals only, or compute the value in an allowed location and reference it with signal.<key>.
Allowed functions
Only these may be called in a formula: abs, ceil, floor, max, min, round. Calling any other function (for example sqrt()) produces an error such as:
The formula in field
xcalls "sqrt()", which is not a supported function. Allowed functions are: abs, ceil, floor, max, min, round.
Common causes
= with nothing after it.signal.limitPrice, not limitPrice alone (a parse or variable error may surface as this code or as invalid formula reference, depending on the expression).Typical error details (webhook log)
The formula in field
limitPriceis empty.
The formula in field
limitPricehas invalid syntax. Check that the expression uses valid operators and references only existing payload fields.
The formula in field
xcalls "sqrt()", which is not a supported function. Allowed functions are: abs, ceil, floor, max, min, round.
Example — incomplete formula
{
"ticker": "SPY",
"action": "buy",
"closePrice": "450.25",
"limitPrice": "="
}
Example — incomplete expression
{
"ticker": "SPY",
"action": "buy",
"limitPrice": "=signal.closePrice +"
}
Correct
{
"ticker": "SPY",
"action": "buy",
"closePrice": "450.25",
"limitPrice": "=signal.closePrice + 0.5"
}
Supported operators (summary)
Arithmetic (+, -, *, /, %), comparison (==, !=, <, >, <=, >=), logical (and, or, not), ternary (?:), string concatenation (~), and containment (in, not in). The complete picture is under invalid formula operator.
Fix the expression, resend the webhook, and check the detailed line in the request log if the error persists.
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.