New order from webhook. Tutorial setup.
Note, you can only go fully in or out of a position.
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.
buy, long, sell, short, close, flat User API token with newOrderWebhook permission.
Leverage to trade at. Defaults to 1 if not set.
0 <= x <= 2Must be a multiple of 0.01Request was successful.