Jump to content
  • 0

error.service.marketdata.position.notional.details.null.error


swlloyd3

Question

Posted (edited)

Hi,

Is anybody else getting this error using the Companion API on demo accounts when using the /positions/otc DELETE (version: 1)

I've tried most things including all the help listed in this other thread: 

As per the very last reply this should work but I get the above error on both the Companion API and via my own app so not sure what the issue is. Could anybody shed any light on this?

Many thanks,

Stephen.

Edited by swlloyd3
Missing info
Link to comment

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

FYI - I was able to close the position by setting the Epic and not the DealId value. 

For now I will simply do that instead of DealId but it would be good to understand why this does not work with the DealId. If anybody else finds this here is how it worked for me with just using the Epic.

Set:

Epic (same as the open position)

Expiry

Direction: SELL (my open position was a BUY so must be opposing value)

Deal Size

Order Type

 

With the above set this works.

 

You should get a 200 status returned and a dealReference that matches your original open order.

 

 

 

Edited by swlloyd3
Link to comment

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
      23,663
    • Total Posts
      97,135
    • Total Members
      44,214
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    EMR
    Joined 08/12/23 08:21
  • Posts

×
×
  • Create New...
us