Username: Password:

Author Topic: TradingView add on question: How to cancel a limit order?  (Read 2758 times)

Offline Hampden

  • Rookie
  • *
  • Posts: 18
    • View Profile
TradingView add on question: How to cancel a limit order?
« on: June 05, 2020, 02:05:18 AM »
From the wiki page (https://wiki.gunthy.org/setup-and-general-settings/preferences/tradingview-add-on), I understand that a limit buy order can be placed using the syntax:

BUY_EXCHANGE_USDT-BTC_amount_rate

I assume that would be a maker order on the exchange's books that would fill only when the price drops to the specified rate.

Is it possible for TradingView to issue an alert that cancels that limit order so a new limit buy order can be placed with a different rate?

Offline Aitor

  • Administrator
  • *****
  • Posts: 570
  • Telegram: @AitorRuiz Gunbot.shop
    • View Profile
    • Gunbot
Re: TradingView add on question: How to cancel a limit order?
« Reply #1 on: June 16, 2020, 10:54:10 PM »
From the wiki page (https://wiki.gunthy.org/setup-and-general-settings/preferences/tradingview-add-on), I understand that a limit buy order can be placed using the syntax:

BUY_EXCHANGE_USDT-BTC_amount_rate

I assume that would be a maker order on the exchange's books that would fill only when the price drops to the specified rate.

Is it possible for TradingView to issue an alert that cancels that limit order so a new limit buy order can be placed with a different rate?

You can't post a new order that makes the old open order to be cancelled. There are ways to cancel open orders, maybe you can get something similar to what you are looking for:

https://wiki.gunthy.org/setup-and-general-settings/preferences/bot-settings#cancel-orders-enabled
« Last Edit: June 16, 2020, 11:00:18 PM by Aitor »