From d0a682a6c03f12fb00c2f68f67d5f50704a94f37 Mon Sep 17 00:00:00 2001 From: BigTava Date: Fri, 20 Dec 2024 11:52:56 +0000 Subject: [PATCH] FE-548: include NO_MARKET value in spot_market_type range limit --- .gitignore | 1 + gsy_framework/constants_limits.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e2e2723e..4904a056 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .idea .tox +.env # Coverage reports .coverage diff --git a/gsy_framework/constants_limits.py b/gsy_framework/constants_limits.py index 03f55e16..6dc805de 100644 --- a/gsy_framework/constants_limits.py +++ b/gsy_framework/constants_limits.py @@ -223,7 +223,7 @@ class MASettings: VALID_FEE_TYPES = [1, 2] # Market type option MARKET_TYPE = SpotMarketTypeEnum.ONE_SIDED.value - MARKET_TYPE_LIMIT = RangeLimit(1, 3) + MARKET_TYPE_LIMIT = RangeLimit(0, 3) BID_OFFER_MATCH_TYPE = BidOfferMatchAlgoEnum.PAY_AS_BID.value BID_OFFER_MATCH_TYPE_LIMIT = RangeLimit(1, 4)