tg12 / FAIG

Fully Automated IG Trading
150 stars 59 forks source link

Getting an error with the headers.. #1

Closed airudah2000 closed 6 years ago

airudah2000 commented 6 years ago

Trying to run this on linux and i'm getting the following error:

ron@ronstation:~/Development/Prototype/FAIG$ python3 faig.py
Traceback (most recent call last):
  File "faig.py", line 43, in <module>
    CST_token = headers_json['CST']
KeyError: 'CST'
tg12 commented 6 years ago

Have you changed your API Key/Username and password? Lines 21 - 32.

airudah2000 commented 6 years ago

Aha. I obviously needed to change that. Works now.