mirror of
https://github.com/bspeice/metrik
synced 2025-07-01 22:07:03 -04:00
Fix the Options quotes not getting the right symbol
This commit is contained in:
@ -7,4 +7,11 @@ class CboeTest(TestCase):
|
||||
|
||||
def test_optionable_list(self):
|
||||
companies = CboeOptionableList.retrieve_data()['companies']
|
||||
assert len(companies) > 2000
|
||||
assert len(companies) > 2000
|
||||
|
||||
|
||||
def test_optionable_list_format(self):
|
||||
companies = CboeOptionableList.retrieve_data()['companies']
|
||||
symbols = [c['Stock Symbol'] for c in companies]
|
||||
|
||||
assert 'AAPL' in symbols
|
Reference in New Issue
Block a user