Home Forums General Questions What is the purpose of the other JSON syntaxes like Limit Order, Stop Order, Square Off Position, and Cancel Order in the JSON Bridge?

What is the purpose of the other JSON syntaxes like Limit Order, Stop Order, Square Off Position, and Cancel Order in the JSON Bridge?

  • Author
    Posts
    • I’m using the Strategy Order syntax in the JSON Bridge with TradingView, and I understand how it works.

      However, I also noticed there are other syntax generators available such as Limit Order, Stop Order, Square Off Position, and Cancel Order.

      What are these syntaxes used for?

      Can they also be used with TradingView alerts just like the Strategy Order syntax, or are they meant for some other purpose?

    • Yes sir, you can definitely use these syntaxes with TradingView, just like you use the Strategy Order syntax.

      The process is exactly the same.

      You simply generate the required JSON syntax, paste it into the TradingView alert message, configure the webhook URL, and whenever the alert is triggered, AlgoDelta will execute that JSON request.

      The main difference is how these orders are handled by the JSON Bridge.

      -Strategy Order

      If you use the Strategy Order syntax, the order is managed and monitored by the JSON Bridge itself.

      Because of this, you can see the order details, status, and other information inside the JSON Bridge section of the AlgoDelta platform.

      -Limit Order

      If you generate a Limit Order syntax, the order is sent directly to your broker as a limit order. It is not monitored by the JSON Bridge after execution.

      -Stop Order

      Similarly, a Stop Order syntax is also sent directly to the broker and is managed by the broker instead of the JSON Bridge.

      -Square Off Position

      This syntax is used to close an existing position directly at the broker. It is not tracked as a Strategy Order inside the JSON Bridge.

      -Cancel Order

      This syntax allows you to cancel a pending order that already exists at the broker. It is also executed directly at the broker level.

      So the key difference is:

      -Strategy Order
      -> Managed and monitored by the JSON Bridge. The order information is visible inside the JSON Bridge section.

      -All other syntaxes (Limit Order, Stop Order, Square Off Position, and Cancel Order)
      -> Executed directly at the broker. They are not monitored or tracked by the JSON Bridge after execution.

      So if your use case requires JSON Bridge features such as strategy order management and monitoring, use the Strategy Order syntax.

      If you simply want to place, modify, cancel, or square off orders directly at the broker, you can use the other JSON syntaxes in exactly the same way through TradingView or any platform capable of sending webhook requests.

Viewing 1 reply thread
×

Start a Discussion

Get help from the AlgoDelta community.

×

Welcome Back!

Enter your email to sign in or create an account. No passwords needed.

⚠️

Delete This?

Are you sure you want to delete this? This action is permanent and cannot be undone.

Scroll to Top