Skip to main content

Module config

Module config 

Expand description

Configuration of the two connectors: the ALOR client settings plus the choices of the connector itself (source label, reconnect pauses, buffer size).

Both configs wrap an AlorConfig from the protocol crate. It holds the refresh token, the contour, the timeouts, the portfolio and the exchange. Build it with AlorConfig::from_env() for a real account, or with AlorConfig::for_mock(token, url) for tests against brokapi-mocks.

Structs§

MarketDataConfig
Settings of MarketDataConnector.
UserDataConfig
Settings of UserDataConnector.