Comments (2)
pylivetrader
using pipeline_output() is down as of June 17, 2019.
There is a plan involving additional keys for a remedy.
What might be a reasonable workaround within pipeline to replace this?
from pipeline_live.data.iex.pricing import USEquityPricing
I'd like to completely avoid IEX if possible.
The error looks like this here:
____ before_trading_start
c:\python36\lib\site-packages\pylivetrader\algorithm.py pipeline_output
c:\python36\lib\site-packages\pylivetrader\algorithm.py list_symbols
Traceback (most recent call last):
File "c:\python36\lib\runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "c:\python36\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Python36\Scripts\pylivetrader.exe\__main__.py", line 9, in <module>
File "c:\python36\lib\site-packages\click\core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "c:\python36\lib\site-packages\click\core.py", line 717, in main
rv = self.invoke(ctx)
File "c:\python36\lib\site-packages\click\core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\python36\lib\site-packages\click\core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\python36\lib\site-packages\click\core.py", line 555, in invoke
return callback(*args, **kwargs)
File "c:\python36\lib\site-packages\click\decorators.py", line 17, in new_func
return f(get_current_context(), *args, **kwargs)
File "c:\python36\lib\site-packages\pylivetrader\__main__.py", line 161, in run
algorithm.run(retry=ctx.retry)
File "c:\python36\lib\site-packages\pylivetrader\algorithm.py", line 279, in run
return self.executor.run(retry=retry)
File "c:\python36\lib\site-packages\pylivetrader\executor\executor.py", line 124, in run
algo.before_trading_start(self.current_data)
File "c:\python36\lib\site-packages\pylivetrader\algorithm.py", line 251, in before_trading_start
self._before_trading_start(self, data)
File "algo33.py", line 771, in before_trading_start
c.output = pipeline_output('pipe')
File "c:\python36\lib\site-packages\pylivetrader\misc\api_context.py", line 62, in wrapped
return getattr(algorithm, f.__name__)(*args, **kwargs)
File "c:\python36\lib\site-packages\pylivetrader\algorithm.py", line 1143, in pipeline_output
output = eng.run_pipeline(self._pipelines[name])
File "c:\python36\lib\site-packages\pipeline_live\engine.py", line 77, in run_pipeline
initial_workspace,
File "c:\python36\lib\site-packages\pipeline_live\engine.py", line 244, in compute_chunk
to_load, mask_dates, symbols, mask,
File "c:\python36\lib\site-packages\pipeline_live\data\iex\fundamentals_loader.py", line 11, in load_adjusted_array
symbol_dict = self._load()
File "c:\python36\lib\site-packages\pipeline_live\data\iex\fundamentals_loader.py", line 33, in _load
return iex.company()
File "c:\python36\lib\site-packages\pipeline_live\data\sources\iex.py", line 40, in __call__
return _get(all_symbols)
File "c:\python36\lib\site-packages\pipeline_live\data\sources\util.py", line 68, in wrapper
body = func(*args, **kwargs)
File "c:\python36\lib\site-packages\pipeline_live\data\sources\iex.py", line 37, in _get
return parallelize(fetch, splitlen=99)(all_symbols)
File "c:\python36\lib\site-packages\pipeline_live\data\sources\util.py", line 30, in wrapper
task_result = task.result()
File "c:\python36\lib\concurrent\futures\_base.py", line 425, in result
return self.__get_result()
File "c:\python36\lib\concurrent\futures\_base.py", line 384, in __get_result
raise self._exception
File "c:\python36\lib\concurrent\futures\thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "c:\python36\lib\site-packages\pipeline_live\data\sources\iex.py", line 33, in fetch
getattr(iexfinance.stocks.Stock(symbols), method_name)(),
File "c:\python36\lib\site-packages\iexfinance\stocks\base.py", line 251, in get_company
return self._get_endpoint("company", params=kwargs)
File "c:\python36\lib\site-packages\iexfinance\stocks\base.py", line 99, in _get_endpoint
data = self.fetch(fmt_j=fmt_j, fmt_p=no_pandas)
File "c:\python36\lib\site-packages\iexfinance\base.py", line 197, in fetch
data = self._execute_iex_query(url)
File "c:\python36\lib\site-packages\iexfinance\base.py", line 152, in _execute_iex_query
return self._handle_error(response)
File "c:\python36\lib\site-packages\iexfinance\base.py", line 165, in _handle_error
raise auth_error("The query could not be completed. "
iexfinance.utils.exceptions.IEXAuthenticationError: The query could not be completed. There was a client-side error with your request.
from pipeline-live.
You should now be able to use IEX Cloud if you update to v0.1.7, however, it is recommended that you switch to Alpaca pricing (and Polygon fundamentals if possible) to avoid IEX's new messaging limits.
from pipeline-live.
Related Issues (20)
- Replace for IEXCompany.symbol
- Q1500US and Q500US Migration Guide HOT 1
- IEX Data Causes Symbol Error HOT 4
- Connection reset by peer
- Cannot install -- Mac OS
- Using Mask to speed up execution.
- 'AverageDollarVolume' and 'SimpleMovingAverage' missing
- Morningstar support
- StaticAssets screen
- Polygon Comapny API Common Stock Filter
- PolygonCompany Missing Depositary filter on stock type column
- PolygonCompany.country gives error
- Cannot install pipeline-live Windows HOT 6
- ERROR: pipeline_live.data.iex.classifiers.Sector()
- module 'pylivetrader.algorithm' has no attribute 'attach_pipeline'
- Could not find a version that satisfies the requirement pandas==0.22.0 HOT 10
- Is this still working? Could not install Mac OS
- pipeline-live needs update for v2 bars HOT 2
- Update iexfinance usage for compatibility with v0.4.1 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pipeline-live.