mirror of
				https://github.com/bspeice/metrik
				synced 2025-11-04 02:10:43 -05:00 
			
		
		
		
	Add CBOE Optionable list
This commit is contained in:
		
							
								
								
									
										12
									
								
								test/tasks/test_cboe.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								test/tasks/test_cboe.py
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,12 @@
 | 
			
		||||
from unittest import TestCase
 | 
			
		||||
 | 
			
		||||
from metrik.tasks.cboe import CboeOptionableList
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class CboeTest(TestCase):
 | 
			
		||||
 | 
			
		||||
    def test_optionable_list(self):
 | 
			
		||||
        companies = CboeOptionableList.retrieve_data()['companies']
 | 
			
		||||
        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
 | 
			
		||||
		Reference in New Issue
	
	Block a user