TradingView (beta)

Polynomial lets you automate trades by linking TradingView alerts through webhooks. Once authorized, your strategy alerts can trigger trades with defined sizes, keeping positions in sync with backtest

Stepwise guide:

1. Create a Webhook

  • Navigate to Portfolio > Webhooks > New Webhook.

  • Provide a meaningful name and create the webhook.

2. Authorize the Webhook

  • Authorize the webhook to open and close trades on your account.

3. Copy the Webhook Body

  • Sign a message to verify your identity and view the webhook body.

  • Copy and store this content securely. Do not share it publicly.

4. Set Up a TradingView Strategy

  • Choose a TradingView strategy that aligns with your trading style.

  • Verify its performance through backtesting.

5. Configure Trade Size

  • Choose settings > Properties

  • Note: 1 TradingView quantity = 0.001 asset in polynomial

6. Create Alerts in TradingView

  • Create an alert linked to your strategy.

  • Copy and paste the webhook URL and body when setting up the alert.

7. Sync Open Positions

  • When backtesting, TradingView may already assume an open position.

  • To stay in sync, open the same position size in Polynomial before the webhook triggers.

FAQ

1. How should I align open positions in Polynomial with my strategy? You must manually establish the same position size in Polynomial that your backtest assumes. This ensures that alerts correctly reverse or modify positions rather than opening duplicate trades.

2. Is there a sizing requirement for contracts? Yes. In Polynomial, 1 TradingView Contract = 0.001 asset. Ensure that you configure your trade size in TradingView accordingly.

3. Are there any security steps I should follow? Yes. You are required to sign a message to verify your identity before accessing the webhook body. The webhook body should be copied, stored securely, and never shared publicly, as it is protected to prevent unauthorized access.

4. Can I use multiple strategies with different webhooks? Yes. Polynomial supports multiple webhooks, each of which can be linked to a different TradingView strategy. Alternatively, you may also use the same webhook to manage trades from multiple strategies if desired. 5. Why is my trade size incorrect? The most common reason is that after an alert is created, changes to the strategy settings do not automatically update the alert. To correct this, you must delete the existing alert, update the strategy settings, and then create a new alert.

Last updated

Was this helpful?