I am wondering whether anyone has similar issue as I saw. Or it just system server error from another reason.
I found there is a potential ipython notebook bug in Tutorial - Using Fundamental Data.ipython from the folder of "Tutorials and Documentation". After I run this notebook, the following error message shows up from this particular cell.
# Get a list of sids for the date upon which you want to enforce your filtering and limiting criteria
criteria_df = get_fundamentals(query(fundamentals.company_reference.sid
)
.filter(fundamentals.valuation.market_cap> 100000000)
.order_by(fundamentals.valuation.market_cap.desc())
.limit(10)
, '2015-05-01')
series_of_securities = criteria_df.loc['sid']
Error message as below:
HTTPError Traceback (most recent call last)
in ()
6 .order_by(fundamentals.valuation.market_cap.desc())
7 .limit(10)
----> 8 , '2015-05-01')
9 series_of_securities = criteria_df.loc['sid']
/home/qexec/src/qexec_repo/qexec/research/api.py in get_fundamentals(query, base_date, range_specifier, filter_ordered_nulls)
104 base_date,
105 range_specifier,
--> 106 filter_ordered_nulls,
107 )
108
/home/qexec/src/qexec_repo/qexec/research/api.py in get_fundamentals_with_namespace(ns, available_date_tbl, query, base_date, range_specifier, filter_ordered_nulls)
126 filter_ordered_nulls,
127 )
--> 128 return client.get_fundamentals(query_dict)
129
130
/home/qexec/src/qexec_repo/qexec/research/web/client.pyc in get_fundamentals(self, query_dict)
281 query_dict['params'],
282 query_dict['columns'],
--> 283 query_dict['return_panel'],
284 )
285
/home/qexec/src/qexec_repo/qexec/research/web/helpers.pyc in method(args, **kwargs)
127 def _method(*args, **kwargs):
128 response = f(args, **kwargs)
--> 129 response.raisefor_status()
130
131 # If we make it to here, that means we have a 200. It still might
/usr/local/lib/python2.7/dist-packages/requests/models.pyc in raise_for_status(self)
849
850 if http_error_msg:
--> 851 raise HTTPError(http_error_msg, response=self)
852
853 def close(self):
HTTPError: 500 Server Error: INTERNAL SERVER ERROR