VijayKiran
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Blogs
Events
Community Tutorials
Store
Posts posted by VijayKiran
-
-
Hi,
Not sure if this is what you are looking for, but you can default account ID under 'Client Details' section as shown below.
-
Hi Neil,
I'm facing same issue. Any inputs how this is resolved please?
Many thanks,
Vijay
-
Hi Arvin, thank you very much for your quick response. I'll send an email to API support team.
Many thanks,
Vijay
- 1
-
Hi,
I'm new to IG and I am trying to place a new position through API, but it is throwing error. Can someone help how to fix this please?
ig_service.create_open_position(
currency_code='GBP',
direction='SELL',
epic='OP.D.SPXWEEK.3980C.IP',
order_type='MARKET',
expiry='-',
force_open='false',
guaranteed_stop='false',
size=0.5, level=None,
limit_distance=None,
limit_level=None,
quote_id=None,
stop_level=None,
stop_distance=None,
trailing_stop=None,
trailing_stop_increment=None)Getting error message : "errorCode":"error.trading.otc.market-orders.not-supported-for-epic"
error LIMIT_ORDER_WRONG_SIDE_OF_MARKET
in IG Trading Support - Dealing Questions
Posted
Hi,
I'm getting error 'LIMIT_ORDER_WRONG_SIDE_OF_MARKET' when I am trying to initate a new open posistion after closing the existing posistion.
But the same create new posostion function is working fine when I am trying to initate new posistion at the begening of the day.
Can someone help what is the mistake with this approach?
Transaction is working fine or accepeted when executing this code:
Transaction is getting rejected when executing this code:
create new posistion endpoint inputs:
2nd trade imn the below screen rejected with LIMIT_ORDER_WRONG_SIDE_OF_MARKET error.