Repository: scrtlabs/catalyst

Issue #299: WARNING: CCXT: unable to fetch tickers gdax / ['ETH/USD', 'BTC/USD']: gdax API does not allow to fetch all tickers at once with a singl e call to fetch_tickers() for now
Created: 2018-04-13T02:33:24Z
Dear Catalyst Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System:
Linux instance-3 4.4.0-119-generic #143~14.04.1-Ubuntu SMP Mon Apr 2 18:04:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Python Version: Python 3.6.4 :: Anaconda, Inc.
Python Bitness: 64
How did you install Catalyst: conda
Python packages:

packages in environment at /home/m_a_khalfan/anaconda3:

Name                    Version                   Build  Channel
_ipyw_jlab_nb_ext_conf    0.1.0            py36he11e457_0
alabaster                 0.7.10           py36h306e16b_0
anaconda                  5.1.0                    py36_2
anaconda-client           1.6.9                    py36_0
anaconda-navigator        1.7.0                    py36_0
anaconda-project          0.8.2            py36h44fb852_0
asn1crypto                0.24.0                   py36_0
astroid                   1.6.1                    py36_0
astropy                   2.0.3            py36h14c3975_0
attrs                     17.4.0                   py36_0
babel                     2.5.3                    py36_0
backports                 1.0              py36hfa02d7e_1
backports.shutil_get_terminal_size 1.0.0            py36hfea85ff_2
beautifulsoup4            4.6.0            py36h49b8c8c_1
bitarray                  0.8.1            py36h14c3975_1
bkcharts                  0.2              py36h735825a_0
blaze                     0.11.3           py36h4e06776_0
bleach                    2.1.2                    py36_0
bokeh                     0.12.13          py36h2f9c1c0_0
boto                      2.48.0           py36h6e4cd66_1
bottleneck                1.2.1            py36haac1ea0_0
bzip2                     1.0.6                h9a117a8_4
ca-certificates           2017.08.26           h1d4fec5_0
cairo                     1.14.12              h77bcde2_0
certifi                   2018.1.18                py36_0
cffi                      1.11.4           py36h9745a5d_0
chardet                   3.0.4            py36h0f667ec_1
click                     6.7              py36h5253387_0
cloudpickle               0.5.2                    py36_1
clyent                    1.2.2            py36h7e57e65_1
colorama                  0.3.9            py36h489cec4_0
conda                     4.4.10                   py36_0
conda-build               3.4.1                    py36_0
conda-env                 2.6.0                h36134e3_1
conda-verify              2.0.0            py36h98955d8_0
contextlib2               0.5.5            py36h6c84a62_0
cryptography              2.1.4            py36hd09be54_0
curl                      7.58.0               h84994c4_0
cycler                    0.10.0           py36h93f1223_0
cython                    0.27.3           py36h1860423_0
cytoolz                   0.9.0            py36h14c3975_0
dask                      0.16.1                   py36_0
dask-core                 0.16.1                   py36_0
datashape                 0.5.4            py36h3ad6b5c_0
dbus                      1.12.2               hc3f9b76_1
decorator                 4.2.1                    py36_0
distributed               1.20.2                   py36_0
docutils                  0.14             py36hb0f60f5_0
entrypoints               0.2.3            py36h1aec115_2
et_xmlfile                1.0.1            py36hd6bccc3_0
expat                     2.2.5                he0dffb1_0
fastcache                 1.0.2            py36h14c3975_2
filelock                  2.0.13           py36h646ffb5_0
flask                     0.12.2           py36hb24657c_0
flask-cors                3.0.3            py36h2d857d3_0
fontconfig                2.12.4               h88586e7_1
freetype                  2.8                  hab7d2ae_1
get_terminal_size         1.0.0                haa9412d_0
gevent                    1.2.2            py36h2fe25dc_0
glib                      2.53.6               h5d9569c_2
glob2                     0.6              py36he249c77_0
gmp                       6.1.2                h6c8ec71_1
gmpy2                     2.0.8            py36hc8893dd_2
graphite2                 1.3.10               hf63cedd_1
greenlet                  0.4.12           py36h2d503a6_0
gst-plugins-base          1.12.4               h33fb286_0
gstreamer                 1.12.4               hb53b477_0
h5py                      2.7.1            py36h3585f63_0
harfbuzz                  1.7.4                hc5b324e_0
hdf5                      1.10.1               h9caa474_1
heapdict                  1.0.0                    py36_2
html5lib                  1.0.1            py36h2f9c1c0_0
icu                       58.2                 h9c2bf20_1
idna                      2.6              py36h82fb2a8_1
imageio                   2.2.0            py36he555465_0
imagesize                 0.7.1            py36h52d8127_0
intel-openmp              2018.0.0             hc7b2577_8
ipykernel                 4.8.0                    py36_0
ipython                   6.2.1            py36h88c514a_1
ipython_genutils          0.2.0            py36hb52b0d5_0
ipywidgets                7.1.1                    py36_0
isort                     4.2.15           py36had401c0_0
itsdangerous              0.24             py36h93cc618_1
jbig                      2.1                  hdba287a_0
jdcal                     1.3              py36h4c697fb_0
jedi                      0.11.1                   py36_0
jinja2                    2.10             py36ha16c418_0
jpeg                      9b                   h024ee3a_2
jsonschema                2.6.0            py36h006f8b5_0
jupyter                   1.0.0                    py36_4
jupyter_client            5.2.2                    py36_0
jupyter_console           5.2.0            py36he59e554_1
jupyter_core              4.4.0            py36h7c827e3_0
jupyterlab                0.31.5                   py36_0
jupyterlab_launcher       0.10.2                   py36_0
lazy-object-proxy         1.3.1            py36h10fcdad_0
libcurl                   7.58.0               h1ad7b7a_0
libedit                   3.1                  heed3624_0
libffi                    3.2.1                hd88cf55_4
libgcc-ng                 7.2.0                h7cc24e2_2
libgfortran-ng            7.2.0                h9f7466a_2
libpng                    1.6.34               hb9fc6fc_0
libsodium                 1.0.15               hf101ebd_0
libssh2                   1.8.0                h9cfc8f7_4
libstdcxx-ng              7.2.0                h7a57d05_2
libtiff                   4.0.9                h28f6b97_0
libtool                   2.4.6                h544aabb_3
libxcb                    1.12                 hcd93eb1_4
libxml2                   2.9.7                h26e45fe_0
libxslt                   1.1.32               h1312cb7_0
llvmlite                  0.21.0           py36ha241eea_0
locket                    0.2.0            py36h787c0ad_1
lxml                      4.1.1            py36hf71bdeb_1
lzo                       2.10                 h49e0be7_2
markupsafe                1.0              py36hd9260cd_1
matplotlib                2.1.2            py36h0e671d2_0
mccabe                    0.6.1            py36h5ad9710_1
mistune                   0.8.3                    py36_0
mkl                       2018.0.1             h19d6760_4
mkl-service               1.1.2            py36h17a0993_4
mpc                       1.0.3                hec55b23_5
mpfr                      3.1.5                h11a74b3_2
mpmath                    1.0.0            py36hfeacd6b_2
msgpack-python            0.5.1            py36h6bb024c_0
multipledispatch          0.4.9            py36h41da3fb_0
navigator-updater         0.1.0            py36h14770f7_0
nbconvert                 5.3.1            py36hb41ffb7_0
nbformat                  4.4.0            py36h31c9010_0
ncurses                   6.0                  h9df7e31_2
networkx                  2.1                      py36_0
nltk                      3.2.5            py36h7532b22_0
nose                      1.3.7            py36hcdf7029_2
notebook                  5.4.0                    py36_0
numba                     0.36.2          np114py36hc6662d5_0
numexpr                   2.6.4            py36hc4a3f9a_0
numpy                     1.14.0           py36h3dfced4_1
numpydoc                  0.7.0            py36h18f165f_0
odo                       0.5.1            py36h90ed295_0
olefile                   0.45.1                   py36_0
openpyxl                  2.4.10                   py36_0
openssl                   1.0.2n               hb7f436b_0
packaging                 16.8             py36ha668100_1
pandas                    0.22.0           py36hf484d3e_0
pandoc                    1.19.2.1             hea2e7c5_1
pandocfilters             1.4.2            py36ha6701b7_1
pango                     1.41.0               hd475d92_0
parso                     0.1.1            py36h35f843b_0
partd                     0.3.8            py36h36fd896_0
patchelf                  0.9                  hf79760b_2
path.py                   10.5             py36h55ceabb_0
pathlib2                  2.3.0            py36h49efa8e_0
patsy                     0.5.0                    py36_0
pcre                      8.41                 hc27e229_1
pep8                      1.7.1                    py36_0
pexpect                   4.3.1                    py36_0
pickleshare               0.7.4            py36h63277f8_0
pillow                    5.0.0            py36h3deb7b8_0
pip                       9.0.1            py36h6c6f9ce_4
pixman                    0.34.0               hceecf20_3
pkginfo                   1.4.1            py36h215d178_1
pluggy                    0.6.0            py36hb689045_0
ply                       3.10             py36hed35086_0
prompt_toolkit            1.0.15           py36h17d85b1_0
psutil                    5.4.3            py36h14c3975_0
ptyprocess                0.5.2            py36h69acd42_0
py                        1.5.2            py36h29bf505_0
pycodestyle               2.3.1            py36hf609f19_0
pycosat                   0.6.3            py36h0a5515d_0
pycparser                 2.18             py36hf9f622e_1
pycrypto                  2.6.1            py36h14c3975_7
pycurl                    7.43.0.1         py36hb7f436b_0
pyflakes                  1.6.0            py36h7bd6a15_0
pygments                  2.2.0            py36h0d3125c_0
pylint                    1.8.2                    py36_0
pyodbc                    4.0.22           py36hf484d3e_0
pyopenssl                 17.5.0           py36h20ba746_0
pyparsing                 2.2.0            py36hee85983_1
pyqt                      5.6.0            py36h0386399_5
pysocks                   1.6.7            py36hd97a5b1_1
pytables                  3.4.2            py36h3b5282a_2
pytest                    3.3.2                    py36_0
python                    3.6.4                hc3d631a_1
python-dateutil           2.6.1            py36h88d3b88_1
pytz                      2017.3           py36h63b9c63_0
pywavelets                0.5.2            py36he602eb0_0
pyyaml                    3.12             py36hafb9ca4_1
pyzmq                     16.0.3           py36he2533c7_0
qt                        5.6.2               h974d657_12
qtawesome                 0.4.4            py36h609ed8c_0
qtconsole                 4.3.1            py36h8f73b5b_0
qtpy                      1.3.1            py36h3691cc8_0
readline                  7.0                  ha6073c6_4
requests                  2.18.4           py36he2e5f8d_1
rope                      0.10.7           py36h147e2ec_0
ruamel_yaml               0.15.35          py36h14c3975_1
scikit-image              0.13.1           py36h14c3975_1
scikit-learn              0.19.1           py36h7aa7ec6_0
scipy                     1.0.0            py36hbf646e7_0
seaborn                   0.8.1            py36hfad7ec4_0
send2trash                1.4.2                    py36_0
setuptools                38.4.0                   py36_0
simplegeneric             0.8.1                    py36_2
singledispatch            3.4.0.3          py36h7a266c3_0
sip                       4.18.1           py36h51ed4ed_2
six                       1.11.0           py36h372c433_1
snowballstemmer           1.2.1            py36h6febd40_0
sortedcollections         0.5.3            py36h3c761f9_0
sortedcontainers          1.5.9                    py36_0
sphinx                    1.6.6                    py36_0
sphinxcontrib             1.0              py36h6d0f590_1
sphinxcontrib-websupport  1.0.1            py36hb5cb234_1
spyder                    3.2.6                    py36_0
sqlalchemy                1.2.1            py36h14c3975_0
sqlite                    3.22.0               h1bed415_0
statsmodels               0.8.0            py36h8533d0b_0
sympy                     1.1.1            py36hc6d1c1c_0
TA-Lib                    0.4.17                    
tblib                     1.3.2            py36h34cf8b6_0
terminado                 0.8.1                    py36_1
testpath                  0.3.1            py36h8cadb63_0
tk                        8.6.7                hc745277_3
toolz                     0.9.0                    py36_0
tornado                   4.5.3                    py36_0
traitlets                 4.3.2            py36h674d592_0
typing                    3.6.2            py36h7da032a_0
unicodecsv                0.14.1           py36ha668878_0
unixodbc                  2.3.4                hc36303a_1
urllib3                   1.22             py36hbe7ace6_0
wcwidth                   0.1.7            py36hdf4376a_0
webencodings              0.5.1            py36h800622e_1
werkzeug                  0.14.1                   py36_0
wheel                     0.30.0           py36hfd4bba0_1
widgetsnbextension        3.1.0                    py36_0
wrapt                     1.10.11          py36h28b7045_0
xlrd                      1.1.0            py36h1db9f0c_1
xlsxwriter                1.0.2            py36h3de1aca_0
xlwt                      1.3.0            py36h7b00a1f_0
xz                        5.2.3                h55aa19d_2
yaml                      0.1.7                had09818_2
zeromq                    4.2.2                hbedb6e5_2
zict                      0.1.3            py36h3a3bf81_0
zlib                      1.2.11               ha838bed_2
Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue
Only get this error in live trading. It happened when I sold ether, then bought btc in the same iteration of handle_data. The exchange is gdax. Here is the code that was used in handle_data:
if context.portfolio.positions[context.eth_usd].amount > 0:
                order_target_percent(context.eth_usd, 0)
while len(get_open_orders(context.eth_usd)) > 0:
                print("order not complete")
                time.sleep(2)
if context.portfolio.positions[context.btc_usd].amount == 0:
                order_target_percent(context.btc_usd, 1)

There was ETH in the account, it did successfully sell the ETH and buy the BTC, but then it crashed with this error:
[2018-04-13 02:11:00.233914] INFO: exchange_blotter: filled order 44444477-f4rb-4442-9449-344444844446 / eth_usd: -0.20599444, avg price: 487.4200000000001
[2018-04-13 02:11:01.241170] INFO: exchange_blotter: filled order e22344b3-4c33-4333-2222-333222111338 / btc_usd: 0.0127818, avg price: 7817.739999999999
[2018-04-13 02:11:02.233355] WARNING: CCXT: unable to fetch tickers gdax / ['ETH/USD', 'BTC/USD']: gdax API does not allow to fetch all tickers at once with a singl
e call to fetch_tickers() for now
[2018-04-13 02:11:02.233508] WARNING: exchange_algorithm: Ordering again.
[2018-04-13 02:11:06.275270] WARNING: CCXT: unable to fetch tickers gdax / ['ETH/USD', 'BTC/USD']: gdax API does not allow to fetch all tickers at once with a singl
e call to fetch_tickers() for now
[2018-04-13 02:11:06.275423] WARNING: exchange_algorithm: Ordering again.
[2018-04-13 02:11:13.816381] WARNING: CCXT: unable to fetch tickers gdax / ['ETH/USD', 'BTC/USD']: gdax API does not allow to fetch all tickers at once with a singl
e call to fetch_tickers() for now
[2018-04-13 02:11:13.816552] WARNING: exchange_algorithm: Ordering again.
[2018-04-13 02:11:26.116213] WARNING: CCXT: unable to fetch tickers gdax / ['ETH/USD', 'BTC/USD']: gdax API does not allow to fetch all tickers at once with a singl
e call to fetch_tickers() for now
[2018-04-13 02:11:26.116418] WARNING: exchange_algorithm: Ordering again.
[2018-04-13 02:11:44.048587] WARNING: CCXT: unable to fetch tickers gdax / ['ETH/USD', 'BTC/USD']: gdax API does not allow to fetch all tickers at once with a singl
e call to fetch_tickers() for now
[2018-04-13 02:11:44.048789] WARNING: exchange_algorithm: Ordering again.
Traceback (most recent call last):
  File "/home/m/anaconda3/envs/catalyst/lib/python3.6/site-packages/catalyst/exchange/ccxt/ccxt_exchange.py", line 1042, in tickers
    results = self.api.fetch_tickers(symbols=symbols)
  File "/home/m/anaconda3/envs/catalyst/lib/python3.6/site-packages/ccxt/base/exchange.py", line 937, in fetch_tickers
    self.raise_error(NotSupported, details='API does not allow to fetch all tickers at once with a single call to fetch_tickers() for now')
  File "/home/m/anaconda3/envs/catalyst/lib/python3.6/site-packages/ccxt/base/exchange.py", line 287, in raise_error
    raise exception_type(output)
ccxt.base.errors.NotSupported: gdax API does not allow to fetch all tickers at once with a single call to fetch_tickers() for now

Here is how you can reproduce this issue on your machine:
Reproduction Steps
... I think it's exchange specific (gdax) in live trading mode only.
What steps have you taken to resolve this already?
...
Anything else?
...
Sincerely,
mk

Duplicate issue #326: Catalyst crashes on GDAX when holding several positions
Created: 2018-05-06T20:40:51Z
Dear Catalyst Maintainers,
Before I tell you about my issue, let me describe my environment:
Environment

Operating System: Windows 7
Python Version: 3.6.2
Python Bitness: Get an error message...
How did you install Catalyst: conda
Python packages:

Name                    Version                   Build  Channel
aiodns                    1.1.1                     
aiohttp                   3.0.1                     
alembic                   0.9.9                     
async-timeout             2.0.1                     
attrdict                  2.0.0                     
attrs                     17.4.0                    
backcall                  0.1.0                     
bcolz                     0.12.1                    
bleach                    2.1.3                     
boto3                     1.6.16                    
botocore                  1.9.16                    
Bottleneck                1.2.1                     
cchardet                  2.1.1                     
ccxt                      1.13.38                   
certifi                   2018.1.18                 
certifi                   2016.2.28                py36_0
chardet                   3.0.4                     
click                     6.7                       
colorama                  0.3.9                     
configparser              3.5.0                     
contextlib2               0.5.5                     
cycler                    0.10.0                    
cyordereddict             1.0.0                     
Cython                    0.28.1                    
cytoolz                   0.9.0.1                   
decorator                 4.2.1                     
docutils                  0.14                      
empyrical                 0.2.1                     
enigma-catalyst           0.5.9                     
entrypoints               0.2.3                     
eth-abi                   1.0.0                     
eth-account               0.1.0a2                   
eth-hash                  0.1.1                     
eth-keyfile               0.5.1                     
eth-keys                  0.2.0b3                   
eth-rlp                   0.1.0                     
eth-utils                 1.0.1                     
hexbytes                  0.1.0                     
html5lib                  1.0.1                     
idna                      2.6                       
idna-ssl                  1.0.1                     
intervaltree              2.1.0                     
ipykernel                 4.8.2                     
ipython                   6.3.1                     
ipython-genutils          0.2.0                     
ipywidgets                7.2.0                     
jedi                      0.11.1                    
Jinja2                    2.10                      
jmespath                  0.9.3                     
jsonschema                2.6.0                     
jupyter                   1.0.0                     
jupyter-client            5.2.3                     
jupyter-console           5.2.0                     
jupyter-core              4.4.0                     
kiwisolver                1.0.1                     
Logbook                   1.3.0                     
lru-dict                  1.1.6                     
lxml                      4.2.1                     
Mako                      1.0.7                     
MarkupSafe                1.0                       
matplotlib                2.2.2                     
mistune                   0.8.3                     
mkl                       2017.0.3                      0
mpld3                     0.3                       
multidict                 4.1.0                     
multipledispatch          0.5.0                     
nbconvert                 5.3.1                     
nbformat                  4.4.0                     
networkx                  2.1                       
notebook                  5.4.1                     
numexpr                   2.6.4                     
numpy                     1.13.1                   py36_0
pandas                    0.19.2                    
pandas                    0.20.3                   py36_0
pandas-datareader         0.6.0                     
pandocfilters             1.4.2                     
parso                     0.1.1                     
patsy                     0.5.0                     
patsy                     0.4.1                    py36_0
pickleshare               0.7.4                     
pip                       10.0.1                    
pip                       9.0.1                    py36_1
prompt-toolkit            1.0.15                    
pycares                   2.3.0                     
pycryptodome              3.5.1                     
Pygments                  2.2.0                     
pyparsing                 2.2.0                     
python                    3.6.2                         0
python-dateutil           2.7.1                     
python-dateutil           2.6.1                    py36_0
python-editor             1.0.3                     
pytz                      2017.2                   py36_0
pytz                      2018.3                    
pywinpty                  0.5.1                     
pyzmq                     17.0.0                    
qtconsole                 4.3.1                     
redo                      1.6                       
requests                  2.18.4                    
requests-file             1.4.3                     
requests-ftp              0.3.1                     
requests-toolbelt         0.8.0                     
rlp                       0.6.0                     
s3transfer                0.1.13                    
schedule                  0.5.0                     
scipy                     0.19.1              np113py36_0
Send2Trash                1.5.0                     
setuptools                36.4.0                   py36_1
simplegeneric             0.8.1                     
six                       1.10.0                   py36_0
six                       1.11.0                    
sortedcontainers          1.5.9                     
SQLAlchemy                1.2.5                     
statsmodels               0.8.0               np113py36_0
tables                    3.4.2                     
tabulate                  0.8.2                     
terminado                 0.8.1                     
testpath                  0.3.1                     
toolz                     0.9.0                     
tornado                   5.0.2                     
traitlets                 4.3.2                     
urllib3                   1.22                      
vc                        14                            0
vs2015_runtime            14.0.25420                    0
wcwidth                   0.1.7                     
web3                      4.0.0b11                  
webencodings              0.5.1                     
wheel                     0.29.0                   py36_0
widgetsnbextension        3.2.0                     
wincertstore              0.2                      py36_0
wrapt                     1.10.11                   
yarl                      1.1.0                     
zlib                      1.2.11                   vc14_0  [vc14]
Now that you know a little about me, let me tell you about the issue I am
having:
Description of Issue
When holding several positions on GDAX, the algorithm crashes with the following error message.
[2018-05-05 23:03:07.166919] WARNING: CCXT: unable to fetch tickers gdax / ['BCH/USD', 'LTC/USD', 'ETH/USD', 'BTC/USD']:
 gdax API does not allow to fetch all tickers at once with a single call to fetch_tickers() for now
[2018-05-05 23:03:13.167262] WARNING: CCXT: unable to fetch tickers gdax / ['BCH/USD', 'LTC/USD', 'ETH/USD', 'BTC/USD']:
 gdax API does not allow to fetch all tickers at once with a single call to fetch_tickers() for now
[2018-05-05 23:03:20.668692] WARNING: CCXT: unable to fetch tickers gdax / ['BCH/USD', 'LTC/USD', 'ETH/USD', 'BTC/USD']:
 gdax API does not allow to fetch all tickers at once with a single call to fetch_tickers() for now
[2018-05-05 23:03:31.920335] WARNING: CCXT: unable to fetch tickers gdax / ['BCH/USD', 'LTC/USD', 'ETH/USD', 'BTC/USD']:
 gdax API does not allow to fetch all tickers at once with a single call to fetch_tickers() for now
[2018-05-05 23:03:49.796358] WARNING: CCXT: unable to fetch tickers gdax / ['BCH/USD', 'LTC/USD', 'ETH/USD', 'BTC/USD']:
 gdax API does not allow to fetch all tickers at once with a single call to fetch_tickers() for now
Traceback (most recent call last):
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\exchange\ccxt\ccxt_exchange.py", line 1052, in
tickers
    results = self.api.fetch_tickers(symbols=symbols)
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\ccxt\base\exchange.py", line 942, in fetch_tickers
    self.raise_error(NotSupported, details='API does not allow to fetch all tickers at once with a single call to fetch_tickers() for now')
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\ccxt\base\exchange.py", line 288, in raise_error
    raise exception_type(output)
ccxt.base.errors.NotSupported: gdax API does not allow to fetch all tickers at once with a single call to fetch_tickers(
) for now

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "algo.py", line 882, in <module>
    simulate_orders = PAPER_TRADE,
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\utils\run_algo.py", line 584, in run_algorithm
    stats_output=stats_output
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\utils\run_algo.py", line 348, in _run
    overwrite_sim_params=False,
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\exchange\exchange_algorithm.py", line 1044, in run
    data, overwrite_sim_params
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\exchange\exchange_algorithm.py", line 358, in run
    data, overwrite_sim_params
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\algorithm.py", line 724, in run
    for perf in self.get_generator():
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\gens\tradesimulation.py", line 224, in transform
    for capital_change_packet in every_bar(dt):
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\gens\tradesimulation.py", line 137, in every_bar
    handle_data(algo, current_data, dt_to_use)
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\utils\events.py", line 216, in handle_data
    dt,
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\utils\events.py", line 235, in handle_data
    self.callback(context, data)
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\exchange\exchange_algorithm.py", line 890, in handle_data
    cleanup=lambda: log.warn('Ordering again.')
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\redo\__init__.py", line 162, in retry
    return action(*args, **kwargs)
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\exchange\exchange_algorithm.py", line 713, in synchronize_portfolio
    cash=required_cash,
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\exchange\exchange.py", line 725, in sync_positions
    tickers = self.tickers(assets)
  File "C:\Users\User\Anaconda2\envs\catalyst3\lib\site-packages\catalyst\exchange\ccxt\ccxt_exchange.py", line 1060, in tickers
    raise ExchangeRequestError(error=e)
catalyst.exchange.exchange_errors.ExchangeRequestError: Request failed: gdax API does not allow to fetch all tickers at once with a single call to fetch_tickers() for now

It's a bit strange, because I don't have trouble fetching price data for several pairs at once. Maybe Catalysts handles correctly the calls to data.current and data.history by breaking them pair by pair, but somehow doesn't do this for some other calls? It doesn't look like this call is coming directly from my algorithm, so I can't really do much about it.
Here is how you can reproduce this issue on your machine:
Reproduction Steps

Have an algorithm open several positions on GDAX.
This should be sufficient to get the error above.

Sincerely,
Samuel

Closing comment (2018-05-07T08:36:12Z): Thanks @sam31415 , it is a duplicate of #299.
I am closing this, let's continue this discussion on that thread.