Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'from_date': None,
'to_date': None
},
{
'time_zone': 'GMT -3:00',
'time_filter': 'time_only',
'countries': None,
'importances': None,
'categories': None,
'from_date': '01/01/2020',
'to_date': '01/02/2020'
}
]
for param in params:
investpy.get_calendar(time_zone=param['time_zone'],
time_filter=param['time_filter'],
countries=param['countries'],
importances=param['importances'],
categories=param['categories'],
from_date=param['from_date'],
to_date=param['to_date'])
'to_date': 'error'
},
{
'time_zone': None,
'time_filter': 'time_only',
'countries': None,
'importances': None,
'categories': None,
'from_date': '01/01/2020',
'to_date': '01/01/2019'
}
]
for param in params:
try:
investpy.get_calendar(time_zone=param['time_zone'],
time_filter=param['time_filter'],
countries=param['countries'],
importances=param['importances'],
categories=param['categories'],
from_date=param['from_date'],
to_date=param['to_date'])
except:
pass