From 679a10a048a28f8d2981e04c7e83a440e648785d Mon Sep 17 00:00:00 2001 From: Chip Kent <5250374+chipkent@users.noreply.github.com> Date: Wed, 15 Feb 2023 12:58:31 -0700 Subject: [PATCH] Support error code 10311 (#106) --- src/deephaven_ib/_internal/error_codes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/deephaven_ib/_internal/error_codes.py b/src/deephaven_ib/_internal/error_codes.py index fd5d81ed..c4ff8bcf 100644 --- a/src/deephaven_ib/_internal/error_codes.py +++ b/src/deephaven_ib/_internal/error_codes.py @@ -41,6 +41,7 @@ def load_error_codes() -> Tuple[Dict[int, str], Dict[int, str]]: 10187: "Failed to request historical ticks", 10189: "Failed to request tick-by-tick data", 10190: "Maxnumber of tick-by-tick requests has been reached.", + 10311: "This order will be directly routed to NYSE. Direct routed orders may result in higher trade fees. Restriction is specified in Precautionary Settings of Global Configuration/API.", } for k, v in overrides.items():