Jump to content
  • 0

Rejected: invalid stop or limit

Guest Benjamin


Guest Benjamin

When submitting /positions/otc version 2 POST requests, my positions are occasionally getting rejected with reason UNKNOWN. In the account past activity, I find that the result column lists "Rejected: invalid stop or limit". However, the requests I am submitting do not have a stop or limit. The parameters I provide (copied from my Python code) for my API request are as follows:


create_position(    epic=epic,    direction='SELL',    size=1,    currencyCode='GBP',    expiry=expiry,    forceOpen=True,    guaranteedStop=False,    dealReference=None,    level=bid,    limitDistance=None,    limitLevel=None,    orderType='LIMIT',    quoteId=None,    stopDistance=None,    stopLevel=None,    timeInForce='FILL_OR_KILL',    trailingStop=None,    trailingStopIncrement=None)

It would be extremely useful if someone would explain why some of the requests are being rejected, and how to avoid or deal with this.


Thank you.

Link to comment

2 answers to this question

Recommended Posts

Guest DanC

Hey Benjamin,

We can definitely look into these rejections for you. Would you be able to drop us a message at the following link, confirming the account you are using, an approximate time for the rejections and any deal reference or ID you may have.





Link to comment


This topic is now archived and is closed to further replies.

  • General Statistics

    • Total Topics
    • Total Posts
    • Total Members
    • Most Online
      10/06/21 10:53

    Newest Member
    Joined 08/02/23 02:43
  • Posts

    • Elliott Wave Analysis TradingLounge Daily Chart, 8 February 23,   Uniswap / U.S.dollar(UNIUSD) UNIUSD Elliott Wave Technical Analysis Function: Follow trend     Mode: Motive Structure: Impulse Position: Wave III Direction Next higher Degrees: wave III of Motive Details: Wave 3 rise is likely towards the level of 15.37 Wave Cancel invalid Level: 4.946 Uniswap / U.S.dollar(UNIUSD)Trading Strategy: Uniswap is likely to recover well as price breaks through the MA50 and MA200 are bullish signals. and leads to the movement of wave III that is usually equal to 1.618 x the length of wave I at the level of 15.371. Uniswap / U.S.dollar(UNIUSD) Technical Indicators: The price is above the MA200 indicating an uptrend. The wave oscillators above Zero-Line momentum are bullish. TradingLounge Analyst: Kittiampon Somboonsod Source : Tradinglounge.com get trial here!   Elliott Wave Analysis TradingLounge 4H Chart, 8 February 23,   Uniswap / U.S.dollar(UNIUSD) UNIUSD Elliott Wave Technical Analysis Function: Counter trend     Mode: Corrective Structure: Flat Position: Wave (B) Direction Next higher Degrees: wave ((2)) of Motive Wave Cancel invalid Level: 4.95 Details: Pullback of wave (B) when end, the price decline to wave (C)again. Uniswap / U.S.dollar(UNIUSD)Trading Strategy: Uniswap There is a strong recovery trend when the price breaks MA50 and MA200 is a good sign. But nevertheless, the price is in a phase of retracement in wave (2), when it finishes, the price resumes upward trend. Wait for wave ((2)) to complete. Uniswap / U.S.dollar(UNIUSD)Technical Indicators: The price is above the MA200, indicating an uptrend. The wave oscillators below Zero-Line Bearish momentum.
    • may I ask if anyone knows where is a good place where there is a forum on Excel Based Trading?
    • Look Ahead to 08/02/23: Oil inventories; TTEF, DIS, UBER and BDEV earnings Oil, tech, and the consumer are set to dominate the markets on Wednesday, with earnings from TotalEnergies (TTEF), EIA data, and results from Walt Disney (DIS) and Uber Technologies (UBER). Angeline Ong | Presenter, Analyst and Content Editor, London | Publication date: Tuesday 07 February             
  • Create New...