Jump to content
  • 0

API setup issues with Trailing Stops - Spread Bet account



Hi All, 

As the title says I am having some difficulty setting up a Trailing Stop in my setup. I am able to send an order with a normal Stop Loss and a Take Profit with no issues, but trying to get the Trailing Stop to setup is leaving me puzzled.....

The error returned is, "invalid.request.trailingStop" message, despite trailing stops definitely now being enabled on the account.

What's got me stumped, is that I am able to successfully place the order using the API explorer, but not from AWS or a script on my computer, even when the request parameters are identical. 

I made sure that the request headers and request body in AWS matched the message body and headers as shown in the API explorer... But still no dice.

I also made sure the headers included the V2 tag, as some forum somewhere said that was a potential cause of the problem.

If anyone can help shine some light on this, it would be hugely appreciated!



Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • General Statistics

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

    Newest Member
    Joined 29/09/22 16:55
  • Posts

    • Stock Market SP 500, NASDAQ 100 NDX, Russell 2000 RUT. Dow Jones Industrial (DJI) Elliott Wave Technical Analysis and Trading Strategies. US Markets News Today:S&P 500 closes at new 2022 low, as Apple sells off Elliott Wave Market Summary: The current trend down into Wave (1) is not completed, any move up is a corrective bear market rally Elliott Wave count: (ii) of v) of 3 of (1) Day / Trend Trading Strategies: Day traders look to short Wave c of (ii) Video Chapters 00:00 S&P500  14:08 NASDAQ 100 (NDX) 15:35 Russell 2000 (RUT)  20:17 End. Thanks for supporting! Analyst Peter Mathers TradingLounge™ Australian Financial Services Licence - AFSL 317817 Source: tradinglounge com    
    • Retailers are being hit into all corners. Today it’s the turn of high street stalwart Next plc. It’s lowered its guidance and shares opened down almost 10%, taking shares of rivals M&S with it.      
    • What market data to trade on Friday: EUR/USD, GBP/USD, EUR/GBP, HSI Economic data from Japan, Australia, China US, UK and the eurozone, IGTV’s Jeremy Naylor takes a trip around some of the big FX pairs. Also, with PMI data from China, could we see the downtrend in the Hang Seng (HSI) continue?    
  • Create New...