Jump to content

VijayKiran

Community Member
  • Posts

    5
  • Joined

  • Last visited

Everything posted by VijayKiran

  1. 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.
  2. Hi, Not sure if this is what you are looking for, but you can default account ID under 'Client Details' section as shown below.
  3. Hi Neil, I'm facing same issue. Any inputs how this is resolved please? Many thanks, Vijay
  4. Hi Arvin, thank you very much for your quick response. I'll send an email to API support team. Many thanks, Vijay
  5. 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"
×
×
  • Create New...
us