zdruid
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Community Tutorials
Store
Posts posted by zdruid
-
-
Hello,
I want to use the IG API to place automated orders with the SP500 (EPIC: IX.D.SPTRD.IFS.IP) but using /positions/otc with this data:
"epic" => "IX.D.SPTRD.IFS.IP",
"direction" => "BUY",
"size" => "1",
"orderType" => "MARKET",
"stopLevel" => 3830,
"forceOpen" => "false",
"currencyCode" => "USD"I get the following response:
"errorCode":"unauthorised access, user has no access to the relevant exchange. Epic=IX.D.SPTRD.IFS.IP
exchangeId=IND_GBL_GBP"
Maybe I am doing something wrong or simply I can't operate this instrument with the API?
Thank you very much
Best regards.
Using the IG API to trade in the USA500 (SP500)
in IG Trading Support - Dealing Questions
Posted
Thank you very much @OfentseIG. !
Best