CrossTrade Docs
Basic CommandsAdvanced Commands
  • Welcome!
    • Set Up Guide
  • Getting Started
    • Installation
    • User Dashboard
      • XT Control Panel
      • Manual Trader
      • Command Builder
    • Alert History
    • TradingView Alerts
      • Dynamic Variables
      • XT Alert Builder
      • Example Indicators
      • Example Strategies
    • VPS Connection Guide
  • Webhooks
    • Overview
    • Commands
      • Place Order
      • Flat Place Order
      • Close Position
      • Reverse
      • Reverse Position
      • Flatten Positions
      • Flatten Everything
      • Cancel Order
      • Cancel Orders
      • Cancel All Orders
      • Cancel Replace
      • Change Order
      • Close Strategy
    • Advanced Options
      • Multi-Account Placement
      • Flatten First
      • Require Market Position
      • Max Positions
      • Bracket Orders
      • Percentage and Tick Prices
      • Limit Order Timeouts
      • Trading Window
      • Bypass Trade Windows
      • Delay Timer
      • Rate-Limiting
      • Alert Commenting
      • Kill Switch
      • Notes
    • Examples & Use Cases
    • Troubleshooting
  • Account Manager
    • Overview
      • How It Works
      • Dashboard
      • Global Settings
      • Frequently Asked Questions (FAQ)
    • Monitors
      • Profit/Loss Thresholds
      • Minimum Profit Drawdown
      • Trailing Drawdown
      • Advanced Usage
    • Account Settings
      • Auto-Flattening
      • Trading Windows
    • Management Logs
  • NinjaTrader
    • ATM Strategies
      • Creating ATM Template
    • Optimizing NinjaTrader Performance
    • Enabling Multi-Provider Mode
  • CrossTrade API
    • Overview
    • Authentication
    • Rate Limiting
    • Webhook Trading
    • Accounts
      • GET Accounts Summary
      • GET Accounts
      • GET Account
    • Positions
      • GET Positions
      • GET Position
      • POST Close Position
      • POST Reverse
      • POST Reverse Position
      • POST Flatten Positions
      • POST Flatten Everything
    • Orders
      • GET Orders
      • GET Order
      • GET Order Status
      • POST Cancel Order
      • POST Cancel Orders
      • POST Cancel All Orders
      • POST Place Order
      • POST Flat Place Order
      • POST Replace Order
      • PUT Change Order
    • Strategies
      • GET Strategies
      • GET Strategy
      • POST Close Strategy
    • Executions
      • GET Executions
      • GET Execution
    • Quotes
      • GET Quote
  • Changelog
    • XT Versions
    • All Updates
  • Affiliate Program
    • Media Kit
  • Social Links
    • Discord
    • TradingView
    • YouTube
    • X (Twitter)
    • Instagram
    • Facebook
    • Reddit
    • Website
    • Blog
Powered by GitBook
On this page
  • What are webhooks
  • How do they work?
  • How are they used?
  • How are they different from APIs?
  • TradingView Alerts Overview
  1. Webhooks

Overview

A brief primer overview on what webhooks are and how they work

PreviousVPS Connection GuideNextCommands

Last updated 7 months ago

What are webhooks

Webhooks are a way for applications to communicate with each other in real-time by sending data between them when specific events occur. They are a type of event-based API that can be used to automate workflows and responses. Here are some things to know about webhooks:

How do they work?

A webhook is triggered by an event in a source system and sends an HTTP request to a destination system. The destination system receives the request and the data it contains, known as the payload.

How are they used?

Webhooks can be used to connect different applications, such as an online store and an email vendor. For example, when someone signs up for a mailing list, the store can send a webhook to the email vendor to send a coupon to the user's inbox.

How are they different from APIs?

While both webhooks and APIs can be used to communicate between applications, they work in different ways. An API is a set of protocols for building and interacting with applications, while a webhook is a way for one application to notify another when an event occurs.

If you are a developer interested in writing code for trading bots outside of NT8, check out the .

TradingView Alerts Overview

TradingView alerts are a powerful feature for traders who wish to monitor specific market conditions without having to continuously watch the charts. You can set up alerts based on price movements, indicators, and various other market conditions.

For more information on TradingView alerts use the link below to visit their Help Center.

CrossTrade API
Help Center and Support — AlertsTradingView
Logo