newOrderWebhook
Webhooks
newOrderWebhook
New order from webhook. Tutorial setup.
Note, you can only go fully in or out of a position.
POST
newOrderWebhook
Documentation Index
Fetch the complete documentation index at: https://api.alphainsider.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
application/json
Strategy ID.
Stock ID. "stock:exchange" or "stock_id"
Order actions. Action "buy" is the same as "long", "sell" is the same as "short", "close" is the same as "flat". It is recommended for TradingView webhooks to use the {{strategy.market_position}} to get all strategy actions. See TradingView strategy alert guide for full list of automated actions.
Available options:
buy, long, sell, short, close, flat User API token with newOrderWebhook permission.
Leverage to trade at. Defaults to 1 if not set.
Required range:
0 <= x <= 2Must be a multiple of 0.01Response
Request was successful.