Skip to content
Discussion options

You must be logged in to vote

I was able to solve the issue by wrapping the SandboxExecutionClient and adding a new self._set_account_id() to the init

class SandboxLiveExecClientFactory(SandboxLiveExecClientFactory):
    @staticmethod
    def create(
        loop: asyncio.AbstractEventLoop,
        name: str,
        config: SandboxExecutionClientConfig,
        portfolio: PortfolioFacade,
        msgbus: MessageBus,
        cache: Cache,
        clock: LiveClock,
    ) -> SandboxExecutionClient:
        exec_client = BbgLiveExecutionClient(
            loop=loop,
            clock=clock,
            portfolio=portfolio,
            msgbus=msgbus,
            cache=cache,
            config=config,
        )
        r…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by StumpCore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant