aboutsummaryrefslogtreecommitdiffstats
path: root/python/external_deriv_marks.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/external_deriv_marks.py')
-rw-r--r--python/external_deriv_marks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/external_deriv_marks.py b/python/external_deriv_marks.py
index 4a5ba105..cc1f5101 100644
--- a/python/external_deriv_marks.py
+++ b/python/external_deriv_marks.py
@@ -349,7 +349,7 @@ if __name__ == "__main__":
"-d", "--debug", action="store_true", default=False, help="more verbose logging"
)
args = parser.parse_args()
- date = None if args.all else (args.date - bus_day).date()
+ date = None if args.all else prev_business_day(args.date)
logging.basicConfig()
logger = logging.getLogger("external_marks")
logger.setLevel(logging.DEBUG if args.debug else logging.INFO)