When computing
# Use those sids to get the data you want
criteria_panel = get_fundamentals(query(fundamentals.company_reference.sid,
fundamentals.valuation.market_cap
)
.filter(fundamentals.company_reference.sid.in_((starting_sids))),
'2015-05-01', '10m')
criteria_panel
I get a 500 error
/usr/local/lib/python2.7/dist-packages/requests/models.pyc in raise_for_status(self)
838
839 if http_error_msg:
--> 840 raise HTTPError(http_error_msg, response=self)
841
842 def close(self):
HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: http://localhost:8080/api/fundamentals