Jump to content

astrikor

Community Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by astrikor

  1. I'm having trouble with long-term deals which will not close ( i'm using Python api)

    According to the IG help desk, it looks like the security token has expired.

    So, how long does a security token last, and does it need  frequent refreshing to action a close command.

    Or alternatively would it be automatically refreshed by a new login immediately prior to commanding close?

     

    Thanks Astrikor

  2. I have been running automatically with api on the fx demo platform for some time.

    Occasionally when a position has been held for a long time, say >10 hours, my position will not close when instructed by api.

    My software then runs a "while loop" continuously trying to close the  position.

    later when I check my positions I then realise it's stalled and have to close manually - which it does without a problem.

     

    Any ideas gratefully received!

     

    Astrikor

×
×
  • Create New...
us