(file_list)
| 63 | } |
| 64 | |
| 65 | def process_stock_files(file_list): |
| 66 | stock_data = { |
| 67 | 'Mids': [], 'Spreads': [], 'Best_Ask_Volume': [], 'Best_Bid_Volume': [], |
| 68 | 'Volatility_10': [], 'Volatility_50': [], 'Volatility_100': [], |
| 69 | 'Levels_Ask_Side': [], 'Levels_Bid_Side': [], 'Seconds_Horizon_10': [], |
| 70 | 'Seconds_Horizon_50': [], 'Seconds_Horizon_100': [] |
| 71 | } |
| 72 | for f in file_list: |
| 73 | file_data = process_file(f) |
| 74 | for key in stock_data: |
| 75 | stock_data[key].extend(file_data[key]) |
| 76 | return stock_data |
| 77 | |
| 78 | def process_stock(s): |
| 79 | files = sorted(glob.glob(f"../data/nasdaq/unscaled_data/{s}/*")) |
nothing calls this directly
no test coverage detected