- Implemented a function to fetch futures data from the API with error handling and response validation. - Added example usage for fetching and saving K-line data to CSV. - Updated CSV files with new data entries for specified date ranges. - Enhanced the structure of the data retrieval function to include parameters for depth and adjust type.
218 B
218 B
| 1 | datetime | symbol | open | high | low | close | volume | turnover | open_interest |
|---|---|---|---|---|---|---|---|---|---|
| 2 | 2025-10-09 09:30:00 | IM2512 | 7444.0 | 7445.2 | 7443.8 | 7445.2 | 406 | 604503760 | -176 |
| 3 | 2025-10-09 09:45:00 | IM2512 | 7448.0 | 7497.8 | 7430.8 | 7482.6 | 20461 | 30561185000 | -6689 |