trading-ig icon indicating copy to clipboard operation
trading-ig copied to clipboard

Exception: error.security.account-token-invalid

Open NewEconomicsUK opened this issue 11 months ago • 7 comments

Greetings World!

I was testing my simple code: buy = ig_service.create_open_position(epic='IX.D.DAX.DAILY.IP', direction='BUY') print(buy)

and the error appeared: Exception: error.security.account-token-invalid

My requests using ig_service.fetch_open_positions() and ig_service.fetch_accounts() worked fine so I don't think the token is the problem?

Or am I wrong gentlemen?

Any guidance is much appreciated.

Kind regards

NewEconomicsUK avatar Mar 15 '24 17:03 NewEconomicsUK