Get a default country_code to use for fetch_csv symbol lookups. This will be used to disambiguate symbol lookups for fetch_csv calls if our asset db contains entries with the same ticker spread across multiple
(calendar)
| 2392 | |
| 2393 | @staticmethod |
| 2394 | def default_fetch_csv_country_code(calendar): |
| 2395 | """ |
| 2396 | Get a default country_code to use for fetch_csv symbol lookups. |
| 2397 | |
| 2398 | This will be used to disambiguate symbol lookups for fetch_csv calls if |
| 2399 | our asset db contains entries with the same ticker spread across |
| 2400 | multiple |
| 2401 | """ |
| 2402 | return _DEFAULT_FETCH_CSV_COUNTRY_CODES.get(calendar.name) |
| 2403 | |
| 2404 | ################## |
| 2405 | # End Pipeline API |