You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I have connected to Alpaca and did as you said AAPL.ALPACA - it results with error in a console:
- File "/usr/lib/python3.7/threading.py", line 917, in _bootstrap_inner
- self.run()
- File "/usr/lib/python3.7/threading.py", line 865, in run
- self._target(*self._args, **self._kwargs)
- File "/home/andrii/PycharmProjects/ch-trading-platform/venv/lib/python3.7/site-packages/pyalgotrader-2.0.7-py3.7.egg/vnpy/app/cta_backtester/engine.py", line 345, in run_downloading
- symbol, exchange = extract_vt_symbol(vt_symbol)
- File "/home/andrii/PycharmProjects/ch-trading-platform/venv/lib/python3.7/site-packages/pyalgotrader-2.0.7-py3.7.egg/vnpy/trader/utility.py", line 22, in extract_vt_symbol
- return symbol, Exchange(exchange_str)
- File "/usr/lib/python3.7/enum.py", line 310, in __call__
- return cls.__new__(cls, value)
- File "/usr/lib/python3.7/enum.py", line 564, in __new__
- raise exc
- File "/usr/lib/python3.7/enum.py", line 548, in __new__
- result = cls._missing_(value)
- File "/usr/lib/python3.7/enum.py", line 577, in _missing_
- raise ValueError("%r is not a valid %s" % (value, cls.__name__))
- ValueError: 'ALPACA' is not a valid Exchange
I am trying to run backtesting module, using GUI. But when I select default IF88.CEFEX ticker - it fails to find the data, Same is for AAPL.NYMEX.
I am using Alpaca paper trading brocker. What is a proper way to fetch the data for selected stock and to start backtesting?
The text was updated successfully, but these errors were encountered: