From b82d935c1a8cd69eb93a8f1ca24ec1d630df3cdb Mon Sep 17 00:00:00 2001 From: David Blom Date: Sat, 27 Apr 2024 09:32:32 +0200 Subject: [PATCH] sandbox: initialize the account of the SimulatedExchange on initialization --- nautilus_trader/adapters/sandbox/execution.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nautilus_trader/adapters/sandbox/execution.py b/nautilus_trader/adapters/sandbox/execution.py index c145d08eacb5..52aa0b384f0b 100644 --- a/nautilus_trader/adapters/sandbox/execution.py +++ b/nautilus_trader/adapters/sandbox/execution.py @@ -132,6 +132,7 @@ def __init__( clock=self.test_clock, ) self.exchange.register_client(self._client) + self.exchange.initialize_account() def connect(self) -> None: """