From 3f609698598969b85adaa53cf8bc76e9a3cf0fb2 Mon Sep 17 00:00:00 2001 From: Felix Henneke Date: Tue, 3 Dec 2024 10:07:43 +0100 Subject: [PATCH] [Hotfix] Fix accounting period length (#439) In #437, an unintentional change to the accounting period length was made. This PR changes the length of the accounting period back to its default length (of 7 days). --- src/fetch/transfer_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fetch/transfer_file.py b/src/fetch/transfer_file.py index f47867dd..fccec923 100644 --- a/src/fetch/transfer_file.py +++ b/src/fetch/transfer_file.py @@ -117,7 +117,7 @@ def main() -> None: config = AccountingConfig.from_network(Network(os.environ["NETWORK"])) - accounting_period = AccountingPeriod(args.start, length_days=1) + accounting_period = AccountingPeriod(args.start) orderbook = MultiInstanceDBFetcher( [config.orderbook_config.prod_db_url, config.orderbook_config.barn_db_url]