mirror of
https://github.com/bspeice/metrik
synced 2024-11-05 06:58:12 -05:00
f2390ba34f
I now have something that actually gets stuff done.
15 lines
349 B
Python
15 lines
349 B
Python
from metrik.flows.base import Flow, WeekdayMidnight
|
|
from metrik.tasks.ice import LiborRateTask
|
|
|
|
|
|
class LiborFlow(Flow):
|
|
|
|
@staticmethod
|
|
def get_schedule():
|
|
return WeekdayMidnight()
|
|
|
|
def _requires(self):
|
|
currencies = ['USD']
|
|
return [LiborRateTask(self.present, currency)
|
|
for currency in currencies]
|