Jump to content

Sjg1234

Community Member
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Sjg1234's Achievements

Occasional Contributor

Occasional Contributor (2/10)

1

Reputation

  1. Hi, I am using an api to connect to IG. My UK account logs in with the demo api details straight to the CFD account. When i use the live account details it logs staright into the SB account. Does anyone know how i can set the demo api login to default to the demo SB account. I have looked in IG interface and cant find a thing. thanks,
  2. thanks, yes i have contacted them, awaiting reply. Just wondered if it was something my end.
  3. Hi, @DoctorCoward we are having the same problem on live site, was it something IG had to fix? thanks Simon,
  4. We have modified the sample excel file for our use. We can login using demo details no problem but when we come to putting live details we always get an error: ({"errorCode" : error.security.invailid-details"} i have changed the apikey numerous times and the details are 100% correct. anybody have the same issue? thanks
  5. thanks @JulianG we got it working, Really appreicate that 😀
  6. yes its definitely a DELETE Call oXMLHTTP.Open("DELETE", IG_API_HOST + "/positions/otc", False)
  7. request body string :{"dealId":"DIAAAAGVJZBK3AZ","direction":"SELL","size":"1","orderType":"MARKET","timeInForce":"EXECUTE_AND_ELIMINATE"} Method : (DELETE /positions/otc) position : "BUY" When i send this request via command: "Call oXMLHTTP.SEND(requestBodyString)" i get this error: "errorCode": "validation.null-not-allowed.request" if i copy request text to API companion . It runs perfectly Any body got a solution to this?
×
×
  • Create New...
us