Commit ef11d967 authored by Johannes Blaschke's avatar Johannes Blaschke

added 2018 exchange rates

parent 52f523b5
Pipeline #99 failed with stages
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -109,7 +109,8 @@ class ForexDB(object):
data: Dict[date, ForexDay] = dict()
for day in l_dates:
print("API loading Forex Rate for: " + str(day), end="\r")
# Prepend '\r' instead of using `end='\r'` because this clears the line in Jupyter lab
print("\rAPI loading Forex Rate for: " + str(day), end="", flush=True)
data[day] = ForexDay(day, self.resolution, self.c_pair)
return data
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment