Jump to content
  • 0

Rejected: invalid stop or limit


Guest Benjamin

Question

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.

 

http://labs.ig.com/contact

 

Thanks,
Dan

Link to comment

Archived

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

  • image.png

  • Posts

    • So many hype on $CATE in the industry. The token is already up by 18% since this announcement. The tokenomics looks ok
    • $DOGE has been a major player in the meme coin space for over a decade, and now it's time for $CATE to take the spotlight. $CATE aims to build a large and active community on the Ethereum blockchain. CATE is the pet of Atsuko Sato, also known as "Kabosu Mama." Before Kabosu, the Shiba Inu behind the "Doge" meme, became famous, there was CATE, a cat that played a significant role in the Sato household. This meme cat has been a companion to $DOGE and is now extending its reach to $NEIRO. With a unique charm, CATE has joined the Ethereum blockchain, ready to make its mark in the crypto world. Potential Positive Trend for $CATE The upcoming listing of $CATE on Bitget, a well-known cryptocurrency exchange, could lead to a positive trend in its price. The exchange large user base and active trading environment provide a good platform for $CATE to gain visibility and traction. As $CATE gets listed in the Innovation and Meme Zone on Bitget, it is likely to attract a variety of traders and enthusiasts. This increased interest and trading volume could potentially drive up its price. The listing is set for September 16th, 2024, at 11:00 AM UTC. Join the $CATE community and see how this meme cat makes its way in the crypto space!
    • I agree this is the perfect time to dca on many token. I see $Floki as the next top meme considering the armies behind it. Also $BGB, $ORDI, $Doge, $Shib, and ADA are among my top watchlist 
×
×
  • Create New...
us