Ive previously used FXCMPY and it seems that it is no longer working for me, is this a common issue, i have seen 1 post on stack exchange for same in the last 21hrs.
with a fresh venv with python 3.6 and fxcmpy only
import fxcmpy as fx
TOKEN = ‘secret’
con = fx.fxcmpy(access_token=TOKEN, log_level=‘error’, server=‘demo’)
|ERROR|2020-01-12 14:25:39,601|Socket returns unknown error.
Traceback (most recent call last):
File “”, line 1, in
File “/home/amimai/PycharmProjects/untitled/venv/lib/python3.6/site-packages/fxcmpy/fxcmpy.py”, line 217, in init
raise ServerError(‘Can not connect to FXCM Server.’)
fxcmpy.fxcmpy.ServerError: Can not connect to FXCM Server.