mirror of
https://github.com/bspeice/metrik
synced 2024-11-23 07:38:09 -05:00
Primary holding is now T, not HCP
This commit is contained in:
parent
80e5a17acf
commit
3ba12bf224
@ -8,5 +8,3 @@ class CboeTest(TestCase):
|
|||||||
def test_optionable_list(self):
|
def test_optionable_list(self):
|
||||||
companies = CboeOptionableList.retrieve_data()['companies']
|
companies = CboeOptionableList.retrieve_data()['companies']
|
||||||
assert len(companies) > 2000
|
assert len(companies) > 2000
|
||||||
# TODO: Get lists of companies from ETF holdings and verify that they
|
|
||||||
# can be found here as well - this should be a superset
|
|
@ -24,7 +24,7 @@ class StateStreetHoldingTest(TestCase):
|
|||||||
|
|
||||||
self.assertEqual(holdings_dict['Ticker Symbol'], 'SDY')
|
self.assertEqual(holdings_dict['Ticker Symbol'], 'SDY')
|
||||||
self.assertEqual(holdings_dict['Fund Name'], u'SPDR® S&P® Dividend ETF')
|
self.assertEqual(holdings_dict['Fund Name'], u'SPDR® S&P® Dividend ETF')
|
||||||
self.assertTrue(holdings_dict['holdings'][0]['Identifier'] == 'HCP')
|
self.assertEqual(holdings_dict['holdings'][0]['Identifier'], 'T')
|
||||||
|
|
||||||
def test_spyd_holdings(self):
|
def test_spyd_holdings(self):
|
||||||
holdings_dict = StateStreetHoldings.retrieve_data(
|
holdings_dict = StateStreetHoldings.retrieve_data(
|
||||||
|
Loading…
Reference in New Issue
Block a user